Thread: Can't compile postgres 7 on HP-UX 10.2

Can't compile postgres 7 on HP-UX 10.2

From
pgsql-bugs@postgresql.org
Date:
Rick Bischoff (beckett@ductape.net) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
Can't compile postgres 7 on HP-UX 10.2

Long Description
HP-UX 10.2 machine with GNU binutils and gcc, g++, etc.
Configure automatically uses HP's crappy "cc" when it finds out I am running a HP.

gmake fails with spurrous errors when...
  A) I leave Makefile.global exactly how configure left it
  B) When I edit it to use GCC and delete the annoying flags

I really really need postgres 7 ported to HP-UX 10.2 for this application!! It's for enterprise level work and I think
itwill help make open Source headway at this fortune 500 company! 


Sample Code


No file was uploaded with this report

Re: Can't compile postgres 7 on HP-UX 10.2

From
Tom Lane
Date:
pgsql-bugs@postgresql.org writes:
> HP-UX 10.2 machine with GNU binutils and gcc, g++, etc.
> Configure automatically uses HP's crappy "cc" when it finds out I am running a HP.

./configure --with-template=hpux_gcc

> gmake fails with spurrous errors when...
>   A) I leave Makefile.global exactly how configure left it

Really?  The hpux_cc configuration worked last time I tried it.  How
about some details on the error messages?

BTW, have you read doc/FAQ_HPUX?  It hasn't been updated for awhile :-(
but I think the advice is mostly still OK.

            regards, tom lane