On 16/04/11 17:59, Nelson, Timothy Knight wrote:
[]
> The jni header file is in the System library but not my user library
> on my machine. Perhaps the symptom of a brand new machine that hasn't
> built any java software yet? If that's all it is, it seems like it
> should be an easy fix to the build script.

In fact, the build script has been fixed a couple of months ago for 
precisely this problem (after long discussions on the lists and a lot of 
tests.) The reason it needed fixing was that Apple has been shuffling 
the java headers around with some minor software updates. The fact that 
it doesn't work for you could indicate that Apple has found yet another 
trick to trip us up. Or it could be something specific to your 
installation. To find out which one it is, you need to be more precise 
than "The jni header file is in the System library but not my user 
library on my machine." Where is it?

It would be useful if you could show what Alex suggested:

> On Apr 16, 2011, at 5:23 AM, Alexander Hansen wrote:
[]
>> So the next place to look is in
>> /sw/src/fink.build/ppl-0.10.2-8/ppl-0.10.2/build/config.log, at the java
>> detection section. to see if there's more info.
>>
>> At that point, I get:
>>
>> configure:18212: checking if
>> /System/Library/Frameworks/JavaVM.framework/Home/bin/java works
>> configure:18249:
>> /System/Library/Frameworks/JavaVM.framework/Home/bin/java  Test
>> configure:18252: $? = 0
>> configure:18265: result: yes
>> configure:18321: checking for jar
>> configure:18339: found
>> /System/Library/Frameworks/JavaVM.framework/Home/bin/jar
>> configure:18351: result:
>> /System/Library/Frameworks/JavaVM.framework/Home/bin/jar
>> configure:18416: checking for javah
>> configure:18434: found
>> /System/Library/Frameworks/JavaVM.framework/Home/bin/javah
>> configure:18446: result:
>> /System/Library/Frameworks/JavaVM.framework/Home/bin/javah
>> configure:18469: g++ -E
>> - -I/System/Library/Frameworks/JavaVM.framework/Home/include
>> - -I/sw32/include conftest.cpp
>> configure:18476: $? = 0
>> configure:18538: checking whether jlong can contain data pointers
>> configure:18568: g++ -o conftest  -Winvalid-pch -g -O2 -frounding-math
>> - -g -O2 -pipe -fpch-preprocess -fPIC
>> - -I/System/Library/Frameworks/JavaVM.framework/Home/include
>> - -I/sw32/include  -L/sw32/lib conftest.cpp>&5

In particular, it would be interesting to see how this last command line 
looks like in your case.

[]
>> And do you have
>> /Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Headers/jni.h
>> and /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h
>> ?

-- 
Martin

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to