MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a problem installing GTK+2.8.1 to support some other apps and have come across the following error message when 'making';
<SNIP>
../../gdk/gdktypes.h:33:25: pango/pango.h: No such file or directory
In file included from ../../gdk/gdk.h:30,
from gdkasync.h:25,
from gdkasync.c:51:
../../gdk/gdkcairo.h:25:30: pango/pangocairo.h: No such file or directory
In file included from ../../gdk/gdk.h:35,
from gdkasync.h:25,
from gdkasync.c:51:
../../gdk/gdkdrawable.h:119: error: syntax error before "PangoFont"
../../gdk/gdkdrawable.h:186: error: syntax error before "PangoMatrix"
../../gdk/gdkdrawable.h:353: error: syntax error before "PangoFont"
../../gdk/gdkdrawable.h:361: error: syntax error before "PangoLayoutLine"
../../gdk/gdkdrawable.h:366: error: syntax error before "PangoLayout"
../../gdk/gdkdrawable.h:372: error: syntax error before "PangoLayoutLine"
../../gdk/gdkdrawable.h:379: error: syntax error before "PangoLayout"
../../gdk/gdkdrawable.h:385: error: syntax error before "PangoMatrix"
In file included from ../../gdk/gdk.h:38,
from gdkasync.h:25,
from gdkasync.c:51:
../../gdk/gdkfont.h:33:30: pango/pango-font.h: No such file or directory
In file included from ../../gdk/gdk.h:38,
from gdkasync.h:25,
from gdkasync.c:51:
../../gdk/gdkfont.h:69: error: syntax error before "PangoFontDescription"
In file included from ../../gdk/gdk.h:42,
from gdkasync.h:25,
from gdkasync.c:51:
../../gdk/gdkkeys.h:103: error: syntax error before "gdk_keymap_get_direction"
../../gdk/gdkkeys.h:103: warning: type defaults to `int' in declaration of `gdk_keymap_get_direction'
../../gdk/gdkkeys.h:103: warning: data definition has no type or storage class
In file included from ../../gdk/gdk.h:44,
from gdkasync.h:25,
from gdkasync.c:51:
../../gdk/gdkpango.h:67: error: syntax error before "PangoRenderer"
../../gdk/gdkpango.h:67: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:70: error: syntax error before '}' token
../../gdk/gdkpango.h:82: error: syntax error before "PangoRendererClass"
../../gdk/gdkpango.h:82: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:87: error: syntax error before '*' token
../../gdk/gdkpango.h:87: warning: type defaults to `int' in declaration of `gdk_pango_renderer_new'
../../gdk/gdkpango.h:87: warning: data definition has no type or storage class
../../gdk/gdkpango.h:88: error: syntax error before '*' token
../../gdk/gdkpango.h:88: warning: type defaults to `int' in declaration of `gdk_pango_renderer_get_default'
../../gdk/gdkpango.h:88: warning: data definition has no type or storage class
../../gdk/gdkpango.h:95: error: syntax error before "PangoRenderPart"
../../gdk/gdkpango.h:98: error: syntax error before "PangoRenderPart"
../../gdk/gdkpango.h:103: error: syntax error before '*' token
../../gdk/gdkpango.h:103: warning: type defaults to `int' in declaration of `gdk_pango_context_get_for_screen'
../../gdk/gdkpango.h:103: warning: data definition has no type or storage class
../../gdk/gdkpango.h:105: error: syntax error before '*' token
../../gdk/gdkpango.h:105: warning: type defaults to `int' in declaration of `gdk_pango_context_get'
../../gdk/gdkpango.h:105: warning: data definition has no type or storage class
../../gdk/gdkpango.h:119: error: syntax error before '*' token
../../gdk/gdkpango.h:124: error: syntax error before '*' token
../../gdk/gdkpango.h:139: error: syntax error before "PangoAttribute"
../../gdk/gdkpango.h:139: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:141: error: syntax error before '}' token
../../gdk/gdkpango.h:145: error: syntax error before "PangoAttribute"
../../gdk/gdkpango.h:145: warning: no semicolon at end of struct or union
../../gdk/gdkpango.h:147: error: syntax error before '}' token
../../gdk/gdkpango.h:149: error: syntax error before '*' token
../../gdk/gdkpango.h:149: warning: type defaults to `int' in declaration of `gdk_pango_attr_stipple_new'
../../gdk/gdkpango.h:149: warning: data definition has no type or storage class
../../gdk/gdkpango.h:150: error: syntax error before '*' token
../../gdk/gdkpango.h:150: warning: type defaults to `int' in declaration of `gdk_pango_attr_embossed_new'
../../gdk/gdkpango.h:150: warning: data definition has no type or storage class
In file included from gdkx.h:81,
from gdkasync.c:52:
gdkprivate-x11.h:174: error: syntax error before '*' token
gdkprivate-x11.h:175: warning: type defaults to `int' in declaration of `_gdk_x11_renderer_get'
gdkprivate-x11.h:175: warning: data definition has no type or storage class
In file included from gdkx.h:82,
from gdkasync.c:52:
gdkscreen-x11.h:95: error: syntax error before "PangoRenderer"
gdkscreen-x11.h:95: warning: no semicolon at end of struct or union
gdkscreen-x11.h:106: error: syntax error before '}' token
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/root/gtk+-2.8.1/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gtk+-2.8.1/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gtk+-2.8.1/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gtk+-2.8.1'
make: *** [all] Error 2
</SNIP>
I've successfully compiled; Pango 1.8.1, libiconv, zlib, tiff 3.7.4, glib 2.8.1, cairo 1.0.0, atk etc and am using Mandriva LE 2005 / Kernel 2.6.11-12mdk
Appreciate if anyone could shed any light on this. ;-)
All of those as well as GTK+ are availalable through the package management system and don't need to be compiled. Have you been to http://easyurpmi.zarb.org yet and setup the extra software repositories? What are you trying to compile? Are you sure it needs exactly GTK+2.8 - GTK+2.6 is installed by default on Mandriva?
If you really do need to compile something then you have to install the -devel packages for each of those. So install gtk+-devel or libgtk+-devel or whatever its called (search in the Software installation thingo in the Mandrake Control Centre). Same goes for all those other packages - install pango-deve, libiconv-devel and so on. You should probably uninstall (make uninstall) the versions that you compiled too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.