Re: pljava on mac

From: jcrada <jcrada(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pljava on mac
Date: 2007-04-29 13:42:02
Message-ID: 1177854122.316719.217970@l77g2000hsb.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, I finally could repair pljava sources to make it compile in Mac OS
X 10.4.8.
The problem is that XactListener.c (src/C/pljava) references XactEvent
without including the library where it is declared.
XactEvent is declared within xact.c and you can get this file from
postgresql sources.
What I did was
1) Copy xact.h src/C/include/pljava
2) Copy xact.c src/C/pljava
3) Open and edit src/C/pljava/XactListener.c, adding #include "pljava/
xact.h"

And next I followed Pascal Pochet's instructions (http://osdir.com/ml/
db.postgresql.pljava/2004-11/msg00013.html).
Thanks Pascal.

And that's pretty much it.
Hope it helps.

Juan Rada.
jcrada(at)gmail(dot)com
http://jcrada.googlepages.com

On Mar 4, 2:17 pm, eddy(dot)sanc(dot)(dot)(dot)(at)gmail(dot)com ("Eddy D. Sanchez") wrote:
> Someone works with pljava under postgresql on mac?
>
> I'm trying to install on OSX 10.4.8 but I cant compile this.
>
> Is there somebody that can copy me its compiles libraries ?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majord(dot)(dot)(dot)(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2007-04-29 14:27:14 Re: DRI in Docs?
Previous Message jcrada 2007-04-29 12:26:10 Re: pljava for mac osx 10.4.8