[Top][All Lists]

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

Re: libtool-2.2.6a breaks build of guile-1.8.5, libtool-1.5.26 is OK

From: Sergei Steshenko
Subject: Re: libtool-2.2.6a breaks build of guile-1.8.5, libtool-1.5.26 is OK
Date: Tue, 4 Nov 2008 14:19:58 -0800 (PST)

--- On Tue, 11/4/08, Ralf Wildenhues <address@hidden> wrote:

> From: Ralf Wildenhues <address@hidden>
> Subject: Re: libtool-2.2.6a breaks build of guile-1.8.5, libtool-1.5.26 is OK
> To: "Sergei Steshenko" <address@hidden>
> Cc: address@hidden
> Date: Tuesday, November 4, 2008, 1:35 PM
> Hello Sergei,
> * Sergei Steshenko wrote on Tue, Nov 04, 2008 at 12:33:54PM
> CET:
> > 
> > for many months I've been building various
> versions 'guile' using various
> > versions of 'libtool', and while libtool was
> in its 1.5.* versions the
> > builds were OK, but from version 2.* or so the builds
> fail, so I'm forced
> > to use libtool-1.5.26.
> Thanks for the report.  I wonder a bit though why you
> haven't done this
> earlier; if this were a Libtool bug in all 2.x versions,
> that would have
> been quite a problem for us, and very much worthy of
> fixing.
> > Now, the failure - on can see it at the end of the
> attached
> > 'make.libtool-2.2.6a.log.gz' file.
> It looks like you are using a ltdl.h file from 1.5.x
> together with a
> libltdl.la from 2.2.x.
> Whatever it is exactly, I'm pretty sure it's not a
> Libtool problem,
> but some kind of impedance mismatch on your side.  I'd
> be willing to
> help debug it, but for that I'd prefer you put up a
> tarball somewhere
> that exposes the problem.
> FWIW, I've just successfully finished building guile
> 1.8.3 using Libtool
> (and libltdl) from 2.2.6a.
> Cheers,
> Ralf

Regarding "It looks like you are using a ltdl.h file from 1.5.x together with a 
libltdl.la from 2.2.x" - very unlikely.

I do not have 'libtool' installed at system level, and the command line
(see below) does not have anything that points to libtool-1.5*.

Regarding the tarball - here are the instructions:

1) download the tarball:

wget -t0 -c 

2) unpack the tarball:

tar zxvf AppsFromScratch.20071221.20081104.tar.gz

- as a result of the above you should obtain AppsFromScratch/20071221
directories with all the files and directories of interest under 20071221.

For simplicity and command line to follow I assume that the location is


, though it can be anywhere;

3) create a work directory outside the tarball tree (it's not a hard
requirement, but reasonable) - I'll assume you've created


, though the work directory can be anywhere.

4) edit


file - please find this piece of code:

   1080       libtool =>
   1081         do{
   1082           my $major_ver = '1';
   1083           my $minor_ver = '5';
   1084           my $micro_ver = '26';
   1086           #my $major_ver = '2';
   1087           #my $minor_ver = '2';
   1088           #my $micro_ver = '6a';

, comment out line numbers 1082..1084 and uncomment line numbers 

This editing will enable libtool-2.2.6a; the to be commented out lines
obviously enable libtool-1.5.26;

cd ~/AFSWD

6) run
export PKG_CONFIG_PATH=/usr/lib/pkgconfig;\
~/AppsFromScratch/20071221/bin/build.pl \
-make_like \
-check_with_ldd \
-targets_to_build bash:pkg-config \
1>build.prerequisites.log 2>&1; \
PATH=`pwd`/install/pkg-config-0.23/bin:$PATH; \
export PATH; \
~/AppsFromScratch/20071221/bin/build.pl \
-make_like \
-check_with_ldd \
-sh_exec `pwd`/install/bash-3.2/bin/bash \
-targets_to_build guile \
1>build.guile.log 2>&1; \
) &

Monitor first contents of build.prerequisites.log and then the ones
of build.guile.log files. The item to worry about is ':ERROR:' - without
the quotes.

The needed sources are downloaded from the net by the script using 'wget',
so you computer should be connected to Internet and have 'wget' in your
search path.

If you have problems, please let me know.


Autogenerated command line used to run guile-1.8.5 'configure':

build.pl :INFO: executing ==> cd 
 export PATH; 
 export LD_LIBRARY_PATH; PKG_CONFIG_PATH=/usr/lib/pkgconfig; export 
PKG_CONFIG_PATH; LDFLAGS='-L/mnt/sdb8/sergei/AFSWD_debug/install/gmp-4.2.2/lib 
 -L/mnt/sdb8/sergei/AFSWD_debug/install/ncurses-5.7/lib'; export LDFLAGS; 
-I/mnt/sdb8/sergei/AFSWD_debug/install/texinfo-4.13/include'; export CPPFLAGS; 
./configure  --prefix=/mnt/sdb8/sergei/AFSWD_debug/install/guile-1.8.5 
1>configure.log 2>&1


reply via email to

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