bug-libtool
[Top][All Lists]
Advanced

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

libtool 1.4b


From: Karsten Jensen
Subject: libtool 1.4b
Date: Fri, 24 Aug 2001 23:08:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801

I tried to execute libtool like this

libtool --mode=execute ../../../clients/Motif-2.0/uil/uil -o test3.uid test3.uil

and got this error

severe: error opening source file: "-o"

Then i tried the same command with trace set

libtool --debug --mode=execute ../../../clients/Motif-2.0/uil/uil -o test3.uid test3.uil
and got this output

libtool: enabling shell trace mode
+ test 5 -gt 0
+ arg=--mode=execute
+ shift
++ sed -e '1s/^X//' -e 's/[-_a-zA-Z0-9]*=//'
++ echo X--mode=execute
+ optarg=execute
+ test -n ''
+ mode=execute
+ test 4 -gt 0
+ arg=../../../clients/Motif-2.0/uil/uil
+ shift
+ optarg=
+ test -n ''
+ nonopt=../../../clients/Motif-2.0/uil/uil
+ break
+ test -n ''
+ exec_cmd=
+ test -z ''
+ test -z execute
+ test -n ''
+ generic_help=Try `libtool --help' for more information.
+ help=Try `libtool --help --mode=execute' for more information.
+ modename=libtool: execute
+ cmd=../../../clients/Motif-2.0/uil/uil
+ test -z ../../../clients/Motif-2.0/uil/uil
+ libtool_execute_magic=%%%MAGIC variable%%%
+ args=
++ echo X-o
++ sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ file=-o
+ args= "-o"
++ echo Xtest3.uid
++ sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ file=test3.uid
+ args= "-o" "test3.uid"
++ echo Xtest3.uil
++ sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g'
+ file=test3.uil
+ args= "-o" "test3.uid" "test3.uil"
+ test -z ''
+ test -n LD_LIBRARY_PATH
+ eval 'export LD_LIBRARY_PATH'
++ export LD_LIBRARY_PATH
+ test set = set
+ LC_ALL=C
+ export LC_ALL
+ test set = set
+ LANG=C
+ export LANG
+ exec_cmd="$cmd"$args
+ test -z '"$cmd"$args'
+ test -n '"$cmd"$args'
+ eval exec '"$cmd"$args'
++ exec ../../../clients/Motif-2.0/uil/uil '"-o"' '"test3.uid"' '"test3.uil"'

This lead me to remove the quoting in line 5373 in libtool:

from args="$args \"$file\"" to args="$args $file", and this seems to solve the problem.

Karsten Jensen





reply via email to

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