[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[linuxtools-dev] [eclipse-build] problem building eclipse 3.5.2 from source
|
I'm trying to build eclipse from source on a new faster desktop I have
at home. I installed F13-Beta and I get to this point... any ideas?
build.nativeLibraries:
[exec] Please set JAVA_HOME to point at a JRE.
[exec] libgnomeui-2.0 found, compiling SWT program support using GNOME
[exec] Cairo found, compiling SWT support for the cairo graphics library.
[exec] libjawt.so not found, the SWT/AWT integration library will
not be compiled.
[exec] Building SWT/GTK+ for linux x86
[exec] gcc -O -Wall -DSWT_VERSION=3557 -DLINUX -DGTK -I/include
-I/include/linux -fPIC -c swt.c
[exec] In file included from swt.c:12:
[exec] swt.h:23:17: error: jni.h: No such file or directory
[exec] In file included from swt.c:12:
[exec] swt.h:132: error: expected ‘)’ before ‘*’ token
[exec] swt.c:23: error: expected ‘)’ before ‘*’ token
[exec] make: *** [swt.o] Error 1
[exec] Result: 2
[exec] Building Linux launcher. Defaults: -os linux -arch x86 -ws gtk
[exec] rm -f eclipse eclipse_1208.so eclipseMain.o
eclipseConfig.o eclipseCommon.o eclipseGtkCommon.o eclipseGtkInit.o
eclipse.o eclipseGtk.o eclipseUtil.o eclipseJNI.o eclipseMozilla.o
eclipseShm.o eclipseNix.o
[exec] gcc -g -s -Wall -fpic -DLINUX -DMOZILLA_FIX
-DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\""
-DDEFAULT_WS="\"gtk\"" -DDEFAULT_JAVA_JNI
-DGTK_LIB="\"libgtk-x11-2.0.so.0\""
-DGDK_LIB="\"libgdk-x11-2.0.so.0\""
-DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\""
-DGOBJ_LIB="\"libgobject-2.0.so.0\"" -I. -I.. -I/include
-I/include/linux `pkg-config --cflags gtk+-2.0` -c ../eclipseMain.c -o
eclipseMain.o
[exec] gcc -g -s -Wall -fpic -DLINUX -DMOZILLA_FIX
-DDEFAULT_OS="\"linux\"" -DDEFAULT_OS_ARCH="\"x86\""
-DDEFAULT_WS="\"gtk\"" -DDEFAULT_JAVA_JNI
-DGTK_LIB="\"libgtk-x11-2.0.so.0\""
-DGDK_LIB="\"libgdk-x11-2.0.so.0\""
-DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\""
-DGOBJ_LIB="\"libgobject-2.0.so.0\"" -I. -I.. -I/include
-I/include/linux `pkg-config --cflags gtk+-2.0` -c ../eclipseConfig.c
-o eclipseConfig.o
[exec] In file included from ../eclipseConfig.c:12:
[exec] ../eclipseOS.h:16:17: error: jni.h: No such file or directory
[exec] In file included from ../eclipseConfig.c:12:
[exec] ../eclipseOS.h:118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘getSplashHandle’
[exec] make: *** [eclipseConfig.o] Error 1
BUILD FAILED
/home/zx/workspaces/eclipse-build/eclipse-build/build.xml:425: exec returned: 2
--
Cheers,
Chris Aniszczyk
http://aniszczyk.org
+1 860 839 2465