compilation of freemat fails with qt 4.6.0. Reason is that it ships with some moc files that refuse to build with a qt version other than they've been created. Solution is to delete all moc files before the build process. They'll be regenerated. So change rm -f CMakeCache.txt to rm -f CMakeCache.txt libs/lib*/*.moc.* src/*.moc.* and it'll be fine. [ 8%] Building CXX object libs/libFreeMat/CMakeFiles/FreeMatlib.dir/Intrepreter.moc.cpp.o /var/tmp/portage/sci-mathematics/freemat-4.0/work/FreeMat-4.0.1-Source/libs/libFreeMat/Intrepreter.moc.cpp:14:2: Fehler: #error "This file was generated using the moc from 4.5.2. It" /var/tmp/portage/sci-mathematics/freemat-4.0/work/FreeMat-4.0.1-Source/libs/libFreeMat/Intrepreter.moc.cpp:15:2: Fehler: #error "cannot be used with the include files from this version of Qt." /var/tmp/portage/sci-mathematics/freemat-4.0/work/FreeMat-4.0.1-Source/libs/libFreeMat/Intrepreter.moc.cpp:16:2: Fehler: #error "(The moc has changed too much.)" make[2]: *** [libs/libFreeMat/CMakeFiles/FreeMatlib.dir/Intrepreter.moc.cpp.o] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... make[1]: *** [libs/libFreeMat/CMakeFiles/FreeMatlib.dir/all] Fehler 2 make: *** [all] Fehler 2 * ERROR: sci-mathematics/freemat-4.0 failed: * Make failed!
Created attachment 216117 [details] freemat-4.0.ebuild
applied in cvs. Thanks!