Subject: Re: security/libgpg-error fails on Solaris
To: Ulrich Habel <uli@habel.name>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 11/04/2006 16:57:15
On Sat, 4 Nov 2006, Ulrich Habel wrote:
> configure:5565: cpp -I/usr/pkg/include conftest.cc
> ./configure[5566]: cpp:  not found
...
> which fails. When setting USE_LANGUAGES=c++ the way is different:

Can you try 'c' instead of 'c++'? cpp is the C PreProcessor, which should 
be there for C as well, without pulling in a C++ compiler 
unneccessarily...


> configure:5427: checking how to run the C++ preprocessor
> configure:5458: g++ -E -I/usr/pkg/include conftest.cc
> configure:5464: $? = 0

FWIW that's ok - pkgsrc uses a wrapper "gcc"/"g++" that maps GCC-like 
options to your native compiler. That way, we don't have to adjust a 
bazillion of Makefiles.


  - Hubert