From: Braden M. <br...@en...> - 2011-05-17 01:51:14
|
Please use the mailing list. On Mon, 2011-05-16 at 13:36 -0500, Andres Ussa Caycedo wrote: > On 05/16/2011 08:10 AM, Braden McDaniel wrote: > > On Mon, 2011-05-16 at 00:01 -0500, Andres Ussa Caycedo wrote: > > > >> Hi, I saw the prerequisites, I think I have everything I need > >> > >> installed... when I run "./configure", this is the error I get: > >> > >> checking for OpenGL Utility library... -lGLU > >> checking for varargs GLU tesselator callback function type... no > >> checking for sdl-config... no > >> configure: error: in `/home/andres/Downloads/openvrml-0.18.8': > >> configure: error: The Java Native Interface is required for Script node > >> Java support. > >> See `config.log' for more details > >> > >> what am I doing wrong? how do I solve this? help please :D > >> > > configure didn't find jni.h. You need either to install a JDK or to > > pass --disable-script-node-java. > > > > You can find this (and other configure options) documented in the > > section '"configure options' in README. > > > > > I ran: > > ./configure --disable-script-node-javascript --disable-render-text-node > > getting the same error: > > http://pastebin.com/PJuhSA9j That's not what I wrote above. > and I have: > > i sun-java6-jdk - Sun Java(TM) > Development Kit (JDK) 6 > > does this JDK work? Most likely. But if that package has put the JNI headers somewhere your compiler doesn't know about, you probably need to set CPPFLAGS appropriately. For example, I find it necessary (on Fedora) to do: $ configure CPPFLAGS='-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux' …to get the necessary bits. The requisite header files may be in a different location on a different distribution and/or using a slightly different Java package. The README does mention this. -- Braden McDaniel <br...@en...> |