[MacPorts] #36522: commons-daemon java 1.7 mountain lion fails
#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 Keywords: | Port: -----------------------------+-------------------------------- The build process looks for jni_md.h in /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/include but it is located in /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/include/darwin I am not sure how to resolve this properly, but I hacked it by cping the files up one level. -- Ticket URL: <https://trac.macports.org/ticket/36522> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ------------------------------+-------------------------------- Changes (by macsforever2000@…): * port: => commons-daemon Comment: Please attach the main.log. In the future, please fill in the Port field. -- Ticket URL: <https://trac.macports.org/ticket/36522#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 jgarrido@…): I'm having the same issue at the moment, which seemed to start after the upgrade to Mavericks, as this is the first time I've attempted to run 'upgrade outdated' since then. -- Ticket URL: <https://trac.macports.org/ticket/36522#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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 auke@…): The attached patch commons-daemon-1.0.15.patch updates commons-daemon to 1.0.15 and fixes the location issue. -- Ticket URL: <https://trac.macports.org/ticket/36522#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#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 jea@…): Uh, shouldn't someone put this into the main sources? Commons-daemon is still at 1.0.10 and the location issue is not fixed. I had to copy jni_md.h from darwin subdirectory up to the java_home directory to get commons_daemon to install. -- Ticket URL: <https://trac.macports.org/ticket/36522#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts