Ticket #16119 (closed defect: fixed)
gd2 2.0.35 configuring failure: macro `AM_ICONV' not found in library
| Reported by: | webmaster@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | gd2 2.0.35 configure failure aclocal AM_ICONV | Cc: | |
| Port: |
Description
I tried to install gd2 but it failed with the following errors :
---> 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: aclocal: configure.ac: 64: macro `AM_ICONV' not found in library
autoreconf: aclocal failed with exit status: 1
Error: The following dependencies failed to build: gd2 libmcrypt libxml2 libtool automake libxslt mhash openssl pcre tiff
Error: Status 1 encountered during processing.
To be very precise :
- The machine is a Xserv Intel 10.4.11 (Xcode 2.4.1 and Apple X11 1.1.3)
- Macports is uptodate : 1.6.0 (the first version installed was 1.4)
- Local ports list is uptodate (port -d sync)
- The problem occured when I was installing Php 5.2.6 (gd2 is one of Php depedencies)
- All other Php dependencies have been installed without errors (I installed manually dependencies which came after gd2 in Php installation)
- 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") :
port deactivate active
port uninstall -f installed
port clean --all -f all
- Last week I have installed Php 5.2.6 and gd2 2.0.35 on another identical Xserv without these errors.
- I tried one time to uninstall all ports and re install Php but gd2 failed configuring.
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

