On Tue, 15 Aug 2006 18:19:54 +0100
Mark Ovens <[EMAIL PROTECTED]> mentioned:
> That didn't fix it. I then renamed /usr/local/share/aclocal and made it 
> a symlink to aclocal19/
> 

Don't do it, all external .m4 files get installed into share/aclocal, including 
libtool. 

> # cd /usr/local/share
> # mv aclocal __aclocal
> # ln -s aclocal19/ aclocal
> 

This leads to

> This got rid of many of the errors but I am still getting them for files 
> in /usr/X11R6/share/aclocal:
> 
> # make
> ===>   fam-2.6.10 depends on executable in : gmake - found
> ===>   fam-2.6.10 depends on file: /usr/local/bin/automake19 - found
> ===>   fam-2.6.10 depends on file: /usr/local/bin/autoconf259 - found
> ===>   fam-2.6.10 depends on file: /usr/local/bin/libtool - found
> ===>  Configuring for fam-2.6.10
> configure.in:295: warning: underquoted definition of FAM_DECL_IN_MNTENT
>    run info '(automake)Extending aclocal'
>    or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> /usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of 
> XMMS_TEST_VERSION
> /usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of 
> AM_PATH_XMMS
> /usr/X11R6/share/aclocal/libart.m4:11: warning: underquoted definition 
> of AM_PATH_LIBART
> /usr/X11R6/share/aclocal/imlib.m4:9: warning: underquoted definition of 
> AM_PATH_IMLIB
> /usr/X11R6/share/aclocal/imlib.m4:167: warning: underquoted definition 
> of AM_PATH_GDK_IMLIB
> /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of 
> AM_PATH_GTK
> /usr/X11R6/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted 
> definition of AM_PATH_GDK_PIXBUF
> aclocal:configure.in:44: warning: macro `AM_PROG_LIBTOOL' not found in 
> library
> configure.in:44: error: possibly undefined macro: AM_PROG_LIBTOOL
>        If this token and others are legitimate, please use m4_pattern_allow.
>        See the Autoconf documentation.
> *** Error code 1

this error.

Try to
# pkg_delete -f /var/db/pkg/autoconf* /var/db/pkg/automake* \
        /var/db/pkg/libtool* /var/db/pkg/gnu-libtool*

Then reinstall port. The installations missed AM_PROG_LIBTOOL because
this macros is installed into /usr/local/share/aclocal which you removed.
So put it back, execute the command above and report error message if any
here. There might be additional stale files in your share/aclocal.

-- 
Stanislav Sedov         MBSD labs, Inc.         <[EMAIL PROTECTED]>
Россия, Москва         http://mbsd.msk.ru

--------------------------------------------------------------------
If the facts don't fit the theory, change the facts.  -- A. Einstein
--------------------------------------------------------------------
PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581

Attachment: signature.asc
Description: PGP signature

Reply via email to