Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Building Eclipse under Ubuntu 12.04

Hi Hendrik,

As far as I can tell your missing gtk+-2.0 or your system is unable to find it.

     [exec] No package 'gtk+-2.0' found

I'm not overly familiar with Ubuntu packages but there's likely a gtk-devel or similar package which you'll need to install to get this.


Hope this helps,


Thanh


On 10/04/13 02:06 PM, Hendrik Still wrote:
Hi,

I'm currently trying to build the Eclipse Platform, but the build fails
at org.eclipse.swt.gtk.linux.x86_64. I followed the guide from
http://wiki.eclipse.org/Platform-releng/Platform_Build .

The relevant part of the log is following:


...
build_local:
     [exec] Can't find
/home/hendrik/gsoc/src2/eclipse.platform.releng.aggregator/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64/tmpdir/../../components/external.idl
     [exec] Building SWT OS=linux SWT ARCH=x86_64
     [exec] libgnome-2.0 and libgnomeui-2.0 not found:
     [exec]     *** SWT Program support for GNOME will not be compiled.
     [exec] Cairo found, compiling SWT support for the cairo graphics
library.
     [exec] libjawt.so found, the SWT/AWT integration library will be
compiled.
     [exec] Building SWT/GTK+ for linux x86_64
     [exec] gcc -O -Wall -DSWT_VERSION=4324  -DLINUX -DGTK
-I/usr/lib/jvm/java-7-oracle//include
-I/usr/lib/jvm/java-7-oracle//include/linux -fPIC -DJNI64 -c swt.c
     [exec] gcc -O -Wall -DSWT_VERSION=4324  -DLINUX -DGTK
-I/usr/lib/jvm/java-7-oracle//include
-I/usr/lib/jvm/java-7-oracle//include/linux -fPIC -DJNI64   -c -o c.o c.c
     [exec] gcc -O -Wall -DSWT_VERSION=4324  -DLINUX -DGTK
-I/usr/lib/jvm/java-7-oracle//include
-I/usr/lib/jvm/java-7-oracle//include/linux -fPIC -DJNI64   -c -o
c_stats.o c_stats.c
     [exec] gcc -O -Wall -DSWT_VERSION=4324  -DLINUX -DGTK
-I/usr/lib/jvm/java-7-oracle//include
-I/usr/lib/jvm/java-7-oracle//include/linux -fPIC -DJNI64
-DUSE_ASSEMBLER -c callback.c
     [exec] gcc -shared -fPIC  -s -o libswt-gtk-4324.so swt.o c.o
c_stats.o callback.o
     [exec] Package gtk+-2.0 was not found in the pkg-config search path.
     [exec] Perhaps you should add the directory containing `gtk+-2.0.pc'
     [exec] to the PKG_CONFIG_PATH environment variable
     [exec] No package 'gtk+-2.0' found
     [exec] gcc -O -Wall -DSWT_VERSION=4324  -DLINUX -DGTK
-I/usr/lib/jvm/java-7-oracle//include
-I/usr/lib/jvm/java-7-oracle//include/linux -fPIC -DJNI64 `pkg-config
--cflags gtk+-2.0` -c os.c
     [exec] In file included from os_structs.h:16:0,
     [exec]                  from os.c:17:
     [exec] os.h:30:21: schwerwiegender Fehler: gtk/gtk.h: Datei oder
Verzeichnis nicht gefunden
     [exec] Kompilierung beendet.
     [exec] make: *** [os.o] Fehler 1
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] eclipse-platform-parent ........................... SUCCESS
[0.772s]
[INFO] rt.equinox.framework .............................. SUCCESS
[0.036s]
[INFO] org.eclipse.osgi .................................. SUCCESS
[1:47.563s]
[INFO] org.eclipse.osgi.services ......................... SUCCESS
[5.103s]
[INFO] rt.equinox.bundles ................................ SUCCESS
[0.051s]
[INFO] org.eclipse.equinox.common ........................ SUCCESS
[20.600s]
[INFO] eclipse.platform.ui ............................... SUCCESS
[0.047s]
[INFO] org.eclipse.core.commands ......................... SUCCESS
[25.024s]
[INFO] eclipse.platform.runtime .......................... SUCCESS
[0.040s]
[INFO] org.eclipse.core.jobs ............................. SUCCESS
[21.757s]
[INFO] org.eclipse.equinox.registry ...................... SUCCESS
[21.694s]
[INFO] org.eclipse.equinox.preferences ................... SUCCESS
[20.859s]
[INFO] org.eclipse.core.contenttype ...................... SUCCESS
[20.971s]
[INFO] org.eclipse.core.databinding.observable ........... SUCCESS
[26.580s]
[INFO] org.eclipse.core.databinding.property ............. SUCCESS
[22.628s]
[INFO] org.eclipse.core.databinding ...................... SUCCESS
[24.073s]
[INFO] org.eclipse.equinox.app ........................... SUCCESS
[19.831s]
[INFO] org.eclipse.core.runtime .......................... SUCCESS
[21.958s]
[INFO] org.eclipse.core.expressions ...................... SUCCESS
[19.775s]
[INFO] org.eclipse.e4.core.di ............................ SUCCESS
[18.318s]
[INFO] org.eclipse.e4.core.contexts ...................... SUCCESS
[21.469s]
[INFO] org.eclipse.e4.core.services ...................... SUCCESS
[19.018s]
[INFO] org.eclipse.e4.core.commands ...................... SUCCESS
[2.040s]
[INFO] org.eclipse.e4.core.di.extensions ................. SUCCESS
[1.777s]
[INFO] eclipse.platform.swt .............................. SUCCESS
[0.035s]
[INFO] org.eclipse.swt ................................... SUCCESS
[20.981s]
[INFO] org.eclipse.equinox.bidi .......................... SUCCESS
[19.069s]
[INFO] org.eclipse.swt.gtk.linux.x86 ..................... SUCCESS
[4:34.499s]
[INFO] org.eclipse.swt.gtk.linux.x86_64 .................. FAILURE
[17.369s]
[INFO] org.eclipse.swt.gtk.linux.ppc ..................... SKIPPED
[INFO] org.eclipse.swt.gtk.linux.ppc64 ................... SKIPPED
[INFO] org.eclipse.swt.gtk.linux.s390 .................... SKIPPED
[INFO] org.eclipse.swt.gtk.linux.s390x ................... SKIPPED
[INFO] org.eclipse.swt.win32.win32.x86 ................... SKIPPED
...


I'm sure it is just a missing GTK package, but it would be nice if you
have a hint for me.

The building machine is a Ubuntu 12.04 with the Oracle JRE and Maven
3.0.5 from maven.apache.org.
mvn -version gives me following information:

Apache Maven 3.0.5 (rNON-CANONICAL_2013-04-09_16-22_hendrik; 2013-04-09
16:22:13+0200)
Maven home: /home/hendrik/apache-maven-3.0.5
Java version: 1.7.0_17, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-39-generic", arch: "amd64", family:
"unix"


Thanks an
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev




Back to the top