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

Bug 145184

Summary: dev-java/swt-3.2 won't build against firefox
Product: Gentoo Linux Reporter: Vladimir Pouzanov <farcaller>
Component: New packagesAssignee: Saleem Abdulrasool (RETIRED) <compnerd>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vladimir Pouzanov 2006-08-26 07:43:47 UTC
I've tried to emerge dev-java/swt-3.2 using firefox instead of seamonkey as SWT Browser backend. However www-client/mozilla-firefox-1.5.0.6 seems to be built without linkable Gecko libs.
From http://www.eclipse.org/swt/faq.php#browserlinux:
Firefox can be used with SWT 3.1 (Linux only), provided that it has been compiled with linkable Gecko libraries. It is important to note that Firefox downloads from mozilla.org currently do not satisfy this criteria, but Firefox installations that are included in major Linux distributions typically do. Attempting to use a statically-linked Firefox install will display the error message "No more handles [NS_InitEmbedding...error -2147221164]".

I get such an error:
Exception in thread "main" org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: /usr/lib/libswt-mozilla-gtk-3232.so: /usr/lib/libswt-mozilla-gtk-3232.so: undefined symbol: _ZN4nsID5ParseEPKc)

Is it possible to add required support to firefox ebuild?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-26 07:51:53 UTC
Looking at the changelog, it's plain broken and firefox support been dropped intentionally. So, the answer here is probably no.
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-08-27 11:33:59 UTC
SWT cannot be built against firefox, sorry.