Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Extra library dependency in Eclipse 2.1.2 GTK launcher
Extra library dependency in Eclipse 2.1.2 GTK launcher [message #214779] Tue, 23 March 2004 03:51
Eclipse UserFriend
Hello,

I was trying to run Eclipse binary 2.1.2 GTK version on SUSE 8.0 and I
found that main eclipse package depends on number of libraries but there
is no actual calls to that libraries.

I looked at makefile of Eclipse launcher and found that the set of
libraries is determined using pkg-config -?libs gtk+-2.0. But pkg-config
--libs gives linker flags for queried package including all linker options
of dependencies. As the result we have 11 libraries linked. Also such
configuration depends on the system where Eclipse was built. I suggest
changing the makefile to include only necessary libraries. I?ve seen that
only gtk-x11-2.0 and gdk_pixbuf-2.0 are used form eclipseGtk.c. So the
changes may be as follows.

LIBS = `pkg-config ?libs-only-L gtk+-2.0` -lgtk-x11-2.0 -lgdk_pixbuf-2.0

The reason I am asking is that Eclipse is crashing during startup if GTK
and Pango are configured using Xft (i.e. Xft 2 is used as preferred font
backend). Probably Xft 2 is not compatible with the rest of SUSE 8.0
packages. I managed to fake eclipse providing an empty Xft library and
eclipse starts and works perfectly but I think it is not a good solution
because it is necessary to compile empty library and provide
LD_LIBRARY_PATH for eclipse pointing to that library.

Is it possible to change the makefile?

Many thanks in advance,
Artyom.
Previous Topic:Capturing close event........
Next Topic:JFace Wizard questions
Goto Forum:
  


Current Time: Thu Nov 06 00:50:57 EST 2025

Powered by FUDForum. Page generated in 0.04103 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top