Gtk libs not built on FreeBSD 5.4
Jan-Peter Koopmann
Jan-Peter.Koopmann at seceidos.de
Mon Sep 5 02:57:35 PDT 2005
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
More information about the freebsd-eclipse
mailing list