From owner-freebsd-eclipse@FreeBSD.ORG Thu Feb 14 23:28:18 2013 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6CBE79A4 for ; Thu, 14 Feb 2013 23:28:18 +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 EDF7F346 for ; Thu, 14 Feb 2013 23:28:17 +0000 (UTC) Date: Fri, 15 Feb 2013 00:12:48 +0100 From: lm7@poczta.fm Subject: Re: How to make running java/devel-eclipse environment on FreeBSD 9? To: Jimmy X-Mailer: interia.pl/pf09 In-Reply-To: <20130204133715.GA6807@jmobile.jimmy.local> References: <20130204133715.GA6807@jmobile.jimmy.local> X-Originating-IP: 88.78.76.58 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1360883569; bh=tA+DU0ydfT821Y4/MbWCtQj+Q5zt8c8oiUgA8sI5iIA=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: X-Originating-IP:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding; b=LxymMpKmE+U/rwQu23cHJJP7q2+/0rYgGQJWDGLHmsDMFr9wQvP9e+SiRY0hwSmH/ mA5RgX3IIQIsonU5cYbRBiTGlldtGZm7YWn8GpxhJBkcaY1YUrnlr9NwtLYSd5Yv/p fU5BnK4qqJiiwnX5jBzIadY8pH6oh6kWPmj094Ac= Cc: freebsd-eclipse@FreeBSD.org 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: Thu, 14 Feb 2013 23:28:18 -0000 Hi Jimmy, I just applied your patch on eclipse-devel and it starts now correctly. Gre= at! PS I am not familiar with the process regarding how/when your PR will enter o= fficial ports - can I help here somehow? Can I 'vote' for it somewhere or s= omething like that? Or, should I just wait? Thank you very much, Marek Od: "Jimmy" Do: lm7@poczta.fm; freebsd-eclipse@FreeBSD.org;=20 Wys=C5=82ane: 14:37 Poniedzia=C5=82ek 2013-02-04 Temat: Re: How to make running java/devel-eclipse environment on FreeBSD 9? > I have found that libxul (libxul 10) doesn't work for building the SWT li= braries of the eclipse ports since that > distribution no longer includes the JavaXPCOM code needed for the SWT bro= wser functions. The eclipse ports will > "successfully" build, but as you notice some parts are missing; the buil= d_xxxxxx.log files down in the work area > will show you the errors that occured. >=20 > I've submitted PRs with patches attached to switch the eclipse and eclips= e-devel ports from using libxul to using webkit-gtk2 for the > SWT browser stuff, and it works great for me.=20 >=20 > eclipse port: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D174846&= cat=3D > eclipse-devel port: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D175826= &cat=3D >=20 > Hopefully this will get things working for you. >=20 > Jimmy >=20 > On Fri, Feb 01, 2013 at 03:09:13PM +0100, lm7@poczta.fm wrote: > >=20 > > Hi, > >=20 > > Initially eclipse refused even to compile. I googled out that the probl= em might be that eclipse requires libxul19 and the "trick" was to adjust it= s Make file from: > >=20 > > USE_GECKO=3D libxul19 > > To: > > USE_GECKO=3D libxul libxul19 > >=20 > > Now, it compiles but it refuses to start complaining with: > >=20 > > java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:=20 > > 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-gt= k-4233.so > > Can't load library: /home/lm7/.swt/lib/FreeBSD/x86_64/libswt-gt= k.so > >=20 > > These libs are of course not available on my system - at all. I guess, = they come exclusively with libxul19 (or something else).=20 > > I can try maybe downgrade to force libxul19 but due to known security i= ssues I prefer to keep this version away from my machine. > >=20 > > I tried also to compile libxul with more options enabled, without luck = (just shot in the dark with GCONF,GNOMEUI, GNOMEVFS2). > >=20 > > Could somebody advice me please what can I do in this situation to make= eclipse working? Is there other package installing libswt libraries? > >=20 > > PS > > I am on 9.1-RELEASE #4 r245019 with ports tree around 1 week old. > >=20 > > PS2 > > I am not on freebsd-eclipse mailing list so I'd appreciate reply-all. > >=20 > > 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.o= rg" >=20