soprano on Mojave not finding Java developer header files
Ryan Schmidt
ryandesign at macports.org
Sun Oct 7 21:14:31 UTC 2018
On Oct 7, 2018, at 12:07, Richard L. Hamilton wrote:
> This change to the Portfile got it to build for me; apparently those files are in a different location now, so the original pre-check failed (properly installed Xcode and command line tools will find it regardless of the pre-check, so this is all that needed to be changed). Since soprano is a prerequisite for kdelibs4 (and therefore all that depends on, like kdegames4!!), this was really a problem for me until I found the workaround.
>
> bigapple:soprano root# diff Portfile.orig Portfile
> 45c45
> < if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"]} {
> ---
>> if {![file isfile "/System/Library/Frameworks/JavaVM.framework/Headers/jni.h"] && ![file isfile "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h"]} {
>
I do not know what the correct solution is, but the problem is being tracked in this ticket: https://trac.macports.org/ticket/57255
More information about the macports-users
mailing list