[poppler] Which build system: Autotools or CMake?

Albert Astals Cid aacid at kde.org
Tue Apr 6 12:39:04 PDT 2010


A Dimarts, 6 d'abril de 2010, Francesco Pretto va escriure:
> 2010/4/6 Albert Astals Cid <aacid at kde.org>:
> > Works for me, can you please post your problem?
> 
> Sorted, had to do "autoreconf -i". I'm new with autotools so I'm not
> sure if there were really a problem, anyway autoconf with clean git
> pull was failing:
> 
> $ autoconf
> configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:11: error: possibly undefined macro: AM_CONFIG_HEADER
> configure.ac:15: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
> configure.ac:69: error: possibly undefined macro: AM_CONDITIONAL
> configure.ac:105: error: possibly undefined macro: AC_DEFINE_DIR
> configure.ac:524: error: possibly undefined macro: AM_ICONV

You don't run autoconf and expect it to work, that'd be too easy :D

You have autogen.sh to do all the needed voodoo for you if you want to run 
autotools.

Albert

> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list