Re: HP-UX 11 + GCC + --with-CXX = pain - Mailing list pgsql-ports

From Tom Lane
Subject Re: HP-UX 11 + GCC + --with-CXX = pain
Date
Msg-id 4993.989595611@sss.pgh.pa.us
Whole thread Raw
In response to HP-UX 11 + GCC + --with-CXX = pain  ("Louis Bertrand" <louis.bertrand@datawire.net>)
Responses RE: HP-UX 11 + GCC + --with-CXX = pain  ("Louis Bertrand" <louis.bertrand@datawire.net>)
List pgsql-ports
"Louis Bertrand" <louis.bertrand@datawire.net> writes:
> For some reason, I can't seem to find the STL header for the
> string class. I'm not sure it's installed correctly so I will
> check with HP in the morning...

Looks to me like gcc can't find it either.

On my HPUX 10.20 installation of gcc 2.95.3, <string> is installed as
    /usr/local/include/g++-3/string
and this directory is searched automatically by g++.  However, I built
and installed gcc from source.  My guess is that something is bollixed
up in your gcc installation.  The Porting Archive folks tend to like to
rearrange the directory setup of packages they port (they want
everything under /opt instead of /usr/local), and I suspect they missed
a needed change somewhere in the gcc 2.95.3 distribution.

            regards, tom lane

pgsql-ports by date:

Previous
From: Peter
Date:
Subject: C compiler cannot create executables
Next
From: "Louis Bertrand"
Date:
Subject: Re: HP-UX 11 + GCC + --with-CXX = pain