Subject: libtool problem (?) with databases/db4
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 02/29/2004 01:48:48
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=compile 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

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.

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442