pg.ddx.io pljava-dev@postgresql.org mailing list archive
help / color / mirror / Atom feedSubject: [Pljava-dev] Building pl/java on OS/X (Mountain Lion)
Date: Sat, 13 Oct 2012 10:39:11 -0700
Message-ID: <86510D0E-3824-40CC-B432-944032169D3E@me.com> (raw)
So, I've managed to get a clean build of this, but haven't actually gone through the process of verifying it. Will do so later this weekend and post the results. Here's what I had to do to get this to work.
First, make sure you're using Java 1.6. PL/Java will compile with errors and die.
Make sure you have XCode 4.5. However, for some reason I can't fathom, the build wants to use the 10.6 framework, which doesn't exist in XCode 4.5. After much pain and suffering, I found this link http://www.jamesgeorge.org/uploads/MacOSX10.6.sdk.zip, which you can use to install the 10.6 framework for 4.5. The contents of this file should be expanded into /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
Make sure that you have the postgres binaries in your path. I used the enterprise DB installation for 9.2 and have PATH=/Library/Postgres/9.2/bin:$PATH.
Make sure that you have the PORTNAME environment variable set to "darwin".
Then everything should just work for the make.
As I said, I haven't validated this so I'll be doing that, but fingers crossed....
view thread (7+ messages) latest in thread
Message-ID: <86510D0E-3824-40CC-B432-944032169D3E@me.com>
Permalink: ../86510D0E-3824-40CC-B432-944032169D3E@me.com/
Also on: postgresql.org/message-id/86510D0E-3824-40CC-B432-944032169D3E@me.com
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 pl/java on OS/X (Mountain Lion)
In-Reply-To: <86510D0E-3824-40CC-B432-944032169D3E@me.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox