Re: 7.0RC2 compile error ! - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 7.0RC2 compile error !
Date
Msg-id 8030.957370504@sss.pgh.pa.us
Whole thread Raw
In response to Re: 7.0RC2 compile error !  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
frank <f.callaghan@ieee.org> writes:
>>>> Configuration details: did you feed ./configure any special switches?
>> 
>> The output of configure would also be interesting.  Also, I've forgotten
>> exactly what the error messages you got were?  (Time for another whine
>> about the sad state of the pghackers archives :-()

>> In file included from pgconnection.cc:18:
>> pgconnection.h:84: syntax error before `('
>> pgconnection.cc:116: syntax error before `::'

OK, both of those are pointing at uses of datatype "string".  I suspect
that this code near the head of pgconnection.h is failing to fire:

#ifdef HAVE_CXX_STRING_HEADER
#include <string>
#endif

either because you indeed haven't got the C++ standard <string> header
(not to be confused with C's <string.h> --- is there a separate "devel"
RPM for C++ header files? if so, do you have it?), or because configure
got confused and failed to define HAVE_CXX_STRING_HEADER when it should.
Can't tell which though; the config.cache file you sent doesn't record
anything about HAVE_CXX_STRING_HEADER.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Mount
Date:
Subject: RE: [INTERFACES] RE: Request for 7.0 JDBC status
Next
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: 7.0RC2 compile error !