Re: Compiling PG 7.0.3 undex HP-UX 10.20

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Antonio Sindona <Antonio(dot)Sindona(at)italtel(dot)it>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Compiling PG 7.0.3 undex HP-UX 10.20
Date: 2001-04-14 01:44:07
Message-ID: 9411.987212647@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Antonio Sindona <Antonio(dot)Sindona(at)italtel(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-04-14 17:02:37 Homepage images do not set ALT attribute
Previous Message rpijlman 2001-04-13 22:40:56 Error on reference to inherited primary key