Opened 8 months ago
Last modified 8 months ago
#69491 assigned defect
tomcat-native @1.2.35: compilation/build issues for tomcat-native on MacOS Sonoma 14.4, build failure
Reported by: | amacbride | Owned by: | mattbishop (Matt Bishop) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | sonoma | Cc: | |
Port: | tomcat-native |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
There appear to be two issues: a filename-handling issue, and not looking for a MacPorts-installed SDK when no other JDKs are installed.
Issue #1: build script not handling a space in a directory name ("Internet Plug-Ins"):
:info:configure Tomcat Native Version: 1.2.35 :info:configure checking for chosen layout... tcnative :info:configure checking for APR... yes :info:configure configure: APR 1.7.4 detected. :info:configure setting CPP to "/usr/bin/clang -E" :info:configure ./configure: line 3219: test: /Library/Internet: binary operator expected :info:configure adding "-I/Library/Internet" to TCNATIVE_PRIV_INCLUDES :info:configure adding "Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/include" to TCNATIVE_PRIV_INCLUDES :info:configure checking for JDK os include directory... ./configure: line 3267: test: /Library/Internet: binary operator :info:configure Cannot find jni_md.h in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
So it knows the directory it's looking for, but the include directives are apparently not quoted. ("-I/Library/Internet")
Issue #2 is that this would fail anyway because the JVM is no longer shipped by default, and the build script doesn't look for a MacPorts-installed JDK under /opt (in this case, the file in question is there, but just not found).
/opt/local/Library/Java/JavaVirtualMachines/openjdk11-zulu/Contents/Home/include/darwin/jni_md.h
Xcode 15.2
Build version 15C500b
Attachments (1)
Change History (2)
Changed 8 months ago by amacbride
comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mattbishop removed |
---|---|
Description: | modified (diff) |
Keywords: | sonoma added; jdk tomcat tomcat-native build removed |
Owner: | set to mattbishop |
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Build log