From owner-freebsd-eclipse@FreeBSD.ORG Wed Nov 22 23:36:10 2006 Return-Path: X-Original-To: freebsd-eclipse@FreeBSD.org Delivered-To: freebsd-eclipse@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F9C416A407 for ; Wed, 22 Nov 2006 23:36:10 +0000 (UTC) (envelope-from dsledge@appriss.com) Received: from intexch02.int.appriss.com (intexch02.int.appriss.com [63.126.72.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ACB243D60 for ; Wed, 22 Nov 2006 23:35:38 +0000 (GMT) (envelope-from dsledge@appriss.com) Received: from [10.11.3.10] ([10.11.3.10]) by intexch02.int.appriss.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 22 Nov 2006 18:36:03 -0500 Message-ID: <4564DEDC.3060200@appriss.com> Date: Wed, 22 Nov 2006 18:35:56 -0500 From: David Sledge User-Agent: Thunderbird 1.5.0.7 (X11/20061024) MIME-Version: 1.0 To: Ralf Folkerts References: <456201E7.5030404@gmx.de> <45621DAA.40008@appriss.com> <45649F8F.3050001@gmx.de> <4564AC30.3050607@appriss.com> <4564B5CB.1000309@gmx.de> In-Reply-To: <4564B5CB.1000309@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Nov 2006 23:36:04.0001 (UTC) FILETIME=[F9A7B110:01C70E8E] Cc: freebsd-eclipse@FreeBSD.org Subject: Re: Eclipse 3.2.1 and MyEclipse 5.1 Probs. X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2006 23:36:10 -0000 Whats version of GTK and gnome libraries are you on? Ralf Folkerts wrote: > David Sledge wrote: > > Hi David, > > thanks for the Fix!! > > Just tried that on my "Packages" Laptop; however, on that the xpcom.so > is not located unter /usr/local/lib/mozilla but /usr/X11R6/lib/mozilla. > > So, I checked ftp.freebsd.org/pub/FreeBSD/ports/packages/All and > Latest... > > In All there is only a mozilla-fonts-Package... > > 150 Data connection accepted from 84.57.200.69:54162; transfer starting. > -rw-r--r-- 1 ftpuser ftpusers 459574 Sep 24 17:52 > mozilla-fonts-1.0_1.tbz > 226 Listing completed. > > In Latest is a Mozilla 1.7.13,2.. However, it's Symlink points to the > non-existent Port in ../All :-( > > 227 Entering Passive Mode (62,243,72,50,238,85) > 150 Data connection accepted from 84.57.200.69:52695; transfer starting. > lrwxr-xr-x 1 ftpuser ftpusers 30 Oct 29 01:08 > mozilla-fonts.tbz -> ../All/mozilla-fonts-1.0_1.tbz > lrwxr-xr-x 1 ftpuser ftpusers 27 Oct 29 01:08 mozilla.tbz -> > ../All/mozilla-1.7.13,2.tbz > 226 Listing completed. > > As the installed Version is mozilla-1.7.13,2 I hope I have a "Correct" > Version here; so, I changed the MOZILLA_FIVE_HOME to > /usr/X11R6/lib/mozilla. > > MOZILLA_FIVE_HOME=/usr/X11R6/lib/mozilla > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME > export MOZILLA_FIVE_HOME LD_LIBRARY_PATH > > However, when I start Eclipse and the select Window / Preferences / > General / Web Browser Eclipse crashes with > > [ralf@flounder ~]$ eclipse > /libexec/ld-elf.so.1: > /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: > Undefined symbol "NS_InitEmbedding" > > So, it seems I don't have the "correct" xpcom.so.. > > Will try your Fix on the amd64 Box tomorrow and maybe try to Install > Mozilla from a Port on my Laptop, then Compile Eclipse and give it a > try again! > > Thanks again for the Fix! > > Cheers, > _ralf_ > > >> I think I found a bug in the port eclipse.in file. I am testing it >> now with some changes. If you would like to try the change I am >> working on modify your /usr/local/bin/eclipse file with the following >> changes where I set the MOZILLA_FIVE_HOME variable. Then start >> eclipse with the changes and see if that works. >> >> MOZILLA_FIVE_HOME=/usr/local/lib/mozilla >> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME >> export MOZILLA_FIVE_HOME LD_LIBRARY_PATH >> >> >> Ralf Folkerts wrote: >>> David Sledge wrote: >>> >>> Hi David, >>> >>> thanks for your hint! I tried that (i.e. moved ~/.eclipse to >>> ~/.old_eclipse, moved ~/workspace to ~/workspace.old, deinstalled >>> eclipse and re-installed eclipse) however, I still don't get the >>> "Internal Browser". On my Laptop, where I installed eclipse from the >>> 3.2.1-Package, I get: >>> >>> !SESSION 2006-11-22 19:58:59.138 >>> ----------------------------------------------- >>> eclipse.buildId=M20060921-0945 >>> java.version=1.5.0 >>> java.vendor=Sun Microsystems Inc. >>> BootLoader constants: OS=freebsd, ARCH=x86, WS=gtk, NL=de_DE >>> Command-line arguments: -os freebsd -ws gtk -arch x86 -data >>> /home/ralf/workspace >>> >>> !ENTRY org.eclipse.ui.browser 2 0 2006-11-22 19:59:42.585 >>> !MESSAGE Internal browser is not available: No more handles >>> (java.lang.UnsatisfiedLinkError: >>> /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: >>> Shared object "libxpcom.so" not found, required by >>> "libswt-mozilla-gtk-3235.so") >>> >>> >>> On my amd64-System I compiled Eclipse from the Port with >>> WITH_MOZILLA=mozilla. When I start eclipse there I get >>> >>> !SESSION 2006-11-22 19:50:32.973 >>> ----------------------------------------------- >>> eclipse.buildId=M20060921-0945 >>> java.version=1.5.0-p3 >>> java.vendor=Sun Microsystems Inc. >>> BootLoader constants: OS=freebsd, ARCH=amd64, WS=gtk, NL=de_DE >>> Command-line arguments: -os freebsd -ws gtk -arch amd64 -data >>> /home/ralf/workspace >>> >>> !ENTRY org.eclipse.ui.browser 2 0 2006-11-22 19:50:53.688 >>> !MESSAGE Internal browser is not available: XPCOM error -2142109695 >>> >>> Now, on amd64 I'll compile again, log the Output and check for >>> Errors - however, I have no Idea re. the Laptop. I did install the >>> Mozilla-Package and "pkgdb -F" doesn't show any unresolved >>> dependencies :-( >>> >>> Do you have an Idea for the "Package" Solution? >>> >>> Cheers, >>> _ralf_ >>> >>>> Deinstall eclipse, remove the /home//.eclipse directory and >>>> reinstall eclipse. A copy of the swt libraries gets placed in that >>>> directory. To get the newly compiled swt libraries you must first >>>> remove the old ones. Hope that helps. >>>> >>>> >>>> >>>> >>>> Ralf Folkerts wrote: >>>>> Hi, >>>>> >>>>> last weekend I updated my Laptop using Packages and thus got the >>>>> new Eclipse 3.2.1 (btw: thanks to David for the Port!). Then I >>>>> installed MyEclipse 5.0, "Online Updated" ME to 5.1 and then >>>>> wanted to do some JSP-Programming. >>>>> >>>>> Unfortunately, I get an SWT Error every Time I start the JSP Editor. >>>>> >>>>> I searched thru the MyEclipse Config and disabled everything that >>>>> seemed to be "native" (i.e. the "Linux Only" Firefox in >>>>> Preview-Modes / Visual Designer). >>>>> >>>>> However, I keep getting that error :-( >>>>> >>>>> While trying to figure out the cause of the Problem I found that >>>>> in the Eclipse's Preferences "General" / "Web Browser" the "Use >>>>> internal Web Browser" RadioButton is disabled (i.e. I cannot >>>>> select it). >>>>> >>>>> The same is true on my amd64-Machine, where I upgraded Eclipse >>>>> (from 3.1.2) using the port. I have no Idea wether this is the >>>>> cause for the ME Exeptions or not, however. >>>>> >>>>> Here's a Stack Trace I get in Eclipse's Error Log whenever I try >>>>> to start the ME JSP-Editor: >>>>> >>>>> !ENTRY org.eclipse.ui 4 0 2006-11-20 20:08:22.933 >>>>> !MESSAGE No more handles (java.lang.UnsatisfiedLinkError: >>>>> /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: >>>>> Shared object "libxpcom.so" not found, required by >>>>> "libswt-mozilla-gtk-3235.so") >>>>> !STACK 0 >>>>> org.eclipse.swt.SWTError: No more handles >>>>> (java.lang.UnsatisfiedLinkError: >>>>> /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: >>>>> Shared object "libxpcom.so" not found, required by >>>>> "libswt-mozilla-gtk-3235.so") >>>>> at org.eclipse.swt.SWT.error(SWT.java:3400) >>>>> at org.eclipse.swt.SWT.error(SWT.java:3297) >>>>> at org.eclipse.swt.browser.Browser.(Browser.java:168) >>>>> at >>>>> com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPlatformPreviewPage(WebDesignerMultiPageEditor.java:334) >>>>> >>>>> at >>>>> com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:327) >>>>> >>>>> at >>>>> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505) >>>>> at >>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) >>>>> at >>>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500) >>>>> >>>>> at >>>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485) >>>>> >>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388) >>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350) >>>>> at >>>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275) >>>>> >>>>> at >>>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139) >>>>> >>>>> at >>>>> org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49) >>>>> >>>>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190) >>>>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174) >>>>> at >>>>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267) >>>>> >>>>> at >>>>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243) >>>>> >>>>> at >>>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306) >>>>> >>>>> at >>>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:653) >>>>> >>>>> at >>>>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817) >>>>> >>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) >>>>> at org.eclipse.core.runtime.Platform.run(Platform.java:843) >>>>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44) >>>>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149) >>>>> at >>>>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815) >>>>> >>>>> at >>>>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069) >>>>> >>>>> at >>>>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168) >>>>> >>>>> at >>>>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249) >>>>> >>>>> at >>>>> org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243) >>>>> at >>>>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283) >>>>> >>>>> at >>>>> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) >>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) >>>>> at >>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166) >>>>> at >>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842) >>>>> at >>>>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) >>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) >>>>> at >>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) >>>>> >>>>> at >>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) >>>>> at >>>>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) >>>>> >>>>> at >>>>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) >>>>> >>>>> at >>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) >>>>> >>>>> at >>>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) >>>>> >>>>> at >>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) >>>>> >>>>> at >>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) >>>>> >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>> at >>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>> >>>>> at >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>> >>>>> at java.lang.reflect.Method.invoke(Method.java:585) >>>>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) >>>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280) >>>>> at org.eclipse.core.launcher.Main.run(Main.java:977) >>>>> at org.eclipse.core.launcher.Main.main(Main.java:952) >>>>> Caused by: java.lang.UnsatisfiedLinkError: >>>>> /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: >>>>> Shared object "libxpcom.so" not found, required by >>>>> "libswt-mozilla-gtk-3235.so" >>>>> at java.lang.ClassLoader$NativeLibrary.load(Native Method) >>>>> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) >>>>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660) >>>>> at java.lang.Runtime.loadLibrary0(Runtime.java:822) >>>>> at java.lang.System.loadLibrary(System.java:992) >>>>> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) >>>>> at org.eclipse.swt.browser.Browser.(Browser.java:153) >>>>> ... 58 more >>>>> >>>>> >>>>> >>>>> Does anyone have an Idea / hint?? >>>>> >>>>> MTIA >>>>> Cheers, >>>>> _ralf_ >>>>> _______________________________________________ >>>>> freebsd-eclipse@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse >>>>> To unsubscribe, send any mail to >>>>> "freebsd-eclipse-unsubscribe@freebsd.org" >>> >>> > >