Re: Compiling PG 7.0.3 undex HP-UX 10.20 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Compiling PG 7.0.3 undex HP-UX 10.20
Date
Msg-id 9411.987212647@sss.pgh.pa.us
Whole thread Raw
In response to Compiling PG 7.0.3 undex HP-UX 10.20  (Antonio Sindona <Antonio.Sindona@italtel.it>)
List pgsql-bugs
Antonio Sindona <Antonio.Sindona@italtel.it> writes:
> I'm trying to compile Postgres under HP-UX after having installed GCC 2.95 and
> GMake.

It looks like configure has decided to try to use cc, not gcc, which
will not work too well unless you have HP's full ANSI C compiler.
The K&R C they give you for free doesn't cut it.

IIRC, in 7.0.* you must explicitly specify --with-template=hpux_gcc
to configure to get it to use gcc on HP.  (In 7.1, gcc is automatically
preferred if installed.)

            regards, tom lane

pgsql-bugs by date:

Previous
From: Antonio Sindona
Date:
Subject: Compiling PG 7.0.3 undex HP-UX 10.20
Next
From: rpijlman@spamcop.net
Date:
Subject: Error on reference to inherited primary key