From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Joe Conway <joseph(dot)conway(at)home(dot)com> |
Cc: | PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Second call for platform testing |
Date: | 2001-11-29 23:26:40 |
Message-ID: | 3884.1007076400@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Joe Conway <joseph(dot)conway(at)home(dot)com> writes:
> ... So the error I reported
> last time is actually from the bundled compiler.
Which, unless HP has reconsidered since HPUX 10, is a deliberately
crippled K&R (no ANSI features) compiler. It's no wonder the configure
run failed; I guess failing right at this point is happenstance, though
it could not have gotten further since this test depends on ANSI
prototypes.
> configure:1361: checking whether the C compiler (cc -Ae +O2 ) works
> configure:1377: cc -Ae -o conftest +O2 conftest.c 1>&5
> (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The +O2 option is available only with the C/ANSI C product; ignored.
It's a shame configure hides all these useful messages down inside
config.log.
I wonder whether we shouldn't make the bare "does it work" test include
verification that ANSI-style prototypes are supported.
> So I added /opt/gcc/bin to my PATH, and got a different error once gcc
> was detected.
> configure:1243: checking whether the C compiler (gcc ) works
> configure:1259: gcc -o conftest conftest.c 1>&5
> as: warning 2: Unknown option "--traditional-format" ignored.
> as: "/var/tmp/cceTg0Kd.s", line 15: error 1052: Directive name not recognized - NSUBSPA
This looks like your gcc installation is broken: specifically, I'll bet
it's trying to use HP's assembler rather than gas. You really want the
GNU toolchain (binutils package) underneath gcc. The gcc-to-HP-as
configuration has never worked for me (though I have to admit I haven't
tried in a long time).
In the meantime, try it with HP's real compiler (set CC=cc for configure).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Brett Schwarz | 2001-11-30 00:00:15 | OSDL |
Previous Message | Ligia Pimentel | 2001-11-29 23:22:22 | An easy question about creating a primary key |