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

Re: Solaris compile problem

From: Karl DeBisschop <kdebisschop(at)range(dot)infoplease(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: karl(at)debisschop(dot)net, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Solaris compile problem
Date: 2000-06-06 13:57:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Tom Lane wrote:
> Karl DeBisschop <kdebisschop(at)h00a0cc3b7988(dot)ne(dot)mediaone(dot)net> writes:
> >> Can you say if libpq++ *ever* built on that platform?  I'm guessing
> >> that Solaris needs the same sort of hack that is present in libpq++'s
> >> Makefile for irix5, ie set AR and LD to $(CXX).  But if I'm right
> >> then it'd never have worked...
> > it did work in 6.4.2
> OK, that's a useful datapoint.
> > and ld does work in other parts of the make - it only fails in this one
> > place.
> Sure.  I think the problem likely is that the stock "ld" on Solaris only
> copes with C object files and not C++ object files.  This only shows up
> for libpq++ because we have no other C++ code in the distribution.
> However, as far as I can tell from a quick scan through the CVS server,
> 6.4.* should've tried to use "ld" for libpq++ too.  Could you rebuild
> 6.4.2 and see what the difference is in the build commands it uses?
>                         regards, tom lane

downloaded the source and rebuilt.  make died at the same place.  Yet
the old install does have libpq++ in place.

6.4.2 was orignally compiled by another developer here.  So I don't know
if he had the same problem and used the same hack to get past it, or if
there was a difference in his environment settings (or something has
been upgraded in between times - it seems we may have been on Solaris 6
when 6.4.2 was last compiled, for instance)

I'll talk to the developer when he gets in, but this tack may be a dead


In response to

pgsql-bugs by date

Next:From: Rudolf WeberDate: 2000-06-06 17:28:29
Subject: libpgtcl
Previous:From: Tom LaneDate: 2000-06-06 05:20:38
Subject: Re: Solaris compile problem

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