Re: building postgresql-java

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Snaggled Works
Message-ID <[email protected]>
On 8/21/16 10:53 AM, Greg Minshall wrote:
> hi.  on my system [1] i was having problems building postgresql-java,
> getting a message about JAVA_HOME being set incorrectly [2].  i cloned
> something i found in rrdtool-java.info, and replaced
> ----
> export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
> ----
> (which doesn't exist on my 10.11 system) with
> ----
> unset JAVA_HOME
> ----
> after which postgresql-java *built* (and installed) without errors.
>
> (i'm not much of a java user, let alone postgresql user, so i can't
> comment on the resulting binary.)
>
> cheers, Greg Minshall
>
>
> ----[1]----
> ----
> bash greg-minshalls-mbp-2: {853} fink --version
> Package manager version: 0.39.5
> Distribution version: selfupdate-rsync Sun Aug 21 16:54:36 2016, 10.11, x86_64
> Trees: local/main stable/main local/injected
>
> Copyright (c) 2001 Christoph Pfisterer
> Copyright (c) 2001-2016 The Fink Package Manager Team
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU General Public License for more details.
> bash greg-minshalls-mbp-2: {854}
> ----
> ----[2]----
> #!/bin/sh -ev
>
>         export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
>         export CLASSPATH=`pwd`/jars/postgresql.jar
> pwd
>         ant publicapi privateapi
> Error: JAVA_HOME is not defined correctly.
>   We cannot execute /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java

I'm trying to update postgresql-java, but available versions are java 
dependent? What is your output for 'fink list system-java' ?

Hanspeter


------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.