Re: a problem about cross compiling GTK+-2.0.9



On Mon, 2003-08-11 at 23:26, shan Ding wrote:
> Hi, All
> When i try to cross compile gtk-2.0.9.i can't
> able to cross compile.i got the following errors.
> ...
> ...
> checking for x86 platform... no
> checking for gdk-pixbuf-csource... (cached)
> /usr/local/bin/gdk-pixbuf-csource
> checking for freetype-config... (cached)
> /usr/local/hybus-arm-linux-R1.1/arm-linux/X11R6-arm/bin/freetype-config
> checking for FT_New_Face in -lfreetype... (cached) yes
> checking For sufficiently new FreeType (at least 2.0.1)... yes
> checking for X... (cached) libraries
> /usr/local/hybus-arm-linux-R1.1/arm-linux/X11R6-arm/lib, headers
> /usr/local/hybus-arm-linux-R1.1/arm-linux/X11R6-arm/include
> checking for gethostbyname... (cached) yes
> checking for connect... (cached) yes
> checking for remove... (cached) yes
> checking for shmat... (cached) yes
> checking for IceConnectionNumber in -lICE... (cached) yes
> checking for XOpenDisplay in -lX11... (cached) yes
> checking for XShmAttach in -lXext... (cached) no
> checking for XShmAttach in -lXextSam... (cached) no
> checking for XShapeCombineMask in -lXext... (cached) no
> checking for XConvertCase in -lX11... (cached) no
> checking for XkbQueryExtension in -lX11... (cached) no
> checking for sys/ipc.h... (cached) yes
> checking for sys/shchecking X11/extensions/XShm.h... yes
> checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include
			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is a red flag here.  You need to make sure it picks up the
arm-linux developer libraries and include files, not your native system
ones.

make sure PKG_CONFIG_PATH is set to where your cross-compiled developer
libraries are.  For example, under my mingw32 windows cross-compiler, I
have to do "export PKG_CONFIG_PATH=/usr/i386-mingw32/lib/pkgconfig"
before I run configure.

Michael



> -I/usr/include/freetype2 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -Wl,--export-dynamic -lpangoxft-1.0
> -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> checking for pango_context_new in -lpango-1.0... (cached) no
> configure: error:
> *** Can't link to Pango. Pango is required to build
> *** GTK+. For more information see http://www.pango.org
> 
> But I installed Pango for arm-linux. Anyone know how to resolve it or
> have any suggestion please inform me:shan_ding hotmail com
> 
> thanks in advance.
> 
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
-- 
Michael L Torrie <torriem chem byu edu>



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