Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group