libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't open configure


From: Ralf Wildenhues
Subject: Re: Can't open configure
Date: Sun, 5 Oct 2008 19:36:28 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Braden McDaniel wrote on Sun, Oct 05, 2008 at 07:23:40PM CEST:
> On Sun, 2008-10-05 at 12:21 +0200, Ralf Wildenhues wrote:
> > * Braden McDaniel wrote on Fri, Oct 03, 2008 at 09:17:42AM CEST:
> > >         $ autoreconf
> > >         acinclude.m4:6596: the serial number must appear before any macro 
> > > definition
> > >         autom4te: cannot open configure: Permission denied
> > >         autoreconf: /usr/bin/autoconf failed with exit status: 1
> > >         
> > > The autoconf version is 2.61. The libtool version is 1.5.24.
> > > 
> > > I started seeing this after modifying my project to include a local copy
> > > of the libltdl sources. The acinclude.m4 referenced in the error message
> > > is the one in the libltdl subdirectory created by "libtoolize --ltdl".
> > > 
> > > Blowing away autom4te.cache does not help.
> > 
> > OK, please go in the toplevel source tree and show output of
> >   ls -la . libltdl autom4te.cache libltdl/autom4te.cache
> 
> Here it is:
> 
>         $ ls -la . libltdl autom4te.cache libltdl/autom4te.cache/
[...]
>         libltdl:
>         total 44

>         lrwxrwxrwx  1 braden braden    39 2008-10-03 02:51 acinclude.m4 -> 
> /usr/share/libtool/libltdl/acinclude.m4
>         -rw-rw-r--  1 braden braden 32675 2008-10-03 02:51 aclocal.m4
>         drwxr-xr-x  2 braden braden  4096 2008-10-05 13:04 autom4te.cache

>         lrwxrwxrwx  1 braden braden    36 2008-10-03 02:51 configure -> 
> /usr/share/libtool/libltdl/configure
>         lrwxrwxrwx  1 braden braden    39 2008-10-03 02:51 configure.ac -> 
> /usr/share/libtool/libltdl/configure.ac

OK, the issue is that in the libltdl directory, aclocal.m4 is
regenerated, and configure is a symlink that points to a read-only
location.

I remember that we did some work in this area, but IIRC we only took
care not to install a symlink for aclocal.m4; I don't remember needing
to do work for configure.  But also this was quite likely in Libtool 2.2
only.

Can you be bothered to retry with the current Libtool and libltdl
(2.2.6) and current Autoconf (2.63) and report back, please?

Please note that a workaround for this is to use the --no-recursive
option for the upper autoreconf, to keep it from entering the libltdl
directory.

Thanks,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]