Gtk libs not built on FreeBSD 5.4

Panagiotis Astithas past at ebs.gr
Fri Sep 9 14:59:06 PDT 2005


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


More information about the freebsd-eclipse mailing list