atom feed5 messages in org.freebsd.freebsd-portsFreeBSD Port: eclipse-3.1_2 (missing ...
FromSent OnAttachments
Eric EideSep 21, 2005 8:12 am 
Panagiotis AstithasSep 21, 2005 2:31 pm 
Eric EideSep 21, 2005 2:50 pm 
Panagiotis AstithasSep 21, 2005 11:53 pm 
Eric EideSep 22, 2005 6:55 am 
Subject:FreeBSD Port: eclipse-3.1_2 (missing library `swt-mozilla-gtk'?)
From:Panagiotis Astithas (pa@ebs.gr)
Date:Sep 21, 2005 11:53:13 pm
List:org.freebsd.freebsd-ports

Eric Eide wrote:

"Panagiotis" == Panagiotis Astithas <pa@ebs.gr> 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 (?)."

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 libswt-mozilla-gtk-3139.so 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.

Cheers,

Panagiotis