Ticket #16148 (closed defect: fixed)
gd2 2.0.35 Configure error: possibly undefined macro: AM_ICONV
| Reported by: | bjorn@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | gd2 libtool automake autoconf configure | Cc: | |
| Port: |
Description
host193:aclocal bjorn$ sudo port install php5 +apache2 +fastcgi +imap +mysql5 +sqlite +pear +oracle ---> Configuring gd2 Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35 && autoreconf" returned error 1 Command output: Makefile.am:18: Libtool library used but `LIBTOOL' is undefined Makefile.am:18: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:18: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:18: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:18: its definition is in aclocal's search path. autoreconf: automake failed with exit status: 1 Error: The following dependencies failed to build: gd2 libmcrypt libxml2 libtool libxslt mhash mysql5 oracle-instantclient tiff Error: Status 1 encountered during processing.
gd2 needs to depend on libtool. Please add this as a dependency so that it will build. gd2 needs automake and autoconf too, so please add those too or the configure process will go wrong:
---> Fetching gd2
---> Attempting to fetch gd-2.0.35.tar.bz2 from http://www.libgd.org/releases/
---> Verifying checksum(s) for gd2
---> Extracting gd2
---> Applying patches to gd2
---> Configuring gd2
Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35 && autoreconf" returned error 1
Command output: configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:626: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:4814: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:2662: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2661: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:91: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:71: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:36: AC_PROG_LIBTOOL is expanded from...
configure.ac:46: the top level
configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:671: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2739: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2738: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1798: _LT_AC_TAGCONFIG is expanded from...
configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3902: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:3901: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4004: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4003: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:46: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
configure.ac:64: error: possibly undefined macro: AM_ICONV
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /opt/local/bin/autoconf failed with exit status: 1
Error: The following dependencies failed to build: gd2 libmcrypt libxml2 libtool automake libxslt mhash mysql5 oracle-instantclient tiff
Error: Status 1 encountered during processing.
If users want a quick fix for this problem: sudo port install autoconf automake libtool
Change History
Note: See
TracTickets for help on using
tickets.

