[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ngl-devel] Compilation error 0.7.10
From: |
Vincent Caron |
Subject: |
Re: [ngl-devel] Compilation error 0.7.10 |
Date: |
Wed, 26 Nov 2003 15:14:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030903 Thunderbird/0.2 |
Loic Dachary wrote:
I think the --tag problem appears when using ccache. Disabling
ccache or arranging for it to be hidden under g++ (symlink) would fix
the issue. It would be better if libtool knew about ccache, of
course.
I tracked down the problem, it comes from the way automake invokes
libtool. I have submitted the 3-line patch below to the automake ML
(adds shell quoting to the compiler name). The --tag stuff is new in the
libtool 1.5.x serie, that's why it never b0rked before.
Debian users can temporarily fix it by installing the libtool1.4 package.
2123c2123
< my $obj_ltcompile = '$(LIBTOOL) --mode=compile ' . $obj_compile;
---
> my $obj_ltcompile = "\$(LIBTOOL) --mode=compile \"$obj_compile\"";
7501c7501
< &define_variable ("LT$var", "\$(LIBTOOL) --mode=compile $value")
---
> &define_variable ("LT$var", "\$(LIBTOOL) --mode=compile \"$value\"")
7520c7520
< . $lang->link));
---
> . "\"$lang->link\""));