Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld

From: Matt Benjamin <matt(at)linuxbox(dot)nu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: matt(at)linuxbox(dot)nu, pgsql-bugs(at)postgresql(dot)org
Subject: Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld
Date: 2000-09-02 19:38:07
Message-ID: Pine.LNX.4.10.10009021534070.2276-100000@colo.the-linux-box.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)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
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2000-09-02 19:49:58 Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld
Previous Message Tom Lane 2000-09-02 17:52:10 Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld