[MacPorts] #41107: Apache-ivy fails to install on OS X Mavericks
MacPorts
noreply at macports.org
Fri Sep 4 18:13:37 PDT 2015
#41107: Apache-ivy fails to install on OS X Mavericks
-------------------------+--------------------------------
Reporter: lgo@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords: mavericks haspatch
Port: apache-ivy |
-------------------------+--------------------------------
Comment (by david@…):
Replying to [ticket:41107 lgo@…]:
> Trying to update apache-ivy to 2.3.0_0 on a MacBook Pro recently updated
to OS X Mavericks fails with a 'JAVA_HOME not defined correctly' error.
>
> This appears to be caused by OS X Mavericks not including Java 6. Two
ways to solve this:
> a. as a workaround, installing a JRE 6
> b. applying attached patch to the apache-ivy portfile
>
I had the same problem on OS X 10.10 (whatever it's code name is)
Just installing a JDK from Su..er..Oracle didn't do the trick. Instead:
{{{
$ sudo su
Password:
sh-3.2# ln -s
/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/
/Library/Java/Home
sh-3.2# ls -l !$
ls -l /Library/Java/Home
lrwxr-xr-x 1 root wheel 64 Sep 4 16:39 /Library/Java/Home ->
/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/
sh-3.2# exit
tippy:~ davidherron$ sudo port install cassandra
---> Computing dependencies for cassandra
---> Dependencies to be installed: apache-ivy
---> Building apache-ivy
---> Staging apache-ivy into destroot
---> Installing apache-ivy @2.3.0_0
---> Activating apache-ivy @2.3.0_0
---> Cleaning apache-ivy
}}}
The Cassandra installation fails for a different reason, FWIW.
--
Ticket URL: <https://trac.macports.org/ticket/41107#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list