gd2 configuration fails on Leopard

Michael J. I. Jackson mjijackson at gmail.com
Sat Jul 26 21:42:55 PDT 2008


Hmm...total weirdness. I just tried again (after 4 or 5 previous,  
identical attempts) and it works now. I don't need to know why, I'm  
just glad it does. ;)

Cheers.

On Jul 26, 2008, at 10:37 PM, Michael J. I. Jackson wrote:

> On a fresh Leopard install, gd2 is failing to configure properly. I  
> encountered the error while trying to install the php5 port. Here's  
> the output:
>
> $ sudo port install gd2
> --->  Fetching gd2
> --->  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: Status 1 encountered during processing.
>
>
> Any help would be greatly appreciated!



More information about the macports-users mailing list