BUG: libmng-1.0.8 fails installation
Output of "port -d install libmng" :
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/libmng
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/libmng
DEBUG: Requested variant powerpc is not provided by port libmng.
DEBUG: Requested variant darwin is not provided by port libmng.
DEBUG: Requested variant macosx is not provided by port libmng.
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/jpeg
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/jpeg
DEBUG: Searching for dependency: jpeg
DEBUG: Found Dependency: receipt exists for jpeg
DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/lcms
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/lcms
DEBUG: Searching for dependency: lcms
DEBUG: Found Dependency: receipt exists for lcms
DEBUG: Executing com.apple.main (libmng)
DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/libmng-1.0.8_0.powerpc.tgz
DEBUG: Skipping unarchive (libmng) since no archive found
DEBUG: Skipping completed com.apple.unarchive (libmng)
---> Fetching libmng
DEBUG: Executing com.apple.fetch (libmng)
---> Verifying checksum(s) for libmng
DEBUG: Executing com.apple.checksum (libmng)
---> Checksumming libmng-1.0.8.tar.gz
DEBUG: Correct (md5) checksum for libmng-1.0.8.tar.gz
---> Extracting libmng
DEBUG: Executing com.apple.extract (libmng)
---> Extracting libmng-1.0.8.tar.gz
DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/libmng/libmng-1.0.8.tar.gz
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_libmng/work" && gzip -dc /opt/local/var/db/dports/distfiles/libmng/libmng-1.0.8.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing com.apple.patch (libmng)
---> Applying patches to libmng
---> Applying /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/graphics/libmng/files/patch-autogen.sh
DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_libmng/work/libmng-1.0.8" && patch -p0'
patching file autogen.sh
---> Configuring libmng
DEBUG: Executing proc-pre-com.apple.configure-configure-0
copying configure.in
copying automake template
running aclocal
/opt/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/opt/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
aclocal:configure.in:21: warning: macro `AM_PROG_LIBTOOL' not found in library
running glibtoolize
running automake
configure.in: installing `./install-sh'
configure.in: installing `./missing'
Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
Makefile.am:12:
Makefile.am:12: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:12: to `configure.in' and run `aclocal' and `autoconf' again.
building configure script
configure.in:21: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Error: Target com.apple.configure returned: shell command "cd '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_graphics_libmng/work/libmng-1.0.8' && sh autogen.sh" returned error 1
Command output: copying configure.in
copying automake template
running aclocal
/opt/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/opt/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
aclocal:configure.in:21: warning: macro `AM_PROG_LIBTOOL' not found in library
running glibtoolize
running automake
configure.in: installing `./install-sh'
configure.in: installing `./missing'
Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
Makefile.am:12:
Makefile.am:12: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:12: to `configure.in' and run `aclocal' and `autoconf' again.
building configure script
configure.in:21: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Warning: the following items did not execute (for libmng): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install
Error: /opt/local/bin/port: Status 1 encountered during processing.
I encountered the same problem right now. ;-)
If you are using automake 1.9, try "port uninstall automake" and you'll be able to avoid this problem.