Re: 7.0RC2 compile error !

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.0RC2 compile error !
Дата
Msg-id 8030.957370504@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 7.0RC2 compile error !  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Peter Mount
Дата:
Сообщение: RE: [INTERFACES] RE: Request for 7.0 JDBC status
Следующее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: 7.0RC2 compile error !