Questions marquées «autotools»




5
erreur: bibliothèque Libtool utilisée mais 'LIBTOOL' n'est pas défini
J'essaie de automakela bibliothèque OrientDb C ++, mais j'obtiens des erreurs. Makefile.am:10: error: Libtool library used but 'LIBTOOL' is undefined Makefile.am:10: The usual way to define 'LIBTOOL' is to add 'LT_INIT' Makefile.am:10: to 'configure.ac' and run 'aclocal' and 'autoconf' again. Makefile.am:10: If 'LT_INIT' is in 'configure.ac', make sure Makefile.am:10: its …
117 c  linux  autotools  orientdb 

19
macro éventuellement non définie: AC_MSG_ERROR
J'ai ce qui suit dans configure.ac: AC_CHECK_PROGS(MAKE,$MAKE make gmake,error) if test "x$MAKE" = "xerror" ;then AC_MSG_ERROR([cannot find a make command]) fi Cela fait longtemps dans notre projet, mais dans certaines configurations, j'obtiens cette erreur: configure.ac:45: error: possibly undefined macro: AC_MSG_ERROR If this token and others are legitimate, please use m4_pattern_allow. …

4
CFLAGS vs CPPFLAGS
Je comprends que CFLAGS (ou CXXFLAGS pour C ++) sont pour le compilateur, alors que CPPFLAGS est utilisé par le préprocesseur. Mais je ne comprends toujours pas la différence. J'ai besoin de spécifier un chemin d'inclusion pour un fichier d'en-tête qui est inclus avec #include - parce que #include est …
En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.