On 10/9/12 3:54 PM, Grant W. Petty wrote:
>
>
> I recently upgraded to Mountain Lion on my iMac and have been having
> problems with fink ever since, even after reinstalling fink from scratch.
That is rarely the right thing to do, because Fink builds
deterministically. One typically ends up right at the same point.
>
> Please see the diagnostics below when installing ppl9
>
> Note that while the script claims
> /System/Library/Frameworks/JavaVM.framework/Home not found.
>
> that path does exist, albeit as a soft link
>
>> ls -dl /System/Library/Frameworks/JavaVM.framework/Home
>
> lrwxr-xr-x 1 root wheel 24 Oct 3 18:36
> /System/Library/Frameworks/JavaVM.framework/Home -> Versions/CurrentJDK/Home
>
>
> Please advise how to work around this problem.
>
> Thanks,
> Grant Petty
>
>
>
>
<snip>
> # JAVA_HOME=`/usr/libexec/java_home`
> JAVA_FW=/System/Library/Frameworks/JavaVM.framework
> JAVA_HOME=$JAVA_FW/Home
> test -d $JAVA_HOME && test -x $JAVA_HOME || \
> { echo "$JAVA_HOME not found." ; exit 1 ;}
> /System/Library/Frameworks/JavaVM.framework/Home not found.
<snip>
The message is leaving out the possibility of a dangling symlink, true,
since the test is whether
/System/Library/Frameworks/JavaVM.framework/Home is a directory and
executable. An invalid symlink will cause this test to fail.
See if your symlink is valid e.g. via "ls
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home".
I'm not sure why the maintainer turned off using the output of
/usr/libexec/java_home, since that's nominally still usable when Apple
messes with Java, and doesn't have all of the symlinks:
$ grealpath
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Alexanders-MacBook-Pro:fink hansen$ /usr/libexec/java_home
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
As a workaround, you might try editing
/sw/fink/dists/stable/main/finkinfo/devel/ppl9.info, uncomment the
"JAVA_HOME=`/usr/libexec/java_home`" line, and comment out the
"JAVA_HOME=$JAVA_FW/Home" line. If you're still having problems, then
something may be incomplete in your Java installation.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
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