I'm having a bit of a problem with GNOME...

...and thats that one of the libraries I need, libgnome2, refuses to compile properly. After chasing down all it's dependencies (none of which are mentioned in the suggested compilation order on the GNOME site...) the configure script completes successfully (apart from a message informing me that I'm using a develo ...

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar32.webp

989 Posts
Location -
Joined 2001-08-14
...and thats that one of the libraries I need, libgnome2, refuses to compile properly. After chasing down all it's dependencies (none of which are mentioned in the "suggested compilation order" on the GNOME site...) the configure script completes successfully (apart from a message informing me that I'm using a development version of gnome-libs but I'm not sure if thats causing the issue or not since the 1.0 version it suggests, I'm using v1.4.2 currently, won't configure properly) but when I go to 'make' it spits out several messages like this:
 

Code:
/usr/local/include/glib-2.0/gobject/gvalue.h:22: #error "Only <glib-object.h> can be included directly."In file included from /usr/local/include/glib-2.0/gobject/gsignal.h:28,                 from /usr/local/include/glib-2.0/gobject/gobject.h:30,                 from ../libgnome/gnome-program.h:39,                 from ../libgnome/libgnome.h:29,                 from libgnometypebuiltins.h:7,                 from libgnometypebuiltins.c:5:/usr/local/include/glib-2.0/gobject/gparam.h:22: #error "Only <glib-object.h> can be included directly."
 
and then terminates. Any ideas why? I'm using Slackware 8.1 and am compiling the packages in the order suggested here and compiling any dependent packages as they come up, using the latest versions where possible (which hasn't been possible in a couple of cases and I can't say I'm happy about that...). Have I missed something not mentioned in the configure script or is there something else wrong?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar32.webp

989 Posts
Location -
Joined 2001-08-14
OP
Grrr... n/m, I've figured it out... I think. It turns out that I was infact using the wrong version of libgnome2, the correct versions of both libgnome2 and libgnomeui2 are found in the libgnome and libgnomeui directories of the GNOME FTP sites under the 2.x subfolders instead of the libgnome2 and libgnomeui2 folders ;(
 
Anyway, now I have a different problem: I'm now trying to compile libgnomecanvas (is there anywhere on the net that details exactly how many dependancies each of these packages has and in what order to compile them? This is starting to get extremely frustrating...) and its complaining that it can't find pangoft2. Now, I can't compile pangoft2 because it refuses to acknowledge the version of the Xft library compiled with XFree86 4.2.1 and FreeType 2.1.3 and the versions at http://www.fontconfig.org which it will recognise won't compile on my system (and using the .pc files from this results in errors from either the configure scripts or the compilation). The question is now: How can I compile Pango with FT2/Xft support in this situation? Is it possible?

data/avatar/default/avatar32.webp

989 Posts
Location -
Joined 2001-08-14
OP
And a big ;(
 
I've found the source of the trouble... I think: FreeType 1.3.1. It seems having this on my system is causing problems with the detection of FreeType 2.1.3 which in turn was casuing the problems with pango and fcpackage.
 
I'm really growing to hate this business of having to compile and maintain two versions of the same library...

data/avatar/default/avatar38.webp

64 Posts
Location -
Joined 2003-01-03
Quote:I'm really growing to hate this business of having to compile and maintain two versions of the same library...

Just be glad you *CAN* do this. Imagine doing that in the Wonderful World of Full Color Windoze!!!!