hi,
gcc -flat_namespace -DHAVE_CONFIG_H -I. -I. -I. -DOPTIMIZE_POWERPC -O3 -g -fsigned-char -I/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/../ ../../Headers -c javaglue.c -fno-common -DPIC -o javaglue.lo
javaglue.h:6: header file 'jni.h' not found
It looks like Apple's java-1.4.1 update screwed up some parts of the pile of symlink spaghetti in the JavaVM framework. In the above include directory, which in reality is /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers, I see jni.h as a symlink to ../../CurrentJDK/Headers/jni.h which does not exist. In "../../", "CurrentJDK" is a symlink (at least for me) to "1.4.1", and in "1.4.1" there is no subdirectory "Headers". If this is the same for you, maybe you should change this symlink /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK from "1.4.1" to "1.3.1".
Or maybe the "Home/../../../" part should be scrapped and the above include directory should be hardcoded to be /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
-- Martin
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
