libtool
[Top][All Lists]
Advanced

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

Re: Spaces in path names


From: Edward Maros
Subject: Re: Spaces in path names
Date: Thu, 12 Jan 2006 14:19:43 -0800
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Roger While wrote:

Actually on Cygwin (and MingW) this whole thing is caused
by the following lines in ltmain.sh :

      -L*)
        dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
        # We need an absolute path.
        case $dir in
        [\\/]* | [A-Za-z]:[\\/]*) ;;
        *)
          absdir=`cd "$dir" && pwd`

Have you tried:
absdir="`cd "$dir" && pwd`"

As this would be truer to the original intent.


And there is the probem.
Replacing that last line with a simple absdir="$dir"
and, what do you know, everything works as it should.
Of course, leaving as original, it is a heck of a problem
trying to trace further usage of absdir and dir.

THe question is, of course, what is the downside
of this change (locally for our product).

Roger



On Thu, 12 Jan 2006, Roger While wrote:

Hi Ralf,
Well, how ARE you supposed to get around this ?
Here's an excerpt :
HOME is /cygdrive/c/Dokumente und Einstellungen/Roger While
build directory is $HOME/open-cobol-0.33


Due to the many layers of shell scripting in libtool, supporting spaces in filenames is complicated and must be proven for every case. It is a huge job.

Since you are using Cygwin, you should be able to use Cygwin's 'mount' facility to map the problem path so that it appears as a path without spaces in the name. Of course, this approach is not as user friendly as it could be and requires extra effort on the part of the person who builds the package.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/






_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Ed

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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