id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	port
16119	gd2 2.0.35 configuring failure: macro `AM_ICONV' not found in library	webmaster@…	ryandesign@macports.org	"I tried to install gd2 but it failed with the following errors :

--->  Fetching gd2 [[BR]]
--->  Attempting to fetch gd-2.0.35.tar.bz2 from http://www.libgd.org/releases/  [[BR]]
--->  Verifying checksum(s) for gd2  [[BR]]
--->  Extracting gd2 [[BR]]
--->  Applying patches to gd2 [[BR]]
--->  Configuring gd2 [[BR]]
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: aclocal: configure.ac: 64: macro `AM_ICONV' not found in library [[BR]]
autoreconf: aclocal failed with exit status: 1 [[BR]]

Error: The following dependencies failed to build: gd2 libmcrypt libxml2 libtool automake libxslt mhash openssl pcre tiff [[BR]]
Error: Status 1 encountered during processing.


To be very precise : [[BR]]
- The machine is a Xserv Intel 10.4.11 (Xcode 2.4.1 and Apple X11 1.1.3) [[BR]]
- Macports is uptodate : 1.6.0 (the first version installed was 1.4) [[BR]]
- Local ports list is uptodate (port -d sync) [[BR]]
- The problem occured when I was installing Php 5.2.6 (gd2 is one of Php depedencies) [[BR]]
- All other Php dependencies have been installed without errors (I installed manually dependencies which came after gd2 in Php installation) [[BR]]
- Just before installing Php 5.2.6 I removed all ports already installed on the machine (Php 5.2.3 and dependancies) with the following commands (working with root so no ""sudo"") : [[BR]]
	port deactivate active [[BR]]
	port uninstall -f installed [[BR]]
	port clean --all -f all [[BR]]
- Last week I have installed Php 5.2.6 and gd2 2.0.35 on another identical Xserv without these errors. [[BR]]
- I tried one time to uninstall all ports and re install Php but gd2 failed configuring. [[BR]]

So what is the problem (lib_iconv ?) and what can I do ?

'''The problem occurred on a production server so a rapid answer would be very appreciated.'''

Thank you

Bertrand"	defect	closed	Normal		ports	1.6.0	fixed	gd2 2.0.35 configure failure aclocal AM_ICONV		
