On 15 July 2014 06:49, Marko Käning <mk-li...@email.de> wrote:
> Hi Ben,

Hi Marko,

>
> while trying to build libalkimia on the OSX/CI system I noticed that the 
> framework misses GMP, without pointing it out to the user as a required 
> package!

Do you have the CMake output from the earlier build?

>
> Though, one notices it later on during the build:
>
> ---
> ...
> [ 28%] Built target alkimia_automoc
> Scanning dependencies of target alkimia
> [ 35%] [ 42%] [ 57%] [ 57%] Building CXX object 
> libalkimia/CMakeFiles/alkimia.dir/alkimia_automoc.cpp.o
> Building CXX object libalkimia/CMakeFiles/alkimia.dir/alkquoteitem.cpp.o
> In file included from 
> /Users/marko/WC/KDECI-builds/alkimia/libalkimia/alkvalue.cpp:20:
> /Users/marko/WC/KDECI-builds/alkimia/libalkimia/alkvalue.h:23:10: fatal 
> error: 'gmpxx.h' file not found
> #include <gmpxx.h>                 // krazy:exclude=camelcase
>          ^
> In file included from 
> /Users/marko/WC/KDECI-builds/alkimia/libalkimia/alkquoteitem.cpp:20:
> In file included from 
> /Users/marko/WC/KDECI-builds/alkimia/libalkimia/alkquoteitem.h:24:
> /Users/marko/WC/KDECI-builds/alkimia/libalkimia/alkvalue.h:23:10: fatal 
> error: 'gmpxx.h' file not found
> #include <gmpxx.h>                 // krazy:exclude=camelcase
>          ^
> 1 error generated.
> make[2]: *** [libalkimia/CMakeFiles/alkimia.dir/alkvalue.cpp.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> In file included from 
> /Users/marko/WC/KDECI-builds/alkimia/build/libalkimia/alkimia_automoc.cpp:3:
> In file included from 
> /Users/marko/WC/KDECI-builds/alkimia/build/libalkimia/moc_alkquoteitem.cpp:9:
> In file included from 
> /Users/marko/WC/KDECI-builds/alkimia/build/libalkimia/../../libalkimia/alkquoteitem.h:24:
> /Users/marko/WC/KDECI-builds/alkimia/libalkimia/alkvalue.h:23:10: fatal 
> error: 'gmpxx.h' file not found
> #include <gmpxx.h>                 // krazy:exclude=camelcase
>          ^
> 1 error generated.
> make[2]: *** [libalkimia/CMakeFiles/alkimia.dir/alkimia_automoc.cpp.o] Error 1
> 1 error generated.
> make[2]: *** [libalkimia/CMakeFiles/alkimia.dir/alkquoteitem.cpp.o] Error 1
> make[1]: *** [libalkimia/CMakeFiles/alkimia.dir/all] Error 2
> make: *** [all] Error 2
>
> KDE Continuous Integration Build
> == Building Project: alkimia - Branch frameworks
> ---
>
>
>
> So I installed port gmp on the CI system and added this to the CI system 
> configuration:
>
> ---
> $ cat /Users/marko/scripts/config/build/alkimia/darwin-mavericks.cfg
> [DEFAULT]
> configureExtraArgs=-I/opt/local/include -L/opt/local/lib
> ---
>
> but this only configures it correctly:
>
> ---
> -- Found KF5: success (found version "5.0.0") found components:  CoreAddons 
> KDELibs4Support
> -- Found GMP: /opt/local/include
> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
> ---
>
> and although it gets found now, the build still throws the same compile 
> errors (as already shown above)!

Which version of GMP did you install?

>
> Why is that?

Guess the header is missing, or the include paths are not being set properly.

>
>
> Greets,
> Marko

Thanks,
Ben
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to