Re: Problem compiling gtk 2.2.0



On Tue, 2003-01-07 at 22:02, Pierre wrote:
> Hi,
> 
> I try to compile gtk+-2.2.0 on my GNU/Linux system with gcc-3.2
> there was no problem with the configure, but for the make I got this :
> 
> [...]
> Making all in theme-bits
> gmake[3]: Entering directory `/tmp/gtk+-2.2.0/gtk/theme-bits'
> gmake[3]: Nothing to be done for `all'.
> gmake[3]: Leaving directory `/tmp/gtk+-2.2.0/gtk/theme-bits'
> gmake[3]: Entering directory `/tmp/gtk+-2.2.0/gtk'
> /bin/sh ../libtool --mode=link gcc -s  -O3 -march=i686 -Wall 
> -version-info 200:0:200 -export-dynamic -rpath /usr/local/lib 
> -export-symbols-regex "^[^_].*" ../gdk-pixbuf/libgdk_pixbuf-2.0.la 
> ../gdk/libgdk-x11-2.0.la -Wl,--export-dynamic -L/usr/local/lib 
> -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 
> -lgmodule-2.0 -ldl -lglib-2.0 -lm -o gtk-query-immodules-2.0  
> queryimmodules.o libgtk-x11-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la 
> ../gdk/libgdk-x11-2.0.la libtool: link: warning: `-version-info' is 
> ignored for programs
> gcc -s -O3 -march=i686 -Wall -Wl,--export-dynamic -o 
> .libs/gtk-query-immodules-2.0 queryimmodules.o -Wl,--export-dynamic  
> -L/usr/local/lib ./.libs/libgtk-x11-2.0.so 
> /tmp/gtk+-2.2.0/gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib 
> /usr/local/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so 
> ../gdk/.libs/libgdk-x11-2.0.so 
> /tmp/gtk+-2.2.0/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -lXi -lXinerama 
> -lXft -lXrender -lXext -lX11 /usr/local/lib/libfreetype.so 
> /usr/local/lib/libpangoxft-1.0.so /usr/local/lib/libpangox-1.0.so 
> /usr/local/lib/libpango-1.0.so /usr/local/lib/libgobject-2.0.so 
> /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lm 
> -Wl,--rpath -Wl,/usr/local/lib
> /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld: 
> warning: libXft.so.1, needed by /usr/local/lib/libpangoxft-1.0.so, may 
> conflict with libXft.so.2
> /usr/local/lib/libXft.so: undefined reference to `FcPatternAddInteger'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternAddBool'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGetBool'
> /usr/local/lib/libXft.so: undefined reference to `FcFreeTypeCharSet'
> /usr/local/lib/libXft.so: undefined reference to `FcNameUnparse'
> /usr/local/lib/libXft.so: undefined reference to `FcNameConstant'
> /usr/local/lib/libXft.so: undefined reference to `FcObjectSetDestroy'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternDuplicate'
> /usr/local/lib/libXft.so: undefined reference to `FcCharSetHasChar'
> /usr/local/lib/libXft.so: undefined reference to `FcFontList'
> /usr/local/lib/libXft.so: undefined reference to `FcUtf16ToUcs4'
> /usr/local/lib/libXft.so: undefined reference to `FcUtf8ToUcs4'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternVaBuild'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGetDouble'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGetString'
> /usr/local/lib/libXft.so: undefined reference to `FcInit'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGetInteger'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGetCharSet'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternCreate'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternAddString'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGet'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternAddDouble'
> /usr/local/lib/libXft.so: undefined reference to `FcConfigSubstitute'
> /usr/local/lib/libXft.so: undefined reference to `FcObjectSetCreate'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternDestroy'
> /usr/local/lib/libXft.so: undefined reference to `FcCharSetCount'
> /usr/local/lib/libXft.so: undefined reference to 
> `FcNameRegisterObjectTypes'
> /usr/local/lib/libXft.so: undefined reference to `FcObjectSetAdd'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternAdd'
> /usr/local/lib/libXft.so: undefined reference to `FcStrCmpIgnoreCase'
> /usr/local/lib/libXft.so: undefined reference to `FcConfigGetBlanks'
> /usr/local/lib/libXft.so: undefined reference to `FcFreeTypeCharIndex'
> /usr/local/lib/libXft.so: undefined reference to `FcNameParse'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGetFTFace'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternGetMatrix'
> /usr/local/lib/libXft.so: undefined reference to `FcPatternPrint'
> /usr/local/lib/libXft.so: undefined reference to `FcFontMatch'
> /usr/local/lib/libXft.so: undefined reference to `FcDefaultSubstitute'
> collect2: ld returned 1 exit status
> gmake[3]: *** [gtk-query-immodules-2.0] Error 1
> gmake[3]: Leaving directory `/tmp/gtk+-2.2.0/gtk'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/tmp/gtk+-2.2.0/gtk'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/tmp/gtk+-2.2.0'
> gmake: *** [all-recursive-am] Error 2
> 

You have xft1 and freetype1 installed - try this
mv /usr/include/freetype /usr/include/freetype2

then you should pickup the correct freetype2 headers

> It would be great if you could help me with this !
>   Best regards,
>   Pierre.
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list



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