Bug 254629 - kdebindings-csharp fails to build with mono 2.8
Summary: kdebindings-csharp fails to build with mono 2.8
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 10:01 UTC by Andrea Scarpino
Modified: 2010-10-25 14:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Scarpino 2010-10-19 10:01:22 UTC
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
Comment 1 Andrea Scarpino 2010-10-19 10:15:57 UTC
that file exist in /usr/include/mono-2.0/mono/jit/jit.h.
How to set mono include dir?
Comment 3 Rex Dieter 2010-10-24 15:58:21 UTC
confirmed fixes build using 4.5 branch as well, any objections to backporting this?
Comment 4 Rex Dieter 2010-10-25 14:06:13 UTC
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