On 2/20/14 6:18 AM, Kirill Muradov wrote:
> Hello everyone!
>
> I have read through numerous posts,
> yet couldn't find a solution to this
> well-known issue in my case.
> So decided to write a new post.
>
> I use Mac OS X 10.6.8. My problem: when
> trying to install Octave, got the message:
> "Can't resolve dependency "system-java-dev
> (>= 1.5-1)" for package
> "libidn-1.22-6" (no matching packages/versions found)".
>
> Following Finkproject's FAQ 6.17,
> I have installed Java Developer Package from
> the Apple website, ran "fink selfupdate-rsync".
> Still no effect.
>
> FYI, this is the output of "fink list -it system-java":
> Information about 12287 packages read in 1 seconds.
>   i   system-java     1.6.0-1 [virtual package representing Java 1.6.0]
>   i   system-java16   1.6.0-1 [virtual package representing Java 1.6.0]
>   i   system-java3d   0-1     [virtual package representing Java3D]
>   i   system-javaai   0-1     [virtual package representing Java Advanced 
> Imaging]
>
>
> And "/usr/libexec/java_home -t CommandLine -V" yields:
> Matching Java Virtual Machines (2):
>      1.6.0_65-b14-462, x86_64:        "Java SE 6"     
> /Library/Java/JavaVirtualMachines/
> 1.6.0_65-b14-462.jdk/Contents/Home
>      1.6.0_65-b14-462, i386:  "Java SE 6"     
> /Library/Java/JavaVirtualMachines/
> 1.6.0_65-b14-462.jdk/Contents/Home
> /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home
>
>
> Finally, this is the output of "fink-virtual-pkgs --debug 2>&1 |
> grep "checking Java" -A 11"
> - checking Java versions:
>    - 1.6.0... 1.6.0_65-b14-462.jdk/Contents/Home/bin
> /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/1.6.0/
> Headers/jni.h missing
> - searching for java3d... found /System/Library/Java/Extensions/j3dcore.jar
> - searching for javaai... found /System/Library/Java/Extensions/jai_core.jar
> - checking for Xcode version... 3.2.6
> - checking for Xcode CLI tools version... 3.2.6
> - determining path to system SDKs... /Developer/SDKs/
>    - checking for MacOSX10.4u.sdk... not found
>    - checking for MacOSX10.5.sdk... found
>    - checking for MacOSX10.6.sdk... found
> - checking for cctools version... 795-1
> - checking for cctools -single_module support... yes, 795 has it
>
> I have noticed that the Java Virtual Machines
> has been installed in /Library not /System/Library.
> Perhaps that is the cause? I will indeed appreciate any ideas!
>
> Many thanks for your time!
>
> Kirill
>
>

<rant>I hate Java on OS X!  On my own 10.6 environment, installed less 
than a year ago from a fresh download, the _same_ version of Java is 
installed in a different location.</rant>

The problem here appears to be that fink expects that your jni.h to be 
in a particular relative location to your java home based on the Java 
version, and this isn't where it is for you.  Check where the jni.h file 
actually is for your Java and we should be able to come up with a 
workaround for you before doing the real fix.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to