Version: unspecified (using KDE 4.5.2) OS: Linux install mono 2.8 and try to build kdebindings. Build fails with: Scanning dependencies of target kimonopluginfactory [ 84%] Building CXX object csharp/kimono/CMakeFiles/kimonopluginfactory.dir/kimonopluginfactory_automoc.o [ 84%] Building CXX object csharp/kimono/CMakeFiles/kimonopluginfactory.dir/src/kimonopluginfactory.o /build/src/kdebindings-4.5.2/csharp/kimono/src/kimonopluginfactory.cpp:41:26: fatal error: mono/jit/jit.h: No such file or directory compilation terminated. make[2]: *** [csharp/kimono/CMakeFiles/kimonopluginfactory.dir/src/kimonopluginfactory.o] Error 1 make[1]: *** [csharp/kimono/CMakeFiles/kimonopluginfactory.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX shared library ../../lib/libphonon-sharp.so Linking CXX shared library ../../lib/libqtwebkit-sharp.so [ 84%] Built target phonon-sharp [ 84%] Built target qtwebkit-sharp make: *** [all] Error 2 Reproducible: Always Actual Results: build fails mono 2.8
that file exist in /usr/include/mono-2.0/mono/jit/jit.h. How to set mono include dir?
this is fixed on trunk. http://websvn.kde.org/trunk/KDE/kdebindings/csharp/kimono/CMakeLists.txt?r1=1128672&r2=1184234&view=patch
confirmed fixes build using 4.5 branch as well, any objections to backporting this?
SVN commit 1189611 by rdieter: backport r1184234, fixes build with newer mono(2.8) BUG: 254629 M +1 -1 CMakeLists.txt M +1 -0 src/kimonopluginfactory.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1189611