Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld - Mailing list pgsql-bugs

From Matt Benjamin
Subject Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld
Date
Msg-id Pine.LNX.4.10.10009021534070.2276-100000@colo.the-linux-box.com
Whole thread Raw
In response to Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hi Tom,

What do you mean, "do what it wanted?"  The configure script produced a
setup that would not build a perl interface, and the error was related to
SunWS compiler options.

The larger problem was of linking the PG libs.  I had a copy of Sun ld
around, but, since this (somehow, like the compiler) doesn't come with the
OS, it is a safe bet that a fair number of folks won't have it.

Sounds like half my problem was using the Perl5 that Sun provides with
Solaris 8. . .


Matt


Matt Benjamin President/CTO

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

tel. 734-761-4689
fax. 734-769-8938
pgr. 734-431-0118

On Sat, 2 Sep 2000, Tom Lane wrote:

> pgsql-bugs@postgresql.org writes:
> > 2. PG Perl interface Makefile.PL produced Sun compiler options for
> > compiling PG.c, e.g., "-KPIC", etc.
>
> We deliberately try to build the Perl interface with the same compiler
> and options that the local Perl installation claims it was built with,
> regardless of what you are building Postgres with.  Experience so far
> on multi-compiler platforms is that it's much more likely that the
> interface will actually work if built that way (remember it's going to
> link into the Perl executable, not into Postgres).
>
> Did it not work if you just let the makefile do what it wanted?
>
>             regards, tom lane
>

pgsql-bugs by date:

Previous
From: Richard Ellis
Date:
Subject: Possible bug in referential integrity system
Next
From: Ralf Boeckenholt
Date:
Subject: Problem