agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Building from source for PG 8.2.4
Date: Fri, 31 Aug 2007 17:29:23 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0708311726130.30502@leary.csoft.net> (raw)
In-Reply-To: <46D87EEE.7060704@goldencode.com>
References: <46D79E76.1020005@goldencode.com>
<Pine.BSO.4.64.0708311441450.2300@leary.csoft.net>
<46D87059.6080905@goldencode.com>
<Pine.BSO.4.64.0708311556560.16928@leary.csoft.net>
<46D87EEE.7060704@goldencode.com>
On Fri, 31 Aug 2007, Eric Faulhaber wrote:
>> Any chance your machine reports something other than i386 or i686 for
>> $host_cpu? If you have something like i586, the makefile in question
>> will not provide the appropriate JRE_CPU mapping (circa line 55).
>> Echoing JRE_LIB prior to were you hardcoded things would be informative.
> Sure enough:
>
> /usr/lib/jvm/java-1.5.0-sun/jre/lib/i486
>
> The following change to the Makefile fixes this; however, as I am not a
> make guru, there may be a better way to handle this:
>
OK, I'll commit this fix and similar for i586 to CVS later today.
> The only question I have left: is there a way to partially override the
> compiler options divined from pg_config, so I can turn off -g but
> inherit the rest?
>
Putting this after "override CFLAGS += $(PLJAVA_CFLAGS)" approx line 140
might work:
CFLAGS := $(filter-out -g, $(CFLAGS))
Kris Jurka
view thread (8+ messages) latest in thread
Message-ID: <Pine.BSO.4.64.0708311726130.30502@leary.csoft.net>
Permalink: ../Pine.BSO.4.64.0708311726130.30502@leary.csoft.net/
Also on: postgresql.org/message-id/Pine.BSO.4.64.0708311726130.30502@leary.csoft.net
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] Building from source for PG 8.2.4
In-Reply-To: <Pine.BSO.4.64.0708311726130.30502@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox