[EMAIL PROTECTED] wrote: []
JavaVM.framework/Versions/A/Headers will always point to the headers for the "default" VM, which is 1.4.1 if 1.4.1 is installed. The 1.4.1 headers will be missing if the separate Java 1.4.1 Developer Tools package is not installed. If you intend to build and run with Java 1.4.1, you should install the 1.4.1 Developer Tools, which is available from the "Download Software" area of your ADC account.
OK, I stand corrected. I guess I just said "yes" once too often in SoftwareUpdate without reading the accompanyingt warnings. I'll keep this in memory for further reference: The developer tools are not sufficient, they only contain the java-1.3.1 dev tools; if you install the java-1.4.1 software update, you need to install the java-1.4.1 dev tools package in addition.
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
This is the correct solution if you want to build and run with 1.3.1. You may also need to specify the location of the java/javac executables /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Commands/*
The rpm package is actually doing this:
CompileScript: ( PATH="/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Commands:${PATH}"; ./configure %c ; make )
This is what the rpm configure script then uses for searching the headers in a directory that exists but is full of dead symlimks, as explained before. It contains the lines
case $target_os in
darwin*)
ac_cv_java_include="$java_home"/../../../Headerswhich is not good.
-- 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
