Re: can't compile gtk+-2.4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You must use xft2, the one that comes with XFree does not work with
pango/fontconfig ...

Install Fontconfig-2.2.2

and xft-2.1.2

find them here:
http://freedesktop.org/~fontconfig/release/

Best regards,
hnl_dk - Henning Nielsen Lund


Anthony DiSante wrote:
> I just compiled and installed the latest versions of freetype,
> freetype2, glib, pango, and atk.  (I'm running Slackware 9.1 / 2.4.20
> / x86.)  Now, after I configure gtk, it dies during make with this:
>
>
>   gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"
> -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
> -DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DG_DISABLE_CAST_CHECKS -pthread -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0
> -I/usr/local/include -I/usr/include/freetype2 -I/usr/X11R6/include -g
> -O2
> -Wall -MT gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c
> -fPIC
> -DPIC -o .libs/gdkasync.o
> In file included from ../../gdk/x11/gdkdrawable-x11.h:35,
>                   from ../../gdk/x11/gdkwindow-x11.h:30,
>                   from gdkprivate-x11.h:36,
>                   from gdkx.h:78,
>                   from gdkasync.c:49:
> /usr/X11R6/include/X11/Xft/Xft.h:52: parse error before
> "_XftFTlibrary" /usr/X11R6/include/X11/Xft/Xft.h:52: warning: type
> defaults to `int' in declaration of `_XftFTlibrary'
> /usr/X11R6/include/X11/Xft/Xft.h:52: warning: data definition has no
> type or storage class
> /usr/X11R6/include/X11/Xft/Xft.h:86: parse error before "FT_UInt"
> /usr/X11R6/include/X11/Xft/Xft.h:86: warning: no semicolon at end of
> struct or union
> /usr/X11R6/include/X11/Xft/Xft.h:89: parse error before '}' token
> /usr/X11R6/include/X11/Xft/Xft.h:89: warning: type defaults to `int'
> in declaration of `XftGlyphSpec'
> /usr/X11R6/include/X11/Xft/Xft.h:89: warning: data definition has no
> type or storage class
> /usr/X11R6/include/X11/Xft/Xft.h:93: parse error before "FT_UInt"
> /usr/X11R6/include/X11/Xft/Xft.h:93: warning: no semicolon at end of
> struct or union
> /usr/X11R6/include/X11/Xft/Xft.h:96: parse error before '}' token
> /usr/X11R6/include/X11/Xft/Xft.h:96: warning: type defaults to `int'
> in declaration of `XftGlyphFontSpec'
> /usr/X11R6/include/X11/Xft/Xft.h:96: warning: data definition has no
> type or storage class
> /usr/X11R6/include/X11/Xft/Xft.h:190: warning: type defaults to `int'
> in declaration of `FT_UInt'
> /usr/X11R6/include/X11/Xft/Xft.h:190: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:256: warning: type defaults to `int'
> in declaration of `XftGlyphSpec'
> /usr/X11R6/include/X11/Xft/Xft.h:256: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:262: warning: type defaults to `int'
> in declaration of `XftGlyphFontSpec'
> /usr/X11R6/include/X11/Xft/Xft.h:262: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:295: warning: type defaults to `int'
> in declaration of `FT_UInt'
> /usr/X11R6/include/X11/Xft/Xft.h:295: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:354: parse error before "XftLockFace"
> /usr/X11R6/include/X11/Xft/Xft.h:354: warning: type defaults to `int'
> in declaration of `XftLockFace'
> /usr/X11R6/include/X11/Xft/Xft.h:354: warning: data definition has no
> type or storage class
> /usr/X11R6/include/X11/Xft/Xft.h:393: warning: type defaults to `int'
> in declaration of `FT_UInt'
> /usr/X11R6/include/X11/Xft/Xft.h:393: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:399: warning: type defaults to `int'
> in declaration of `FT_UInt'
> /usr/X11R6/include/X11/Xft/Xft.h:399: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:408: parse error before "FT_UInt"
> /usr/X11R6/include/X11/Xft/Xft.h:418: parse error before
> "XftCharIndex" /usr/X11R6/include/X11/Xft/Xft.h:420: warning: type
> defaults to `int' in declaration of `XftCharIndex'
> /usr/X11R6/include/X11/Xft/Xft.h:420: warning: data definition has no
> type or storage class
> /usr/X11R6/include/X11/Xft/Xft.h:461: warning: type defaults to `int'
> in declaration of `FT_UInt'
> /usr/X11R6/include/X11/Xft/Xft.h:461: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:472: warning: type defaults to `int'
> in declaration of `XftGlyphSpec'
> /usr/X11R6/include/X11/Xft/Xft.h:472: parse error before '*' token
> /usr/X11R6/include/X11/Xft/Xft.h:493: warning: type defaults to `int'
> in declaration of `XftGlyphFontSpec'
> /usr/X11R6/include/X11/Xft/Xft.h:493: parse error before '*' token
> make[4]: *** [gdkasync.lo] Error 1
> make[4]: Leaving directory
> `/home/falling/adata/downloads/video/gimp/v2.0/deps/gtk+-2.4.0/gdk/x11'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/falling/adata/downloads/video/gimp/v2.0/deps/gtk+-2.4.0/gdk'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/falling/adata/downloads/video/gimp/v2.0/deps/gtk+-2.4.0/gdk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/falling/adata/downloads/video/gimp/v2.0/deps/gtk+-2.4.0'
> make: *** [all] Error 2
>
>
> Any ideas about how to fix this?
>
> Thanks,
> Anthony
> http://nodivisions.com/
> _______________________________________________
> 
> gtk-list@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux