Subject: Re: libtool problem (?) with databases/db4
To: Georg Schwarz <email@example.com>
From: grant beattie <grant@NetBSD.org>
Date: 02/29/2004 11:51:05
Content-Type: text/plain; charset=us-ascii
On Sun, Feb 29, 2004 at 01:48:48AM +0100, Georg Schwarz wrote:
> When compiling databases/db4 libtool assumes that a c++ compiler called
> c++ is in the path. If it is not, one ends up as follows:
> /sbin/sh ./libtool --mode=3Dcompile c++ -c -I. -I../dist/..
> -D_SGI_MP_SOURCE -O2 ../dist/../cxx/cxx_dbc.cpp
> c++ -c -I. -I../dist/.. -D_SGI_MP_SOURCE -O2 ../dist/../cxx/cxx_dbc.cpp
> -DPIC -o .libs/cxx_dbc.o
> /usr/local/pkg/bin/libtool: c++: not found
> *** Error code 1
> CXX is set to point to a valid c++ compiler (actually a local
> installation of GNU c++), but CXX seems to be ignored.
> I am not sure whether this is a particular problem of databases/db4 or
> or libtool. Any suggestions what exactly goes wrong and how to fix it
> would be appreciated. Thanks.
did you previously build libtool with a different compiler? if you
change compilers, you need to rebuild libtool so it knows how to
drive your new compiler.
also, my understanding is that you shouldn't need to set CXX
explicitly with the new compiler framework.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
-----END PGP SIGNATURE-----