bug-libtool
[Top][All Lists]
Advanced

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

$echo left undefined in libtool script


From: Mike Gran
Subject: $echo left undefined in libtool script
Date: Sat, 5 Apr 2008 11:19:49 -0700 (PDT)

Running libtool 2.2.2.

I was rebuilding the build system on an autotools
package with libtool 2.2.2.  The make now fails. The
command line where the fail occurs was a compile
command.

/bin/sh ../../libtool --tag=CC  --mode=compile gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O2
-MT libguile_gucu_curses_v_0_la-curs_func.lo -MD -MP
-MF .deps/libguile_gucu_curses_v_0_la-curs_func.Tpo -c
-o libguile_gucu_curses_v__la-curs_func.la `test -f
'curs_func.c' || echo './'`curs_func.c

The first error was

../../libtool: line 818: X--tag=CC: command not found

The line of the libtool script in question was

case $arg in
-*=*) optarg=`$echo "X$arg" | $Xsed -e
's/[-_a-zA-Z0-]*=//'` ;;

Obviously, $echo is not getting set.

A workaround that makes it compile is to prepend the
line with echo=echo

echo=echo /bin/sh ../../libtool --tag=CC 

Thanks,

Mike Gran




reply via email to

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