| Summary: | dev-java/swt-3.4-r1: fails with "libjawt.so not found in the JDK being used for compilation!" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Greg Trigg <trigggl> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | gnu_andrew |
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | PPC64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Greg Trigg
2008-09-08 20:48:58 UTC
For reference, I did manage to emerge dev-java/swt-3.3.1.1 after modifying the ebuild to include ppc64 keyword and necessary script. However when I try to use the necessary 'firefox' USE flag for azureus, it fails to build gecko support. I managed to edit the ebuild for swt/swt-3.4-r1 so that it would successfully merge. I don't know how to make a patch file, so I'll just post my changes.
For the following:
ppc64? (
http://${MY_DMF}/${MY_P}-gtk-linux-x86_64.zip
)"
I changed to:
ppc64? (
http://${MY_DMF}/${MY_P}-gtk-linux-ppc.zip
)"
For the following:
local AWT_ARCH
local JAWTSO="libjawt.so"
if [[ $(tc-arch) == 'x86' ]] ; then
AWT_ARCH="i386"
elif [[ $(tc-arch) == 'ppc' ]] ; then
AWT_ARCH="ppc"
elif [[ $(tc-arch) == 'ppc64' ]] ; then
AWT_ARCH="ppc"
I changed to:
local AWT_ARCH
local JAWTSO="libjawt.so"
if [[ $(tc-arch) == 'x86' ]] ; then
AWT_ARCH="i386"
elif [[ $(tc-arch) == 'ppc' ]] ; then
AWT_ARCH="ppc"
elif [[ $(tc-arch) == 'ppc64' ]] ; then
AWT_ARCH="ppc64"
That's all I did.
OK, I found bug 222971 which added support for ppc64. After studying it, I returned the Ebuild to its original text with one exception that I think needs to be made to the patch listed on 222971. I believe + elif [[ $(tc-arch) == 'ppc64' ]] ; then + AWT_ARCH="ppc" should be replaced by + elif [[ $(tc-arch) == 'ppc64' ]] ; then + AWT_ARCH="ppc64" This worked for me and even built with xulrunner support successfully. Fixed in swt-3.4-r2 in CVS, thanks. |