i have given proper path in pkg_config_path, options when i cross compiled
pango..
./configure --host=arm-linux --build=i686-linux --prefix=$PREFIX
--enable-static=yes --without-x --disable-sdl --disable-win32
--with-gfxdrivers=none --enable-explicit-deps=yes
i have actually solved the problem but sure that the way is not correct, i
have manually changed the configuration script by making
ac_cv_lib_pango_1_0_pango_context_new = yes, i was able to generate make
file. but when i give make am facing alot of problems, as shown below
though i have cross compiled libpng correctly. and the path also is
correct.
In file included from io-png.c:29:
/opt/gtkdfb-arm/include/libpng12/png.h:398:18: error: zlib.h: No such file
or directory
In file included from /opt/gtkdfb-arm/include/libpng12/png.h:402,
from io-png.c:29:
/opt/gtkdfb-arm/include/libpng12/pngconf.h:1221: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/opt/gtkdfb-arm/include/libpng12/pngconf.h:1222: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
/opt/gtkdfb-arm/include/libpng12/pngconf.h:1223: error: expected '=', ',',
';', 'asm' or '__attribute__' before '*' token
In file included from io-png.c:29:
/opt/gtkdfb-arm/include/libpng12/png.h:1148: error: expected
specifier-qualifier-list before 'z_stream'
io-png.c:883: fatal error: opening dependency file .deps/io-png.pp:
Permission denied
compilation terminated.
make[3]: *** [io-png.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
"Pedro Aguilar" <[EMAIL PROTECTED]>
2007/10/02 15:47
To
"Shilpa Singh" <[EMAIL PROTECTED]>
cc
directfb-users@directfb.org, [EMAIL PROTECTED]
Subject
Re: [directfb-users] error in cross-compiling gtk+-directfb-2.0.9
Hi,
Assuming that you already cross-compiled all the requirements (glib, atk,
pango, cairo, ...), check that the install path of these requirements is
the same path where the GTK+ configure is searching Pango.
Check also the options used when you compiled and installed Pango.
Regards,
--
Pedro Aguilar
> hai all,
>
> I am trying to cross compile gtk+-directfb-2.0.9 for ARM92 board using
> toolchain arm-linux, I have set all variables like
> CC,LD,AS,AR,RANLIB,STRIP correctly.
> including variables like LD_LIBRARY_PATH,PKG_CONFIG_PATH,LD_RUN_PATH and
> also all the flags like
>
BASE_DEPENDENCIES_CFLAGS,BASE_DEPENDENCIES_LIBS,GLIB_CFLAGS,GLIB_LIBS,PANGO_CFLAGS,PANGO_LIBS
>
>
>
> I have also checked my pkgconfig it includes all .pc files such as
> pango.pc,pangocairo.pc,pangoft2.pc
>
> below is my configure
>
> ./configure --host=arm-linux --build=i686-linux --prefix=$PREFIX
> --enable-static=yes --without-x --with-gdktarget=directfb
> --without-libtiff --without-libjpeg --disable-glibtest --disable-modules
> --disable-largefile
>
> when i run my configure script i get this
>
>
> checking for DirectFB... found
> checking for freetype-config... /usr/bin/freetype-config
> checking Pango flags... -I/opt/gtkdfb-arm/include/pango-1.0
> -I/opt/gtkdfb-arm/include/
> clude/freetype2 -I/opt/gtkdfb-arm/include
> -I/opt/gtkdfb-arm/include/glib-2.0 -I/opt/gt
> /opt/gtkdfb-arm/lib/libfontconfig.la -L/opt/gtkdfb-arm/lib
-lpangoft2-1.0
> -lfreetype
> lgmodule-2.0 -ldl -lglib-2.0
> checking for pango_context_new in -lpango-1.0... no
> configure: error:
> *** Can't link to Pango. Pango is required to build
> *** GTK+. For more information see http://www.pango.org
>
> can some one help??
>
>
_____________________________________________________________________________________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
______________________________________________________________________
______________________________________________________________________
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users