libtool
[Top][All Lists]
Advanced

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

Re: Terrible problem with latest CVS libtool


From: Gary V. Vaughan
Subject: Re: Terrible problem with latest CVS libtool
Date: Mon, 01 Dec 2003 16:31:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bob Friesenhahn wrote:
| Here is some relevant config.status debug output:
|
| + SED=/bin/sed
| + Xsed=sed -e s/^X//

That matches what I see on Linux, I also see

+ SHELL=/bin/sh
+ echo=echo

| + eval lt_SHELL=\`$echo X$SHELL
| + X/bin/sh

+ eval 'lt_SHELL=\"`$echo "X$SHELL" | $Xsed -e "$sed_quote_subst"`\"'
+++ echo X/bin/sh

Your eval is doing something odd, is it stopping at the pipe?  Note that I see
extra `+'s, maybe the value of echo is not being expanded inside the evaled
backtick expression for you?

Note how the expression you get passed to eval is quoted differently, I have
single quotes around the entire expression, and a level of escaped double
quote marks for the value assigned to lt_SHELL.  Maybe you have found a
quoting bug in the code that builds the eval line?

Mine continues:

+++ sed -e 's/^X//' -e 's/\([\\"\\`$\\\\]\)/\\\1/g'
++ lt_SHELL="/bin/sh"

| + lt_SHELL=`print -r
| config.status[527]: X/bin/sh:  not found
| + $Xsed -e $sed_quote_subst`\
| config.status[527]: $Xsed:  not found

Again, a variable set in the parent shell doesn't appear to have propogated
into the eval environment...

Does this give you a bit more to go on?  What happens in the equivalent
section of libtool-1.5, or 1-5a from before 2003-10-21?

Cheers,
        Gary.
- --
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://www.oranda.demon.co.uk
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/y2zHFRMICSmD1gYRAqAuAJ9xCKFa7OB5dRKbTtYWimOEyI2HKQCfSSuZ
K+bN0JAFuCp9uM/EHdSayM4=
=E5Wz
-----END PGP SIGNATURE-----





reply via email to

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