#25740: Tomcat5 fails to build on Snow Leopard ----------------------------------+----------------------------------------- Reporter: setsunaruu@… | Owner: jberry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: tomcat5 ----------------------------------+----------------------------------------- Comment(by stlee42@…): rather, i think it's because tomcat5 is being built with JDK6. Apple stopped shipping JDK5 starting with snow leopard. i followed the instructions at this website (http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard) to install JDK5 on Snow Leopard. it's a bit hacky. i reinstalled all of java packages. (had to delete the below lines from commons-dbcp Portfile), and tomcat 5 built and installed fine for me. {{{ platform darwin 10 { build.args-append -Djavac.source=5 patchfiles-append patch-JDK-1.6.diff } }}} -- Ticket URL: <https://trac.macports.org/ticket/25740#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS