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 ### execution of /tmp/fink.PvXUU failed, exit code 1 ### execution of /tmp/fink.XA2VN failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-postgresql-java-9.3-1101.2 (Reading database ... 355744 files and directories currently installed.) Removing fink-buildlock-postgresql-java-9.3-1101.2 ... Failed: phase compiling: postgresql-java-9.3-1101.2 failed Before reporting any errors, please run "fink selfupdate" and try again. If you continue to have issues, please check to see if the FAQ on Fink's website solves the problem. If not, ask on one (not both, please) of these mailing lists: The Fink Users List <fink-us...@lists.sourceforge.net> The Fink Beginners List <fink-beginn...@lists.sourceforge.net>, with a carbon copy to the maintainer: Benjamin Reed <postgresql-j...@fink.raccoonfink.com> Note that this is preferable to emailing just the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. Please try to include the complete error message in your report. This generally consists of a compiler line starting with e.g. "gcc" or "g++" followed by the actual error output from the compiler. Also include the following system information: 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 Xcode.app: 7.3.1 Xcode command-line tools: 7.3.1.0.1.1461711523 Max. Fink build jobs: 1 ---- ------------------------------------------------------------------------------ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel