From owner-freebsd-eclipse@FreeBSD.ORG Sun Sep 11 14:41:21 2005 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9496316A41F for ; Sun, 11 Sep 2005 14:41:21 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97ACF43D45 for ; Sun, 11 Sep 2005 14:41:19 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j8BEfIID048104; Sun, 11 Sep 2005 17:41:18 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j8BEfJSO023121; Sun, 11 Sep 2005 17:41:20 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <43244206.9060006@ebs.gr> Date: Sun, 11 Sep 2005 17:41:10 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Panagiotis Astithas References: <43220592.6020308@ebs.gr> In-Reply-To: <43220592.6020308@ebs.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@freebsd.org, Jan-Peter Koopmann Subject: Re: Gtk libs not built on FreeBSD 5.4 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: Sun, 11 Sep 2005 14:41:21 -0000 Panagiotis Astithas wrote: > Jan-Peter Koopmann wrote: > >> Hi, >> >> me again. I think I at least found the problem for this: >> >> make install WITH_MOTIF=yes >> >> the built fails with this: >> >> [exec] ld: cannot find -ljawt [exec] gmake: *** >> [libswt-awt-motif-3138.so] Error 1 >> >> BUILD FAILED /usr/ports/java/eclipse/work/build.xml:53: exec >> returned: 2 >> >> Total time: 9 minutes 51 seconds *** Error code 1 >> >> >> The error seems to be in >> >> /usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT >> PI/motif/library/make_freebsd.mak >> >> $(MACHINE_ARCH) is empty and therefore >> >> ld -o libswt-awt-motif-3138.so swt_awt.o >> -L/usr/local/jdk1.5.0/jre/lib/ -ljawt -shared >> >> produces the error since it should look in >> /usr/local/jdk1.5.0/jre/lib/i386. Once I set MACHINE_ARCH=i386 the >> make install WITH_MOTIF=yes works. >> >> Still investigating the GTK problem though. I am creating a complete >> build.log with ant -v instead of ant -q and will send it to you. >> >> Regards, JP > > > I've been meaning to look into your report for the motif build but I > haven't found the time yet. Perhaps tomorrow. On the gtk build, are you > sure the libraries are not built? Can you verify that the contents of > org.eclipse.swt.gtk.freebsd.x86_3.1.0.jar in the plugins directory > contain no shared libraries? > > Cheers, > > Panagiotis About the motif build, can you confirm that the following patch fixes the build for you? --- Makefile.orig Sun Sep 11 17:40:38 2005 +++ Makefile Sun Sep 11 17:40:27 2005 @@ -90,6 +90,7 @@ MAKE_GNOME=${MAKE_GNOME} \ MAKE_MOZILLA=${MAKE_MOZILLA} \ MAKE_CAIRO=${MAKE_CAIRO} \ + MACHINE_ARCH=${MACHINE_ARCH} \ MOTIF_HOME=${X11_HOME} PLIST_FILES= bin/eclipse Thanks, Panagiotis