Date: Wed, 08 Feb 2006 21:24:59 +0100 From: Ralf Folkerts <ralf.folkerts@gmx.de> To: Panagiotis Astithas <past@ebs.gr> Cc: Freebsd-eclipse@freebsd.org Subject: Re: Eclipse / amd64 / libswt-mozilla-gtk-3139.so Message-ID: <1139430299.44809.5.camel@beaster> In-Reply-To: <43E8FD33.8090003@ebs.gr> References: <1139340673.883.29.camel@beaster> <43E8FD33.8090003@ebs.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-lDV4fbA5n6mvFPINHtTE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am Dienstag, den 07.02.2006, 22:04 +0200 schrieb Panagiotis Astithas: Hi Panagiotis, > Ralf Folkerts wrote: > > Hi, > >=20 > > 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. > >=20 > > However, when I go into Window / Preferences / General / Web Browser or > > Window / Preferences / Help I get an error: > >=20 > > [bash]beaster:~$eclipse > > /libexec/ld-elf.so.1: /home/ralf/.eclipse/org.eclipse.platform_3.1.1/co= nfiguration/org.eclipse.osgi/bundles/24/1/.cp/libswt-mozilla-gtk-3139.so: U= ndefined 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): > >=20 > > [bash]beaster:~$unzip > > -l /usr/local/eclipse/plugins/org.eclipse.swt.gtk.freebsd.amd64_3.1.1.j= ar | 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 > >=20 > > I use Firefox instead of Mozilla > >=20 > > [bash]beaster:~$grep MOZILLA /etc/make.conf > > WITH_MOZILLA=3Dfirefox > >=20 > > When I get into=20 > > /home/ralf/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclips= e.osgi/bundles/24/1/.cp and run ldd ./libswt-mozilla-gtk-3139.so I get > >=20 > > [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) > >=20 > >=20 > > I searched for libxpcom.so and found /usr/X11R6/lib/firefox/libxpcom.so= ; > > same for libgtkembedmoz.so /usr/X11R6/lib/firefox/libgtkembedmoz.so. > >=20 > > 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 :-( > >=20 > > The Eclipse-Log in workspace/.metadata/.log doesn't contain any Info re= . > > this error: > >=20 > > !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 > >=20 > > !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. > >=20 > > !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 resource= s > > plug-in > > will safely fall back to using java.io.File functionality. > >=20 > > I also checked PR 91305; however, it seems that in that case the > > libswt-mozilla* was not built at all.. > >=20 > > Does anyone have a hint?? >=20 >=20 > If you rebuilt eclipse against firefox 1.5, then all I can say for the=20 > moment is that I see similar behavior, too. My temporary workaround is=20 > to build eclipse without any WITH_MOZILLA settings, so that it is built=20 > against the mozilla headers. You do have to have mozilla installed=20 > though, in addition to firefox. just to confirm your recommendation works well here: Update of Eclipse to 3.1.2 didn't cure the Problem; however, installing Mozilla and then recompile Eclipse (after removing the "with_mozilla=3Dfireofx" from /etc/make.conf) -- just as you requested -- helped. Eclipse works fine (well, seems to ;-)). I can select the Help and Bowser-Items in the Preferences and also open Mozilla using Eclipse's Help-Men=FC. So, thanks again for your hint! Cheers, _ralf_ --=-lDV4fbA5n6mvFPINHtTE 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) iD8DBQBD6lObY2jmDrUy5RMRAi7XAJ9ZZuA40bS64YVUxwyHf5NKnAIgOgCaAg2O fbzLBYRrm0COg4uEv5DmjDY= =owh2 -----END PGP SIGNATURE----- --=-lDV4fbA5n6mvFPINHtTE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139430299.44809.5.camel>