Received: from sss2.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id MAA05077 for ; Wed, 3 May 2000 12:15:45 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss2.sss.pgh.pa.us (8.9.3/8.9.3) with ESMTP id MAA08033; Wed, 3 May 2000 12:15:04 -0400 (EDT) To: frank cc: pgsql-hackers@postgreSQL.org Subject: Re: 7.0RC2 compile error ! 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> Comments: In-reply-to frank message dated "Wed, 03 May 2000 11:03:10 -0400" Date: Wed, 03 May 2000 12:15:04 -0400 Message-ID: <8030.957370504@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200005/165 frank 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 #endif either because you indeed haven't got the C++ standard header (not to be confused with C's --- 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