[MacPorts] #16148: gd2 2.0.35 Configure error - build failure
#16148: gd2 2.0.35 Configure error - build failure -----------------------------------------------------+---------------------- Reporter: bjorn@wasda.nl | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: gd2 libtool automake autoconf configure | -----------------------------------------------------+---------------------- {{{ 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 -- Ticket URL: <http://trac.macports.org/ticket/16148> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16148: gd2 2.0.35 Configure error - build failure -----------------------------+---------------------------------------------- Reporter: bjorn@wasda.nl | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gd2 libtool automake autoconf configure -----------------------------+---------------------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/16148#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16148: gd2 2.0.35 Configure error - build failure -----------------------------+---------------------------------------------- Reporter: bjorn@wasda.nl | Owner: ryandesign@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gd2 libtool automake autoconf configure -----------------------------+---------------------------------------------- Changes (by ryandesign@macports.org): * status: new => assigned Comment: Confirmed. Will fix by adding dependencies on automake and libtool. (Dependency on autoconf was already added in #16119.) -- Ticket URL: <http://trac.macports.org/ticket/16148#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16148: gd2 2.0.35 Configure error: possibly undefined macro: AM_ICONV -----------------------------+---------------------------------------------- Reporter: bjorn@wasda.nl | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: gd2 libtool automake autoconf configure -----------------------------+---------------------------------------------- Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed * summary: gd2 2.0.35 Configure error - build failure => gd2 2.0.35 Configure error: possibly undefined macro: AM_ICONV Comment: Fixed in r38823. Thanks Bjorn for the report and the tip on how to fix it, and thanks everyone for your patience in getting this resolved. -- Ticket URL: <http://trac.macports.org/ticket/16148#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16148: gd2 2.0.35 Configure error: possibly undefined macro: AM_ICONV -----------------------------+---------------------------------------------- Reporter: bjorn@wasda.nl | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: gd2 libtool automake autoconf configure -----------------------------+---------------------------------------------- Changes (by cbedgar@mac.com): * status: closed => reopened * resolution: fixed => Comment: While trying to build gd2 today, port is still returning gd2 2.0.35, and I am still seeing the error as above. As stated above, "sudo port install autoconf automake libtool" fixes the problem. Except autoconf 2.62_0 has its own dependency problems. To build autoconf, one must first build gettext. -- Ticket URL: <http://trac.macports.org/ticket/16148#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16148: gd2 2.0.35 Configure error: possibly undefined macro: AM_ICONV -----------------------------+---------------------------------------------- Reporter: bjorn@wasda.nl | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: gd2 libtool automake autoconf configure -----------------------------+---------------------------------------------- Changes (by ryandesign@macports.org): * status: reopened => closed * resolution: => fixed Comment: 2.0.35 is the current version of gd2. Please `sudo port sync` to get the updated port definition, then `sudo port clean --work gd2` and `sudo port install gd2` to fix it. -- Ticket URL: <http://trac.macports.org/ticket/16148#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts