Re: configure error in cross compiling GTK based on Tinyx



Le lundi 13 novembre 2006 à 16:47 +0800, Zhang Long a écrit :
> I've built Tinyx from (XFree86-4.6.0) successfully and then built the
> followings with this order
>  
> glib-2.11.3
> atk-1.10.3
> freetype-2.1.9
> libxml2-2.6.23
> fontconfig-2.3.95
> zlib-1.2.3 
> libpng-1.2.10
> cairo-1.2.2
> pango-1.13.1
> 
> and all succeeded.
>  
> pango's 5 libraries of pango.so, pangocairo.so, pangoft2.so,
> pangox.so, pangoxft.so all come out,all libraries are put
> in /usr/local/lib and .pc files in /usr/local/lib/pkgconfig, I also
> set "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig"
>  
> Then I modified configure file of GTK v2.10.3 and v2.10.6, changed
> PANGO_PACKAGES from "pango pangocairo"
> to "pango pangocairo pangoft2 pangox pangoxft", then entered the
> following command
>  
> ./configure --host=arm-linux \
>   --without-libtiff \
>   --without-libpng \
>   --without-libjpeg \
>   --disable-glibtest \
>   --disable-modules \
>   --disable-largefile \
>   --with-gdktarget=linux-fb \
>   --with-x  \
>   --x-includes=/root/target/gtk/xc/exports/include \
>   --x-libraries=/root/target/gtk/xc/exports/lib \
>   CC=/usr/local/arm/3.3.2/bin/arm-linux-gcc \
>  
> It says:
> 
> ...
> checking Pango flags... -I/usr/local/include/pango-1.0
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/cairo -I/usr/local/include/freetype2
> -I/usr/local/include -I/usr/local/include/libpng12
> -I/root/target/gtk/xc/exports/include
> -I/usr/local/include/freetype2/config -I/usr/local/include/libxml2
> -L/usr/local/lib -lpangocairo-1.0 -lcairo -lfreetype -lfontconfig
> -lpng12 -lXrender -lX11 -lXext -lpangox-1.0 -lpangoxft-1.0
> -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> -lxml2 -lm
> configure: error:
> *** Can't link to Pango. Pango is required to build
> *** GTK+. For more information see http://www.pango.org
> 
> 
> What's wrong? Is the option "--with-gdktarget=linux-fb" right? Any
> clues will be appreciated. 

The exact error in config.log might help.




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