From owner-freebsd-eclipse@FreeBSD.ORG Mon Feb 4 16:23:49 2013 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C36543EF for ; Mon, 4 Feb 2013 16:23:49 +0000 (UTC) (envelope-from lm7@poczta.fm) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.207]) by mx1.freebsd.org (Postfix) with ESMTP id 658E7763 for ; Mon, 4 Feb 2013 16:23:49 +0000 (UTC) Received: from localhost (dslb-188-109-112-011.pools.arcor-ip.net [188.109.112.11]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by www.poczta.fm (INTERIA.PL) with ESMTPSA; Mon, 4 Feb 2013 17:23:39 +0100 (CET) User-Agent: K-9 Mail for Android In-Reply-To: <20130204133715.GA6807@jmobile.jimmy.local> References: <20130204133715.GA6807@jmobile.jimmy.local> MIME-Version: 1.0 Subject: Re: How to make running java/devel-eclipse environment on FreeBSD 9? From: Marek Date: Mon, 04 Feb 2013 17:22:00 +0100 To: Jimmy ,freebsd-eclipse@FreeBSD.org Message-ID: <9cca34bb-665f-4e69-9418-35c5281d64ce@email.android.com> X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1359995021; bh=iMB9yEiYCvucsBGX8vx+oReoKiGWGNIwqHKAAWUrm5k=; h=Received:User-Agent:In-Reply-To:References:MIME-Version: Content-Type:Subject:From:Date:To:CC:Message-ID: X-Interia-Antivirus; b=t88Ieb7rBJLDvMcguSgIQZ6Anu1ent3gsMLAW6xWKFmhWSMlGL7gCkytUdboBi7DA nQgbRR3cIAReaTLEJZtX+nJ0Boxe0rM7NtlfEszNnqjV0gXDzb9xf8StJV9SKs2dFX bBgbo2CqbmlZwwsayHKkrpz6oyRqFpdf8iszAtnk= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "lm7@poczta.fm" X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 04 Feb 2013 16:23:49 -0000 Thank you very much. I will try your patches. BTW, just for the record - I continued hunting in the mean time for solution and spotted that other java-based programms can be affected as well (in my case it was tuxguitar - enabling "help" in it leads to this issue as well). Marek Jimmy wrote: >I have found that libxul (libxul 10) doesn't work for building the SWT >libraries of the eclipse ports since that >distribution no longer includes the JavaXPCOM code needed for the SWT >browser functions. The eclipse ports will >"successfully" build, but as you notice some parts are missing; the >build_xxxxxx.log files down in the work area >will show you the errors that occured. > >I've submitted PRs with patches attached to switch the eclipse and >eclipse-devel ports from using libxul to using webkit-gtk2 for the >SWT browser stuff, and it works great for me. > >eclipse port: > http://www.freebsd.org/cgi/query-pr.cgi?pr=174846&cat= >eclipse-devel >port: http://www.freebsd.org/cgi/query-pr.cgi?pr=175826&cat= > >Hopefully this will get things working for you. > >Jimmy > >On Fri, Feb 01, 2013 at 03:09:13PM +0100, lm7@poczta.fm wrote: >> >> Hi, >> >> Initially eclipse refused even to compile. I googled out that the >problem might be that eclipse requires libxul19 and the "trick" was to >adjust its Make file from: >> >> USE_GECKO= libxul19 >> To: >> USE_GECKO= libxul libxul19 >> >> Now, it compiles but it refuses to start complaining with: >> >> java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: >> no swt-gtk-4233 in java.library.path >> no swt-gtk in java.library.path >> Can't load library: >/home/lm7/.swt/lib/FreeBSD/x86_64/libswt-gtk-4233.so >> Can't load library: >/home/lm7/.swt/lib/FreeBSD/x86_64/libswt-gtk.so >> >> These libs are of course not available on my system - at all. I >guess, they come exclusively with libxul19 (or something else). >> I can try maybe downgrade to force libxul19 but due to known security >issues I prefer to keep this version away from my machine. >> >> I tried also to compile libxul with more options enabled, without >luck (just shot in the dark with GCONF,GNOMEUI, GNOMEVFS2). >> >> Could somebody advice me please what can I do in this situation to >make eclipse working? Is there other package installing libswt >libraries? >> >> PS >> I am on 9.1-RELEASE #4 r245019 with ports tree around 1 week old. >> >> PS2 >> I am not on freebsd-eclipse mailing list so I'd appreciate reply-all. >> >> Thank you in advance, >> Marek >> _______________________________________________ >> 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"