Re: Re: configure error in cross compiling GTK based on Tinyx



Title: Mail
 
发件人: Philippe Bertin
收件人: llzz2.zhang
时  间: 2006-11-13, 18:56:01
主  题: Re: configure error in cross compiling GTK based on Tinyx

Hello,

> 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

Do you mean you tried this with these 2 different versions of GTK ? I
guess that's what you mean by this ? (Zhang Long:  Yes, of course )
 

> ./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 \

Did you also *cross* compile the libraries (I mean
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) ?
I guess you didn't, as you installed the resulting libraries in your
system's paths ? And if you do, it is not good (if it's
system-survivable at all) to store the resulting libraries in your own
system's library directory !
 
(Zhang Long:  Of course I did or it would have stopped at libpng step. My prefix option is /usr/local, it's default and
Not system's library which is usr/lib or usr/include or usr/X11R6, etc. The directory of /usr/local is just
prepared for my custmozied request.)


I suspect you're trying to cross-compile GTK (although with probably the
good cross-compiler, I don't know that), based upon your *host's*
include files and your host's libraries. If that's the case, it won't
work. You should install your cross-compiled libraries and include files
in some other (non-system) directories using the typical
cross-compilation options. These will then be used when cross-compiling
GTK...(Zhang Long: Of course I'm cross compiling all packages and prefix is NOT system's while /usr/local)

Kind regards,

PhB





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