[fedora-java] Building RPM's with Java alternatives

Kenneth Porter shiva at sewingwitch.com
Tue Jan 10 00:23:09 UTC 2006


On Sunday, January 08, 2006 11:31 PM -0800 Kenneth Porter 
<shiva at sewingwitch.com> wrote:

> Looks like the root of my issue is here:
>
> /usr/lib/jvm/java/include/jni.h:27:20: jni_md.h: No such file or directory
>
> The referenced file is located here:
>
> /usr/lib/jvm/java/include/linux/jni_md.h
>
> And:
>
> [buildmeister at segw include]$ rpm -qf /usr/lib/jvm/java/include/jni.h
> j2sdk-1.4.2_10-fcs
>
> So this looks like Sun's bug.

I added a symlink in /usr/java/j2sdk1.4.2_10/include:

jni_md.h -> linux/jni_md.h

This allows Subversion's javahl subpackage to build.

Is this a bug in the header, or should the linux subdirectory be in the 
header search path?




More information about the java-devel mailing list