eclipse doesn't build?
Ralf Folkerts
ralf.folkerts at gmx.de
Sun Apr 17 11:56:02 PDT 2005
On Thu, 2005-04-14 at 06:28 -0700, Mike Harding wrote:
Hi Mike,
> Eclipse doesn't build right now, these seems to be gnome related...
>
> Script started on Thu Apr 14 06:23:31 2005
> bsd# make
> ===> Vulnerability check disabled, database not found
> ===> Extracting for eclipse-3.0.1_4
> => Checksum OK for eclipse/eclipse-sourceBuild-srcIncluded-3.0.1.zip.
> ===> eclipse-3.0.1_4 depends on executable: unzip - found
> ===> Patching for eclipse-3.0.1_4
> ===> Applying FreeBSD patches for eclipse-3.0.1_4
> ===> eclipse-3.0.1_4 depends on executable: ant - found
> ===> eclipse-3.0.1_4 depends on executable: zip - found
> ===> eclipse-3.0.1_4 depends on executable: unzip - found
> ===> eclipse-3.0.1_4 depends on executable: mozilla - found
> ===> eclipse-3.0.1_4 depends on file: /usr/local/jdk1.4.2/bin/java - found
> ===> eclipse-3.0.1_4 depends on executable: gmake - found
> ===> eclipse-3.0.1_4 depends on file: /usr/local/bin/intltool-extract - found
> ===> eclipse-3.0.1_4 depends on file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
> ===> eclipse-3.0.1_4 depends on executable: pkg-config - found
> ===> eclipse-3.0.1_4 depends on shared library: esd.2 - found
> ===> eclipse-3.0.1_4 depends on shared library: atk-1.0.901 - found
> ===> eclipse-3.0.1_4 depends on shared library: gconf-2.5 - found
> ===> eclipse-3.0.1_4 depends on shared library: glib-2.0.600 - found
> ===> eclipse-3.0.1_4 depends on shared library: gnomevfs-2.1000 - found
> ===> eclipse-3.0.1_4 depends on shared library: gtk-x11-2.0.600 - found
> ===> eclipse-3.0.1_4 depends on shared library: art_lgpl_2.5 - found
> ===> eclipse-3.0.1_4 depends on shared library: bonobo-2.0 - found
> ===> eclipse-3.0.1_4 depends on shared library: bonoboui-2.0 - found
> ===> eclipse-3.0.1_4 depends on shared library: glade-2.0.0 - found
> ===> eclipse-3.0.1_4 depends on shared library: gnome-2.1000 - found
> ===> eclipse-3.0.1_4 depends on shared library: gnomecanvas-2.1000 - found
> ===> eclipse-3.0.1_4 depends on shared library: gnomeui-2.1000 - found
> ===> eclipse-3.0.1_4 depends on shared library: IDL-2.0 - found
> ===> eclipse-3.0.1_4 depends on shared library: xml2.5 - found
> ===> eclipse-3.0.1_4 depends on shared library: xslt.2 - found
> ===> eclipse-3.0.1_4 depends on shared library: linc.1 - found
> ===> eclipse-3.0.1_4 depends on shared library: ORBit-2.0 - found
> ===> eclipse-3.0.1_4 depends on shared library: pango-1.0.800 - found
> ===> Configuring for eclipse-3.0.1_4
> Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_freebsd.properties
> Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_linux_gtk.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts_freebsd_gtk.properties
> Copying plugins/platform-launcher/library/motif/make_linux.mak into plugins/platform-launcher/library/motif/make_freebsd.mak
> Copying assemble.org.eclipse.sdk.linux.motif.x86.xml into assemble.org.eclipse.sdk.freebsd.motif.x86.xml
> Copying assemble.org.eclipse.sdk.linux.gtk.x86.xml into assemble.org.eclipse.sdk.freebsd.gtk.x86.xml
> Copying plugins/org.eclipse.pde.source.linux.gtk.x86 into plugins/org.eclipse.pde.source.freebsd.gtk.x86
> Copying plugins/org.eclipse.pde.source.linux.motif.x86 into plugins/org.eclipse.pde.source.freebsd.motif.x86
> Copying plugins/org.eclipse.platform.source.linux.motif.x86 into plugins/org.eclipse.platform.source.freebsd.motif.x86
> Copying plugins/org.eclipse.swt.motif/os/linux into plugins/org.eclipse.swt.motif/os/freebsd
> Copying plugins/org.eclipse.jdt.source.linux.motif.x86 into plugins/org.eclipse.jdt.source.freebsd.motif.x86
> Copying plugins/org.eclipse.platform.source.linux.gtk.x86 into plugins/org.eclipse.platform.source.freebsd.gtk.x86
> Copying plugins/org.eclipse.jdt.source.linux.gtk.x86 into plugins/org.eclipse.jdt.source.freebsd.gtk.x86
> Copying plugins/org.eclipse.update.core.linux into plugins/org.eclipse.update.core.freebsd
> Copying plugins/org.eclipse.update.core.linux/os/linux into plugins/org.eclipse.update.core.freebsd/os/freebsd
> Copying plugins/org.eclipse.core.resources.linux into plugins/org.eclipse.core.resources.freebsd
> Copying plugins/org.eclipse.core.resources.linux/os/linux into plugins/org.eclipse.core.resources.freebsd/os/freebsd
> Copying plugins/org.eclipse.swt.gtk/os/linux into plugins/org.eclipse.swt.gtk/os/freebsd
> Copying plugins/platform-launcher/bin/linux into plugins/platform-launcher/bin/freebsd
> Copying features/org.eclipse.platform/linux.motif into features/org.eclipse.platform/freebsd.motif
> ===> Building for eclipse-3.0.1_4
> ===> Building libswt.
> cd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library" && \
> /bin/sh ./build.sh && \
> /bin/cp *.so ../../../../org.eclipse.swt.gtk/os/freebsd/x86/
> gmake[1]: Entering directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library'
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c swt.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic -c callback.c
> cc -shared -fpic -o libswt-gtk-3063.so swt.o callback.o
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_structs.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_custom.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gtk+-2.0` -c os_stats.c
> cc -shared -fpic `pkg-config --libs gtk+-2.0 gthread-2.0` -L/usr/X11R6/lib -lXtst -o libswt-pi-gtk-3063.so swt.o os.o os_structs.o os_custom.o os_stats.o
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_structs.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_custom.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags atk gtk+-2.0` -c atk_stats.c
> cc -shared -fpic `pkg-config --libs atk gtk+-2.0` -o libswt-atk-gtk-3063.so swt.o atk.o atk_structs.o atk_custom.o atk_stats.o
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_structs.c
> cc -O -Wall -DSWT_VERSION=3063 -DFREEBSD -DGTK -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/freebsd -I../../../Eclipse_SWT/common/library -I../../../Eclipse_SWT_PI/gtk/library -I/usr/X11R6/include -fpic `pkg-config --cflags gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -c gnome_stats.c
> cc -shared -fpic `pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0` -o libswt-gnome-gtk-3063.so swt.o gnome.o gnome_structs.o gnome_stats.o
> /usr/bin/ld: cannot find -lpopt
> gmake[1]: *** [libswt-gnome-gtk-3063.so] Error 1
> gmake[1]: Leaving directory `/usr/ports/java/eclipse/work/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library'
> gmake: *** [libswt] Error 2
> *** Error code 2
>
> Stop in /usr/ports/java/eclipse.
just ran into exactly the same Problem. Compiling the Motif-Version
works fine, the GTK-Version stopped.
In order to get it compile again I just changed (well, more hacked) the
file
/usr/X11R6/libdata/pkgconfig/libgnome-2.0.pc
In the Line
Libs: -L${libdir} -lgnome-2 -lpopt
I added a -L/usr/local/lib (as that's were libpopt.so is located).
Libs: -L${libdir} -L/usr/local/lib -lgnome-2 -lpopt
Then Eclipse/GTK compiled fine.
However, I put-back a Backup of the libgnome-2.0.pc after the Compile so
some portupgrade might correct that ;-)
HTH, cheers,
_ralf_
More information about the freebsd-java
mailing list