pango installation problem

Giorgos Pappas giorgos_pappas at hotmail.com
Sun Mar 24 19:35:01 EET 2002


Γεια σε όλους!

Το πρόβλημά μου είναι το εξής:

Προσπαθώ να εγκαταστήσω την Gtk+ 2.0 στο μηχάνημά μου (Slackware 8.0). 
Κατέβασα όλα τα απαραίτητα πακέτα (gtk, glib,atk,pango και τα dependencies: 
pkgtool και libraries jpeg,tiff,png). Εγκατέστησα πρώτα τα dependencies μια 
χαρά, μετά την glib και μετά atk. Για να εγκαταστήσω τώρα την gtk μου μένει 
να βάλω το pango. Το έκανα ./configure και πήγε καλά. Μετά όμως κατά το make 
πήρα το εξής μήνυμα:


                               In file included from pangoxft.h:27,
                 from pangoxft-private.h:25,
                 from pangoxft-font.c:24:
../pango/pango-ot.h:43: parse error before `face'
In file included from pangoxft-private.h:25,
                 from pangoxft-font.c:24:
pangoxft.h:64: parse error before `pango_xft_font_get_face'
pangoxft.h:64: warning: type defaults to `int' in declaration of 
`pango_xft_font_get_face'
pangoxft.h:64: warning: data definition has no type or storage class
In file included from pangoxft-font.c:25:
/usr/X11R6/include/X11/Xft/XftFreetype.h:34: parse error before 
`_XftFTlibrary'
/usr/X11R6/include/X11/Xft/XftFreetype.h:34: warning: type defaults to `int' 
in declaration of `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/XftFreetype.h:34: warning: data definition has no 
type or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:37: parse error before `FT_Face'
/usr/X11R6/include/X11/Xft/XftFreetype.h:37: warning: no semicolon at end of 
struct or union
/usr/X11R6/include/X11/Xft/XftFreetype.h:41: parse error before `size'
/usr/X11R6/include/X11/Xft/XftFreetype.h:41: warning: type defaults to `int' 
in declaration of `size'
/usr/X11R6/include/X11/Xft/XftFreetype.h:41: warning: data definition has no 
type or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:54: parse error before `matrix'
/usr/X11R6/include/X11/Xft/XftFreetype.h:54: warning: type defaults to `int' 
in declaration of `matrix'
/usr/X11R6/include/X11/Xft/XftFreetype.h:54: warning: data definition has no 
type or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:71: parse error before `face'
pangoxft-font.c: In function `get_mini_font':
pangoxft-font.c:151: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:151: (Each undeclared identifier is reported only once
pangoxft-font.c:151: for each function it appears in.)
pangoxft-font.c:151: parse error before `face'
pangoxft-font.c:163: `face' undeclared (first use in this function)
pangoxft-font.c:168: warning: implicit declaration of function 
`FT_Get_Char_Index'
pangoxft-font.c: In function `pango_xft_real_render':
pangoxft-font.c:277: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:277: parse error before `face'
pangoxft-font.c:299: `face' undeclared (first use in this function)
pangoxft-font.c: In function `pango_xft_font_get_coverage':
pangoxft-font.c:456: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:456: parse error before `face'
pangoxft-font.c:472: `face' undeclared (first use in this function)
pangoxft-font.c:477: `FT_UInt' undeclared (first use in this function)
pangoxft-font.c:477: parse error before `glyph'
pangoxft-font.c:479: `glyph' undeclared (first use in this function)
pangoxft-font.c: In function `pango_xft_font_get_font':
pangoxft-font.c:603: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:603: parse error before `face'
pangoxft-font.c:604: `FT_Error' undeclared (first use in this function)
pangoxft-font.c:640: `face' undeclared (first use in this function)
pangoxft-font.c:640: dereferencing pointer to incomplete type
pangoxft-font.c:644: `ft_encoding_unicode' undeclared (first use in this 
function)
pangoxft-font.c:649: `error' undeclared (first use in this function)
pangoxft-font.c:649: warning: implicit declaration of function 
`FT_Set_Charmap'
pangoxft-font.c: At top level:
pangoxft-font.c:705: parse error before `pango_xft_font_get_face'
pangoxft-font.c:706: warning: return-type defaults to `int'
pangoxft-font.c: In function `pango_xft_font_get_face':
pangoxft-font.c:709: warning: return makes integer from pointer without a 
cast
pangoxft-font.c:714: warning: return makes integer from pointer without a 
cast
pangoxft-font.c:716: dereferencing pointer to incomplete type
pangoxft-font.c:717: warning: control reaches end of non-void function
pangoxft-font.c: In function `pango_xft_font_get_ot_info':
pangoxft-font.c:738: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:738: parse error before `face'
pangoxft-font.c:740: `face' undeclared (first use in this function)
make[3]: *** [pangoxft-font.lo] Error 1
make[3]: Leaving directory `/root/programs/gtk/pango-1.0.0/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/programs/gtk/pango-1.0.0/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/programs/gtk/pango-1.0.0'
make: *** [all-recursive-am] Error 2


Βγάζει κανείς συμπέρασμα για το τί φταίει;
Υπάρχει περίπτωση να φταίει το path όπου τα έκανα compile; (τα υπόλοιπα 
πακέτα πώς δούλεψαν τότε;) Είχα αποσυμπιέσει τα πακέτα σε ένα δικό μου 
directory (/root/programs/gtk/) γιατί δεν ήξερα πού ακριβώς έπρεπε να το 
κάνω.

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




More information about the Linux-greek-users mailing list