Re: 7.0RC2 compile error !

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: frank <f(dot)callaghan(at)ieee(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.0RC2 compile error !
Date: 2000-05-03 18:03:27
Message-ID: Pine.BSF.4.21.0005031502590.92638-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

On Wed, 3 May 2000, Tom Lane wrote:

> frank <f(dot)callaghan(at)ieee(dot)org> writes:
> > Yup your dead right, the <string> include failed in the configure.
> > Isn't configure supposed to tell the user that something failed ?,
> > I have no idea what is an acceptable configuration for this s/w !
>
> > checking for namespace std in C++... yes
> > checking for include <string> in C++... no
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Yup, there's our problem. Your C++ setup is evidently pretty modern,
> since it knows what namespace std is. My guess is that you don't have
> the headers for libstdc++ installed.
>
> It would probably be a good idea to add another configure test to see
> whether class "string" is actually available, and disable building
> libpq++ if not. (We shouldn't simply kill libpq++ if the "include
> <string>" test fails, since older C++ installations may have class
> string in <string.h>. But if we can't find a header that defines class
> string at all, then libpq++ is definitely going to fall over.)
>
> Any objections if I sneak in such a configure test? Should be a
> low-risk change.

go for it, I want to do up a quick RC4 with th efixes to the docs that I
did the other day, so let me know when, and I'll do it then ...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-05-03 18:33:19 Re: 7.0RC2 compile error !
Previous Message Marten Feldtmann 2000-05-03 17:57:30 Re: Why Not MySQL?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2000-05-03 18:33:19 Re: 7.0RC2 compile error !
Previous Message Tom Lane 2000-05-03 17:38:56 Re: 7.0RC2 compile error !