On 11/28/13 5:00 PM, ABE Hiroshi wrote:
> Dear All,
>
> I have been using fink so long time and I would say thank you for the
> project's efforts.
>
> I use fink on my PowerPC OS X 10.5.8 and was fine. Since sometime,
> weeks ago, I guess, fink showed error message regarding system-java-
> dev. I reviewed the FAQ and installed and re-installed the java stuff
> in vain.
>
> I checked the /sw/lib/perl5/Fink/VirtPacakge.pm and I found something
> would cause my problem.
>
> Around line 388, there is a routine to checking java version.
> At line 394, the off-Fink version JDK is excluded, however, it seems
> to exclude all installed JDK.
>
> The Fink::FinkVersion::get_arch() returns "powerpc" in my env. And
> the /usr/libexec/java_home returns:
>
> 1.5.0_19 (ppc): /System/Library/Frameworks/JavaVM.framework/
> Versions/1.5.0/Home
> 1.4.2_21 (ppc): /System/Library/Frameworks/JavaVM.framework/
> Versions/1.4.2/Home
>
> So I guess it missed JDK because the output only includes "ppc", not
> "powerpc".
>
> Could you tell me your opinion on this?
>
> I use Fink version 0.34.9. and
>
> % java -version
> java version "1.5.0_19"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-
> b02-304)
> Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)
>
> Thank you in advance.
>
> ABE Hiroshi
> from Tokorozawa, JAPAN
>
>
10.5 isn't supported any more, and my own PowerPC machine doesn't have
network access right now, so it's going to be difficult for me to test
anything for that platform.
Try editing /sw/lib/perl5/Fink/VirtPackage.pm as a superuser and
add a line after line 392, so that instead of
my $arch = Fink::FinkVersion::get_arch();
foreach (@jdktest) {
you will have
my $arch = Fink::FinkVersion::get_arch();
$arch = "ppc" if $arch eq "powerpc";
foreach (@jdktest) {
Then see if the system-java package is present after you do that. If
that works then we can put out a bug-fix 0.34.10 release.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
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