LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-22-2005, 09:56 AM   #1
tiggur
LQ Newbie
 
Registered: Sep 2005
Location: Leeds, UK
Distribution: Mandriva
Posts: 1

Rep: Reputation: 0
Unhappy GTK+2.8.1 make errors


Hi,

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. ;-)

TIA
 
Old 09-25-2005, 05:59 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
I've successfully compiled; Pango 1.8.1, libiconv, zlib, tiff 3.7.4, glib 2.8.1, cairo 1.0.0, atk
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors using TB or FF (gtk?) BroX Slackware 3 07-15-2005 12:26 PM
GTK+ make errors SuSe 9 kmack1023 Linux - Newbie 2 05-06-2005 01:57 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
gtk errors chrismiceli Linux - General 1 03-12-2003 03:59 AM
gtk errors chrismiceli Linux - Software 0 03-10-2003 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration