Date: Tue, 07 Feb 2006 20:31:13 +0100 From: Ralf Folkerts <ralf.folkerts@gmx.de> To: Freebsd-eclipse@freebsd.org Subject: Eclipse / amd64 / libswt-mozilla-gtk-3139.so Message-ID: <1139340673.883.29.camel@beaster>
next in thread | raw e-mail | index | archive | help
--=-fzvFbXmxPNLrNz5ffOJ+
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi,
after some struggling and several portupgrade -fau's I got Eclipse to
run somewhat well on my FBSD 6-STABLE / amd64 System (used to crash
immediately after Start, when trying to rebuild a Workspace and finally
when trying to checkout a medium-sized Project from CVS after I moved
from i386 to amd64). Please note that after the rebuilds I used to rm -r
~/.eclipse.
However, when I go into Window / Preferences / General / Web Browser or
Window / Preferences / Help I get an error:
[bash]beaster:~$eclipse
/libexec/ld-elf.so.1: /home/ralf/.eclipse/org.eclipse.platform_3.1.1/config=
uration/org.eclipse.osgi/bundles/24/1/.cp/libswt-mozilla-gtk-3139.so: Undef=
ined symbol "NS_InitEmbedding"
=20
and Eclipse dies. I found a Thread re. a similar problem on this List
and Panagiotis asked some questions re. the Configuration. For me the
answers are (replaced the x86 with amd64):
[bash]beaster:~$unzip
-l /usr/local/eclipse/plugins/org.eclipse.swt.gtk.freebsd.amd64_3.1.1.jar |=
grep lib
29144 02-07-06 19:42 libswt-atk-gtk-3139.so
5056 02-07-06 19:42 libswt-awt-gtk-3139.so
15728 02-07-06 19:42 libswt-gnome-gtk-3139.so
266024 02-07-06 19:42 libswt-gtk-3139.so
51792 02-07-06 19:42 libswt-mozilla-gtk-3139.so
356120 02-07-06 19:42 libswt-pi-gtk-3139.so
I use Firefox instead of Mozilla
[bash]beaster:~$grep MOZILLA /etc/make.conf
WITH_MOZILLA=3Dfirefox
When I get into=20
/home/ralf/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.os=
gi/bundles/24/1/.cp and run ldd ./libswt-mozilla-gtk-3139.so I get
[bash]beaster:.cp$ldd ./libswt-mozilla-gtk-3139.so
./libswt-mozilla-gtk-3139.so:
libxpcom.so =3D> not found (0x0)
libnspr4.so.1 =3D> /usr/local/lib/libnspr4.so.1 (0x80093f000)
libplds4.so.1 =3D> /usr/local/lib/libplds4.so.1 (0x800a7b000)
libplc4.so.1 =3D> /usr/local/lib/libplc4.so.1 (0x800bac000)
libgtkembedmoz.so =3D> not found (0x0)
libstdc++.so.5 =3D> /usr/lib/libstdc++.so.5 (0x800cdf000)
libm.so.4 =3D> /lib/libm.so.4 (0x800edd000)
I searched for libxpcom.so and found /usr/X11R6/lib/firefox/libxpcom.so;
same for libgtkembedmoz.so /usr/X11R6/lib/firefox/libgtkembedmoz.so.
I also ran portupgrade -f eclipse > eclipse_build.log 2>&1. However,
when I searched it for "libswt" it didn't find a match at all :-(
The Eclipse-Log in workspace/.metadata/.log doesn't contain any Info re.
this error:
!SESSION 2006-02-07 20:14:56.507
-----------------------------------------------
eclipse.buildId=3DM20050929-0840
java.version=3D1.5.0-p2
java.vendor=3DSun Microsystems Inc.
BootLoader constants: OS=3Dfreebsd, ARCH=3Damd64, WS=3Dgtk, NL=3Dde_DE
Command-line arguments: -os freebsd -ws gtk -arch amd64
!ENTRY org.eclipse.core.resources 2 10035 2006-02-07 20:15:03.909
!MESSAGE A workspace crash was detected. The previous session did not
exit norma
lly.
!ENTRY org.eclipse.core.resources 1 1 2006-02-07 20:15:04.414
!MESSAGE Could not load library: libcore_3_1_0.so. This library
provides platfo
rm-specific optimizations for certain file system operations. This
library is n
ot present on all platforms, so this may not be an error. The resources
plug-in
will safely fall back to using java.io.File functionality.
I also checked PR 91305; however, it seems that in that case the
libswt-mozilla* was not built at all..
Does anyone have a hint??
Many thanks in adavce!
Cheers,
_ralf_
--=-fzvFbXmxPNLrNz5ffOJ+
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQBD6PWBY2jmDrUy5RMRArblAJ0f2Eu6FQYYvusz69+A4mJ563IGPgCfXdyF
dFF75oIBtFTLAVNCsDwNR2o=
=Sk+U
-----END PGP SIGNATURE-----
--=-fzvFbXmxPNLrNz5ffOJ+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139340673.883.29.camel>
