bug-libtool
[Top][All Lists]
Advanced

[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: Sun, 9 Nov 2008 05:49:50 -0800 (PST)



--- On Tue, 11/4/08, Sergei Steshenko <address@hidden> wrote:

> From: Sergei Steshenko <address@hidden>
> Subject: Re: libtool-2.2.6a breaks build of guile-1.8.5, libtool-1.5.26 is OK
> To: "Ralf Wildenhues" <address@hidden>
> Cc: address@hidden
> Date: Tuesday, November 4, 2008, 2:19 PM
> --- 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
> http://sergei-steshenko.pop3.ru/AppsFromScratch.20071221.20081104.tar.gz
> 
> 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
> 
> ~/AppsFromScratch/20071221
> 
> , 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
> 
> ~/AFSWD
> 
> , though the work directory can be anywhere.
> 
> 4) edit
> 
> ~AppsFromScratch/20071221/include/perl/project_specific/default_build_data_sub.prl
> 
> 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';
>    1085
>    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 
> 1086..1088.
> 
> This editing will enable libtool-2.2.6a; the to be
> commented out lines
> obviously enable libtool-1.5.26;
> 
> 5)
> 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.
> 
> Thanks,
>   Sergei.
> 
> Autogenerated command line used to run guile-1.8.5
> 'configure':
> 
> build.pl :INFO: executing ==> cd
> /mnt/sdb8/sergei/AFSWD_debug/build/guile-1.8.5;
> PATH=/mnt/sdb8/sergei/AFSWD_debug/install/autoconf-2.63/bin:/mnt/sdb8/sergei/AFSWD_debug/install/libtool-2.2.6a/bin:/mnt/sdb8/sergei/AFSWD_debug/install/m4-1.4.12/bin:/mnt/sdb8/sergei/AFSWD_debug/install/ncurses-5.7/bin:/mnt/sdb8/sergei/AFSWD_debug/install/texinfo-4.13/bin:/mnt/sdb8/sergei/AFSWD_debug/install/pkg-config-0.23/bin:/opt/kde3/bin:/home/sergei/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin;
> export PATH;
> LD_LIBRARY_PATH=/mnt/sdb8/sergei/AFSWD_debug/install/gmp-4.2.2/lib:/mnt/sdb8/sergei/AFSWD_debug/install/libtool-2.2.6a/lib:/mnt/sdb8/sergei/AFSWD_debug/install/ncurses-5.7/lib;
> 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/libtool-2.2.6a/lib
> 
> -L/mnt/sdb8/sergei/AFSWD_debug/install/ncurses-5.7/lib';
> export LDFLAGS;
> CPPFLAGS='-I/mnt/sdb8/sergei/AFSWD_debug/install/autoconf-2.63/include
> -I/mnt/sdb8/sergei/AFSWD_debug/install/gmp-4.2.2/include
> -I/mnt/sdb8/sergei/AFSWD_debug/install/libtool-2.2.6a/include
> -I/mnt/sdb8/sergei/AFSWD_debug/install/m4-1.4.12/include
> -I/mnt/sdb8/sergei/AFSWD_debug/install/ncurses-5.7/include
> -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

H Ralf,

any news on the problem ?

Thanks,
  Sergei.


      




reply via email to

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