RE: [Java-gnome-developer] Problems Compiling
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2002-06-10 17:56:23
|
The problem has nothing to do with PangoColor. The problem is that the compiler cannot find jni.h in your include path. Usually this file would be in the directory under JAVA_INCLUDES. I set this with the following statement: if test x$jdk_1_3 != x ; then CLASSPATH="" OS_INCLUDES=`(cd ${JAVA_HOME}/include/; ls */jni_md.h) |\ sed "s/\(.*\).jni_md.h/\1/"` JAVA_INCLUDES="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_INCLUDES}" else CLASSPATH="${JAVA_HOME}/lib/classes.zip:" OS_INCLUDES=`(cd ${JAVA_HOME}/include/; ls */jni_md.h) |\ sed "s/\(.*\).jni_md.h/\1/"` JAVA_INCLUDES="-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS_INCLUDES}" fi My guess is that your JAVA_HOME environment variable is set to user. Please try to set this to the root of your jdk installation, remove the configure cache and try this again. Please let me know if this works. -Jeff > > jni.h. Please open up src/Makefile and tell me the > > value of JAVA_INCLUDES > JAVA_INCLUDES = -I /usr/include -I /usr/include/ > > In the directory, there is > /usr/include/pango-1.0/pango/ > with various files, but nothing relating to pangocolor. > > Changing the makefile to > JAVA_INCLUDES = -I /usr/include -I /usr/include/pango-1.0/pango/ > does not fix the problem > > -- > > +----------------------------------------------+ > | Mark Howard mh...@ca... | > | http://www.tildemh.com mh...@ti... | > +----------------------------------------------+ > |