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

Re: [moseley@hank.org: configure: error: C++ preprocessor "/lib/cpp" fails sanity check]



[Please cc, as I'm not subscribed to debian-gcc]


On Wed, Nov 05, 2003 at 03:43:57PM +0100, J.H.M. Dassen (Ray) wrote:

> > I posted this o debian-user a few days back.  I'm wondering if cpp needs
> > to depend on g++.
> 
> I see no reason to. The preprocessor typically isn't used as a stand-alone
> application. It is typically called from a compiler frontend (which has the
> appropriate dependency on cpp) and is ocassionally called to process things
> other than C(++) code, like .Xresources files, which don't need a compiler
> dependency.

But it seems to be called with autoconf:

$ ./configure >/dev/null
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

My configure.in isn't requesting that check, as far as I know, so it 
looks like autoconf is running that sanity check by default.

config.log says:

configure:4895: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:4901: $? = 1


ii  autoconf        2.57-11         automatic configure script builder
ii  gcc             3.3.1-2         The GNU C compiler.




-- 
Bill Moseley
moseley@hank.org



Reply to: