The ebuild for eclipse-sdk-3.1-r1 has a USE flag for firefox and mozilla. If you set the mozilla USE flag and have firefox installed, eclipse is compiled against the firefox libs. If you don't have mozilla installed, but firefox, no support for gecko internal bwoser is built at all. I don't want to install mozilla, only to have gecko as a browser widget in eclipse, when I have firefox already installed. Reproducible: Always Steps to Reproduce: 1.USE="-mozilla firefox" emerge eclipse-sdk 2.start eclipse 3.Menu Window/Show View/Other/Basic/Internal Web Browser Actual Results: No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3138 in java.library.path) org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3138 in java.library.path) Expected Results: Show the embedded firefox browser widget
Same problem here, except I don't get the effect: "If you set the mozilla USE flag and have firefox installed, eclipse is compiled against the firefox libs." I would be happy, if it would be like that - I found no solution for compiling it with Firefox. I'm runnin' on amd64 and have both firefoxes 32/64bit installed.
Created attachment 66349 [details, diff] compile eclipse with firefox - some include still seems not correct It compiles nicely, but when running Eclipse the internal browser doesn't work. In the eclipse-error message again the wrong include-path is shown.
(In reply to comment #2) > Created an attachment (id=66349) [edit] > compile eclipse with firefox - some include still seems not correct > > It compiles nicely, but when running Eclipse the internal browser doesn't work. > In the eclipse-error message again the wrong include-path is shown. Sorry, I never used the Attachments before - didn't know how that looks.. so I'll continue here: In the patch I changed the path from /usr/lib/MozillaFirefox to /usr/lib/mozilla-firefox - in which on my system libgtkembedmoz.so is located. So it gets found and Eclipse compiles - Never the less in Eclipse the error message shows: No more handles [NS_InitEmbedding /usr/lib64/MozillaFirefox error -2147221164] org.eclipse.swt.SWTError: No more handles [NS_InitEmbedding /usr/lib64/MozillaFirefox error -2147221164]
# export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox/ # eclipse-3.1 does the trick - but it runs frickin' unstable... :( I hope, that some package-maintainers can use that information.
(In reply to comment #0) > The ebuild for eclipse-sdk-3.1-r1 has a USE flag for firefox and mozilla. Not any more, for almost one year. Closing.