[MacPorts] #36522: commons-daemon java 1.7 mountain lion fails
MacPorts
noreply at macports.org
Tue Nov 27 21:32:28 PST 2012
#36522: commons-daemon java 1.7 mountain lion fails
------------------------------+--------------------------------
Reporter: eamonn.kearns@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: commons-daemon |
------------------------------+--------------------------------
Comment (by mmpestorich@…):
Oracle's JDK 7 installs files in very different locations than did Apple's
preceding java installations. Basically this is what I figure is causing
commons-daemon to not compile (or work correctly with say Tomcat when you
hack the compile as noted in the ticket description).
I attached a patch (location.c.patch) and here are instructions on what
needs to be done to compile is correctly. This all assumes and install of
Oracle's JDK 1.7.0_09:
{{{
./configure --prefix=/opt/apache-tomcat-7.0.33 --with-
java=/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home
--with-os-type=include/darwin
make
cp jsvc /opt/apache-tomcat-7.0.33/bin/
}}}
Hope that helps. I haven't tested fully. But Tomcat starts up now and
seems to be working.
--
Ticket URL: <https://trac.macports.org/ticket/36522#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list