Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66260

Summary: teapop's java support checking will fail on non-x86 arches
Product: Gentoo Linux Reporter: Jason Wever (RETIRED) <weeve>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Wever (RETIRED) gentoo-dev 2004-10-03 16:01:56 UTC
Due to the way teapop's configure script checks for java, it will always fail on non-x86 arches.  In looking for libjvm.so, it tests for the presence of the file in semi-hardcoded paths with i386 in them (i.e. $java/jre/lib/i386/server/libjvm.so)

Right now I'm seeing two ways to handle this (but obviosuly it is up to you folks);

1) Disable java for non-x86 until upstream gets it's testing paths fixed
2) Add in additional checks for where libjvm.so would live for other arches
Comment 1 Jason Wever (RETIRED) gentoo-dev 2004-11-14 09:11:44 UTC
Anyone alive over in net-mail to comment on this?
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2004-11-14 14:15:48 UTC
I'd say let arches supply their java paths and we can then alter the configure script to include those. Anyone, objections?
Comment 3 Malcolm Lashley (RETIRED) gentoo-dev 2005-02-22 04:48:17 UTC
commodore64 opt # slocate libjvm.so
/opt/blackdown-jdk-1.4.2.01/jre/lib/amd64/server/libjvm.so

I think if you substitute i386 for amd64 you should be good for amd64. Blackdown is the only currenly unmasked jre/jdk on amd64.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2005-06-19 15:52:38 UTC
On SPARC, our libjvm is at either;

/opt/blackdown-jdk-1.4.1/jre/lib/sparc/server/libjvm.so
/opt/blackdown-jdk-1.4.1/jre/lib/sparc/client/libjvm.so

or

/opt/blackdown-jre-1.4.1/jre/lib/sparc/server/libjvm.so
/opt/blackdown-jre-1.4.1/jre/lib/sparc/client/libjvm.so

depending on whether the jre or jdk is installed.
Comment 5 Jason Wever (RETIRED) gentoo-dev 2006-04-15 15:06:37 UTC
As in 2006.0 SPARC no longer has java support, removing CC
Comment 6 Eray Aslan gentoo-dev 2011-05-06 20:08:05 UTC
Please reopen if this is still relevant.