bug-cvs
[Top][All Lists]
Advanced

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

Re: configure problem


From: Larry Jones
Subject: Re: configure problem
Date: Thu, 20 Feb 2003 14:40:44 -0500 (EST)

Wendy Palm writes:
> 
> i'm having a problem configuring cvs on a particular cray architecture.
> cvs-1.11 configured and installed just fine,
> but cvs-1.11.3 and cvs-1.11.5 fails at the
> 
> checking how to run the C preprocessor... /lib/cpp
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> 
> i've looked at that section of the code, and i can't figure out what
> the heck it's trying to do.

It's trying to find a C preprocessor that works correctly.  On your
system, "cc -E" appears to run the preprocessor, but it does not work as
expected.  In particular, preprocessing the file:

        #line 2778 "configure"
        #include "confdefs.h"
        #include <ac_nonexistent.h>

completes successfully with no error messages whereas it should have
failed and produced an error message about not being able to find
ac_nonexistent.h.  You may want to try running it by hand to see what's
going on (you can stick an "exit" in the configure script at this point
to save conftest.c [the above file] and confdefs.h if you want, but
there shouldn't be anything interesting in confdefs.h at this point). 
Is it possible that you actually have an ac_nonexistent.h header
somewhere that its finding?  If so, get rid of it!

-Larry Jones

Moms and reason are like oil and water. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]