[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 1.5.6 still not supporting make distcheck
From: |
Sean Dague |
Subject: |
Re: libtool 1.5.6 still not supporting make distcheck |
Date: |
Wed, 1 Dec 2004 17:41:01 -0500 |
User-agent: |
Mutt/1.5.5.1i |
Well, I finally solved the problem. After another person on our team
reported that 1.5.6 started working for them again after some configure.ac
changes to our project (even though it still failed for me), I went out and
grabbed Mandrake's src.rpm package and started going through the 12 patches
they added to libtool 1.5.6.
It appears that the danger patch is: libtool-1.5.6-relink.patch, which
contains.
--- libtool-1.5.6/ltmain.in.relink 2004-05-02 23:02:14.052575000 +0800
+++ libtool-1.5.6/ltmain.in 2004-05-02 23:06:05.990315424 +0800
@@ -3662,15 +3662,23 @@
fi
tmp_deplibs=
+ inst_prefix_arg=
for test_deplib in $deplibs; do
case " $convenience " in
*" $test_deplib "*) ;;
*)
- tmp_deplibs="$tmp_deplibs $test_deplib"
+ if test -n "$inst_prefix_dir" && (echo "$test_deplib" |
grep -- "$inst_prefix_dir" >/dev/null); then
+ inst_prefix_arg="$test_deplib"
+ else
+ tmp_deplibs="$tmp_deplibs $test_deplib"
+ fi
;;
esac
done
deplibs="$tmp_deplibs"
+ if test -n "$inst_prefix_arg"; then
+ deplibs="$inst_prefix_arg $deplibs"
+ fi
if test -n "$convenience"; then
if test -n "$whole_archive_flag_spec"; then
After I removed that patch from the build, rebuilt the rpm, and installed, I
can now get everything working with libtool. Sorry for the Red Herring here
folks, as this wasn't a true libtool issue, but a vendor patch instead.
I'm going to report the bug to Mandrake tomorrow, hopefully they'll remove
this patch from any future libtool releases.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
pgps1gZ98tpje.pgp
Description: PGP signature
- Re: libtool 1.5.6 still not supporting make distcheck,
Sean Dague <=