On Tue, Feb 22, 2000 at 07:32:37PM -0500, Pavel Roskin wrote:
> Hello, Gary!

Hello =)O|

> > > The simplest way to reproduce on Linux-i386:
> > > 
> > > Find "i*86 |" in libtool.m4 and remove it. Then run
> > > 
> > > ./bootstrap && ./configure && make
> > 
> > Hmmm.  It works here.
> 
> I forgot to mention that I'm using the latest and greatest Autoconf and
> Automake from their respective CVS repositories.

Now that is just asking for trouble =)O|  I am using the latest
autoconf and automake .debs, and rolling my own libtool deb
occasionally, so upgrading to test this would be a PITA for me =(O|
Especially since I want to make sure libtool-1.4 will play nicely with
the current stable releases of these two.

> > > make will hang after printing:
> > > 
> > > /bin/sh ./libtool --mode=link gcc  -g -O2   -o libltdl.la -rpath
> > > /usr/local/lib -no-undefined -version-info 2:0:2 ltdl.lo -ldl
> > > rm -fr .libs/libltdl.la .libs/libltdl.* .libs/libltdl.*
> > 
> > Nope.  I can't reproduce it =(O|
> > 
> > > It appears that $FILE is defined to an empty string. It's output is fed to
> > > sed or egrep, and they expect input on stdin.
> > 
> > It is bad that FILE is the empty string.  Do you have a `file'
> > executable in your PATH?
> > 
> > ..time passes...
> > 
> > Ah!  I think I have it.  Autoconf-2.13 has a bug in AC_SUBST which
> > prevents AC_SUBST(FILE) from ever working.  I am committing a patch
> > which works around this problem.  I am not able to break this, even if
> > I force an empty string in just before the AC_SUBST in configure.in.
> > Let me know if it doesn't work for you.
> 
> Nothing has changed.
> libltdl/libtool doesn't define MAGIC.
> 
> $ grep MAGIC libltdl/libtool
> file_magic_cmd="\${MAGIC}"
> magic="%%%MAGIC variable%%%"

Okay.  That is a bug I can fix... committing now.

> make still hangs in libltdl both on LinuxPPC and Linux-i386 (after
> removing "i*86 |" from libtool.m4)

I am surprised that a difference in automake revision triggers this,
but hey-ho.  Hopefully this latest patch fixes it for you?

> MAGIC is defined in many makefiles (Makefile.in, tests/Makefile.in,
> doc/Makefile.in) but not in libltdl/Makefile.in

That's correct.  The MAGIC in Makefile is because of the
AC_SUBST(MAGIC) in configure.in, so that ltconfig can be called with
the correct value in the environment.  libltdl doesn't bootstrap
ltconfig and has its own configure.in which doesn't AC_SUBST(MAGIC).

Cheers,
        Gary.
-- 
  ___              _   ___   __              _ mailto:[EMAIL PROTECTED]
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       [EMAIL PROTECTED] 
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \      
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc

Reply via email to