Gtk libs not built on FreeBSD 5.4
Panagiotis Astithas
past at ebs.gr
Sun Sep 11 07:41:21 PDT 2005
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
More information about the freebsd-eclipse
mailing list