Date: Sun, 11 Sep 2005 17:41:10 +0300 From: Panagiotis Astithas <past@ebs.gr> To: Panagiotis Astithas <past@ebs.gr> Cc: freebsd-eclipse@freebsd.org, Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de> Subject: Re: Gtk libs not built on FreeBSD 5.4 Message-ID: <43244206.9060006@ebs.gr> In-Reply-To: <43220592.6020308@ebs.gr> References: <AEF86EFA5497434190F6D57E2666EA7A2CD8E2@ERWIN.intern.seceidos.de> <43220592.6020308@ebs.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43244206.9060006>