pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: frank <f.callaghan@ieee.org>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: 7.0RC2 compile error !
Date: Wed, 03 May 2000 12:15:04 -0400
Message-ID: <8030.957370504@sss.pgh.pa.us> (raw)
In-Reply-To: <39103FAE.14920C31@ieee.org>
References: <200005030227.WAA05863@candle.pha.pa.us>
	<390FB047.CD8B8BA5@alumni.caltech.edu>
	<39102A85.473BFC36@ieee.org>
	<20000503101756.A16305@rice.edu>
	<7839.957368619@sss.pgh.pa.us>
	<39103FAE.14920C31@ieee.org>

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



view thread (21+ messages)  latest in thread

Message-ID: <8030.957370504@sss.pgh.pa.us>
Permalink:  ../8030.957370504@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8030.957370504@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, f.callaghan@ieee.org, pgsql-hackers@postgreSQL.org
  Subject: Re: 7.0RC2 compile error !
  In-Reply-To: <8030.957370504@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox