[Pljava-dev] Building from source for PG 8.2.4

From: ecf at goldencode(dot)com (Eric Faulhaber)
To:
Subject: [Pljava-dev] Building from source for PG 8.2.4
Date: 2007-08-31 21:35:09
Message-ID: 46D8898D.6020901@goldencode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Kris Jurka wrote:
>
>
> 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.

Sounds good!
>
>> 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))
>

I'll give it a try. Thanks very much for your help, Kris!

Regards,
Eric Faulhaber

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Kris Jurka 2007-08-31 21:36:11 [Pljava-dev] Building from source for PG 8.2.4
Previous Message Kris Jurka 2007-08-31 21:29:23 [Pljava-dev] Building from source for PG 8.2.4