Re: 7.0RC2 compile error !

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: frank <f(dot)callaghan(at)ieee(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: 7.0RC2 compile error !
Date: 2000-05-03 16:15:04
Message-ID: 8030.957370504@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

frank <f(dot)callaghan(at)ieee(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Trond Eivind=?iso-8859-1?q?_Glomsr=F8d?= 2000-05-03 16:21:01 Re: [HACKERS] 7.0RC2 compile error !
Previous Message Peter Mount 2000-05-03 15:59:39 RE: RE: [HACKERS] Request for 7.0 JDBC status

Browse pgsql-interfaces by date

  From Date Subject
Next Message Trond Eivind=?iso-8859-1?q?_Glomsr=F8d?= 2000-05-03 16:21:01 Re: [HACKERS] 7.0RC2 compile error !
Previous Message Peter Mount 2000-05-03 15:59:39 RE: RE: [HACKERS] Request for 7.0 JDBC status