[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Eager mind wants to understand
From: |
Gary V. Vaughan |
Subject: |
Re: Eager mind wants to understand |
Date: |
Mon, 04 Oct 2004 12:17:39 +0100 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040913) |
Hi Bob,
Bob Friesenhahn wrote:
> On Sun, 26 Sep 2004, Bob Friesenhahn wrote:
>
>> + eval objext=NONE objext=NONE
>> + eval /usr/local/bin/grep "^objext=" + /usr/local/bin/grep ^objext= +
>> eval ../libtool --config + ../libtool --config : : cannot open
>> + eval + eval test x"$objext" = xNONE + test xNONE = xNONE +
>> func_error objext not set in `../libtool --config' + echo link.test:
>> objext not set in `../libtool --config' link.test: objext not set in
>> `../libtool --config'
>> + : my_exitp=:
>> + : + exit 1 FAIL: link.test
>
>
> After drilling down a bit more, I see that the generated libtool fails
> to run:
>
> + unset CDPATH
> + test X--config = X--no-reexec
> + test X--config = X--fallback-echo
> + 2> /dev/null
> + test X = X\t
> + exec /bin/sh --no-reexec --config
> : : cannot open
>
> which has to do with the following code in the generated libtool:
>
> 6665 # This environment variable determines our operation mode.
> 6666 if test \"\$libtool_install_magic\" = \"$magic\"; then
> 6667 # install mode needs the following variable:
> 6668 notinst_deplibs='$notinst_deplibs'
> 6669 else
> 6670 # When we are sourced in execute mode, \$file and \$ECHO are
> already set.
> 6671 if test \"\$libtool_execute_magic\" != \"$magic\"; then
> 6672 ECHO=\"$qecho\"
> 6673 file=\"\$0\"
> 6674 # Make sure echo works.
> 6675 if test \"X\$1\" = X--no-reexec; then
> 6676 # Discard the --no-reexec flag, and continue.
> 6677 shift
> 6678 elif test \"X\`(\$ECHO '\t') 2>/dev/null\`\" = 'X\t'; then
> 6679 # Yippee, \$ECHO works!
> 6680 :
> 6681 else
> 6682 # Restart under the correct shell, and then maybe \$ECHO
> will work.
> 6683 exec $SHELL \"\$0\" --no-reexec \${1+\"address@hidden"}
> 6684 fi
> 6685 fi\
>
> So apparently \"\$0\" expands to nada.
I believe that I fixed this with my libtool--release--2.0--patch-7.
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Eager mind wants to understand,
Gary V. Vaughan <=