Subject: Re: libtool problem (?) with databases/db4
To: Georg Schwarz <geos@epost.de>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 02/29/2004 11:51:05
--eu12+zRL7gQwOC+E
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> /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[991]: c++:  not found
> *** Error code 1
>=20
> 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.

grant.


--eu12+zRL7gQwOC+E
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAQTd5luYOb9yiFXoRAlgWAJ0fmO+KvSJeVG1pClVEY1BW/DStNwCffk2s
QxIYacDHmnfHST7OHGP9kbI=
=yU9f
-----END PGP SIGNATURE-----

--eu12+zRL7gQwOC+E--