Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] [eclipse-build] problem building eclipse 3.5.2 from source

Chris Aniszczyk wrote:
> 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:

This is your problem:
>      [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

It should say -I/path/to/JVM/include and -I/path/to/JVM/include/linux

>      [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
>[...]

~Niels




Back to the top