bug-automake
[Top][All Lists]
Advanced

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

Re: Automake's invokation of libtool doesnt handle $prefix with spaces i


From: Ralf Wildenhues
Subject: Re: Automake's invokation of libtool doesnt handle $prefix with spaces in directory names
Date: Mon, 8 Oct 2007 21:08:23 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Noah,

* Noah Slater wrote on Sat, Oct 06, 2007 at 07:04:37PM CEST:
> If I run configure like so:
> 
>     ./configure --prefix="/tmp/foo bar"
> 
> Everything runs fine, but when I "make install" I get the following
> error output:

If I may quote from automake/TODO:
| * quoting bugs
|   - how to install file with a space in its name?
|   [ don't bother with this -- make is just too losing ]

[...]
>  /bin/bash ../../libtool --mode=install /usr/bin/install -c
> 'couch_erl_driver.la' '/tmp/couchdb test/lib/couch_erl_driver.la'
> /usr/bin/install -c .libs/couch_erl_driver.so /tmp/couchdb
> test/lib/couch_erl_driver.so
> /usr/bin/install: target `test/lib/couch_erl_driver.so' is not a directory
> make[3]: *** [install-libLTLIBRARIES] Error 1
> 
> Notice how the "/bin/bash ../../libtool" command properly quotes the
> path but the resulting command does not have a quoted path.
> 
> Am I doing anything wrong or is this a bug with automake/libtool?

Oh well, in this case it's a Libtool bug rather than an Automake/make
one.  Still, the rule applies: don't use white space in file names.
It's too much work and very ugly to fix this throughout Libtool as well.
Even if this particular failure may be rather simple to fix, it will
lead to followup issues with packages that use the installed libraries.

Sorry,
Ralf




reply via email to

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