FreeBSD Port: eclipse-3.1_2 (missing library `swt-mozilla-gtk'?)

Panagiotis Astithas past at
Wed Sep 21 23:53:30 PDT 2005

Eric Eide wrote:
> "Panagiotis" == Panagiotis Astithas <past at> writes:
> 	>> Unhandled event loop exception
> 	>> Reason:
> 	>> No more handles (java.lang.UnsatisfiedLinkError: no
> 	>> swt-mozilla-gtk-3138 in java.library.path)
> 	Panagiotis> Did you build the port with WITHOUT_MOZILLA defined? That
> 	Panagiotis> could explain it.
> I passed your question along to the person who actually installed the Eclipse
> 3.1_2 port at my site, and he replied:
> 	"I didn't enable this specifically, and it isn't in /etc/make.conf, so
> 	this must not be the issue.  Maybe we NEED to define WITHOUT_MOZILLA
> 	(?)."
> Eric.

If you define WITHOUT_MOZILLA you get no dependency on mozilla/firefox 
and you have no internal browser swt widget. If you have firefox 
installed, you could define WITH_MOZILLA=firefox and build eclipse. This 
should create the library. The default build 
expects to find mozilla installed and if not, it installs it for you.

Another thought came to me though, how do you start eclipse? You are 
supposed to use /usr/local/bin/eclipse, not /usr/local/eclipse/eclipse.



More information about the freebsd-ports mailing list