Jean-Louis Fuchs wrote:

> baldria:~ gucky$ locate jni.h
> /Developer/Java/Headers/vm-jni.h
> /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers/jni.h
> /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Headers/jni.h
> /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h
> 
> That path
> /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home/include
> seems to be wrong.

This appears to be a bug in fresh installs of Tiger; the Java.pkg that
comes with tiger fails to create the include/ directory in version 1.3.1
(only in 1.4.2) although it has the rest of the Home directory.

The fix is to run:

  cd /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Home
  sudo ln -s ../Headers include

I've opened a bug (radar #4134270) to apple, but I have no idea when
they'll fix it; historically, veeeeeeerrrrrryyyyy slooooooowwwwlllyyyy ;)

I'll have to look into making fink create this symlink if it's missing,
or some other skullduggery just as ugly.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to