#41378: Installing subversion-javahlbindings (1.8.4) fails on OS X 10.9 ----------------------------------------+----------------------- Reporter: jan.krabbenbos@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: subversion-javahlbindings | ----------------------------------------+----------------------- Comment (by jan.krabbenbos@…): Replying to [comment:13 n.sherlock@…]:
I edited the configure file (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_devel_subversion-javahlbindings/subversion- javahlbindings/work/subversion-1.8.4/configure) to add this line to the top, which is the value of JAVA_HOME from my environment:
{{{ export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home" }}}
Now it configures and installs without issue with "sudo port install subversion-javahlbindings +no_bdb", and I can once again use JavaHL from Eclipse! I guess the environment normally passed to configure doesn't include the value of JAVA_HOME?
I have done the same and now it compiles and Eclipse does work too. I checked also if JAVA_HOME was available in the shell, but I do not have it available in the shell. Thanks for the workaround. -- Ticket URL: <https://trac.macports.org/ticket/41378#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X