On 11/29/13 7:02 PM, ABE Hiroshi wrote:
> Dear Dr. Hansen and Finkers,
>
> On 2013/11/30, at 4:48, Alexander Hansen wrote:
> [snip]
>> If you change the line with
>>
>> my ($ver,$javadir) = m|(\d.*),.*\s(/.*)$|; #extract version and
>> directory info
>>
>> to
>>
>> my ($ver,$javadir) = m|(\d.*):.*\s(/.*)$|; #extract version and
>> directory info
>>
>> do you get the system-java packages?
>>
>
> My problem is now clear by patching the /sw/lib/perl5/Fink/
> VirtPackage.pm as Dr.Hansen mentioned:
>
>       my $arch = Fink::FinkVersion::get_arch();
>       $arch = "ppc" if $arch eq "powerpc";
>       foreach (@jdktest) {
>               next unless /$arch/; #exclude off-Fink-architecture JDK's
>               my ($ver,$javadir) = m|(\d.*):.*\s(/.*)$|; #extract version and
> directory info
>               # However, we'll have to switch the directory for JDK 1.6 and 
> earlier.
>
> The command
>    %> fink list java
> gives now
>    i   system-java        1.6.0-1    [virtual package representing Java
> 1.6.0]
>    i   system-java-dev        1.6.0-1    [virtual package representing Java
> SDK 1.6.0]
>
> Everything works fine now for me. Actually I could installed
> 'ghostscript'. Thank you so much.
>
> I removed all the updates for Java and re-install the original Java
> and then updated to 10.5 Update 4. I thought the error came from the
> new Apple's updater (Update 8 from FAQ). But as I know you installed
> the latest update (Update 10) without any problem, I can install the
> updater safely.
>
> Best,
> ABE Hiroshi
>    from Tokorozawa, JAPAN
>
>

I just released fink-0.34.10, which should properly handle Java 
detection for powerpc machines, even for older Java releases.


-- 
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
Fink-users@lists.sourceforge.net
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