From owner-freebsd-eclipse@FreeBSD.ORG Mon Feb 4 14:11:20 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 24386CD0 for ; Mon, 4 Feb 2013 14:11:20 +0000 (UTC) (envelope-from jimmy.kelley@charter.net) Received: from que11.charter.net (que11.charter.net [209.225.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 91BA91DC7 for ; Mon, 4 Feb 2013 14:11:19 +0000 (UTC) Received: from imp11 ([10.20.200.11]) by mta11.charter.net (InterMail vM.8.01.05.09 201-2260-151-124-20120717) with ESMTP id <20130204133717.GDRZ6169.mta11.charter.net@imp11>; Mon, 4 Feb 2013 08:37:17 -0500 Received: from jmobile.jimmy.local ([71.81.192.198]) by imp11 with smtp.charter.net id wDdF1k00N4HHTun05DdGuq; Mon, 04 Feb 2013 08:37:17 -0500 X-Authority-Analysis: v=2.0 cv=dIr+A5lb c=1 sm=1 a=3ZRvoQB93mDEZ4s3ZitZXA==:17 a=z1TLwsU0kBEA:10 a=Z8PO17S-kD0A:10 a=yUnIBFQkZM0A:10 a=kj9zAlcOel0A:10 a=hOpmn2quAAAA:8 a=ki4WY92mVSEA:10 a=6I5d2MoRAAAA:8 a=gBhg6Oa2F-v5DkNKkFMA:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=3ZRvoQB93mDEZ4s3ZitZXA==:117 Received: by jmobile.jimmy.local (sSMTP sendmail emulation); Mon, 04 Feb 2013 07:37:15 -0600 Date: Mon, 4 Feb 2013 07:37:15 -0600 From: Jimmy To: lm7@poczta.fm, freebsd-eclipse@FreeBSD.org Subject: Re: How to make running java/devel-eclipse environment on FreeBSD 9? Message-ID: <20130204133715.GA6807@jmobile.jimmy.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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 14:11:20 -0000 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"