pkgsrc-Users archive

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

Re: Problem building www/neon on Linux (libtool related)



Tobias,

Thanks for your quick reply.

On Mon, Dec 08, 2008 at 04:01:54PM +0100, Tobias Nygren wrote:
> On Mon, 8 Dec 2008 15:41:59 +0100
> Jeremie Le Hen <jeremie%le-hen.org@localhost> wrote:
> 
> > As you can see, there seems to be a missing command, bause there are two
> > consecutive pipes "|  |".  I've spent a little time trying to debug, but
> > libtool is really too big compared to the time I can afford.  I hope
> > some libtool master will be able to figure out the problem quickly.
> 
> Usually when that happens, it's because libtool's configure didn't
> figure out the "global_symbol_pipe" command. 
> 
> $ grep "^global_symbol_pipe" /usr/pkg/bin/libtool
> 
> If it's empty, try to reinstall libtool-base. If it still doesn't work,
> look at config.log from libtool-base. The configure test that fails is
> "checking command to parse nm output from cc object..."

Indeed, g++ is missing:

% configure:6851: checking command to parse nm output from gcc object
% configure:6956: g++ -c -O2 -I/usr/include -I/usr/include conftest.cpp >&5
% ./configure: line 6957: g++: command not found
% configure:6959: $? = 127
% : failed program was:
% #ifdef __cplusplus
% extern "C" {
% #endif
% char nm_test_var;
% void nm_test_func(){}
% #ifdef __cplusplus
% }
% #endif
% int main(){nm_test_var='a';nm_test_func();return(0);}
% configure:6956: g++ -c -O2 -I/usr/include -I/usr/include conftest.cpp >&5
% ./configure: line 6957: g++: command not found
% configure:6959: $? = 127
% : failed program was:
% #ifdef __cplusplus
% extern "C" {
% #endif
% char nm_test_var;
% void nm_test_func(){}
% #ifdef __cplusplus
% }
% #endif
% int main(){nm_test_var='a';nm_test_func();return(0);}
% configure:7056: result: failed

I don't know the background about using g++ for this test, probably
because of C++ symbol name mangling.  Anyway given that
"global_symbol_pipe" is mandatory, I'm little bit surprised that the
configure script doesn't fail loudly.

I guess the only solution is to install g++?

Thanks.
Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >


Home | Main Index | Thread Index | Old Index