Help me in building glib-2.28.8



Hi,
   I have a problem in building glib-2.28.8, to tell the truth I really have a lot of problems in building glib-2.28.8 but others have been solved.
   I want to use WebKit in arm-linux, according to some people I should cross-compile glib first, so I use arm-linux-gcc, the enviroment is
>>export CC="/opt/hisi-linux/x86-arm/gcc-3.4.3-csl-uClibc-0.9.30-softvfp/usr/bin/arm-linux-gnu-gcc"
>>export CXX="/opt/hisi-linux/x86-arm/gcc-3.4.3-csl-uClibc-0.9.30-softvfp/usr/bin/arm-linux-gnu-g++"
>>export RANLIB="/opt/hisi-linux/x86-arm/gcc-3.4.3-csl-uClibc-0.9.30-softvfp/usr/bin/arm-linux-gnu-ranlib"
>>export AR="/opt/hisi-linux/x86-arm/gcc-3.4.3-csl-uClibc-0.9.30-softvfp/usr/bin/arm-linux-gnu-ar"
>>export LD="/opt/hisi-linux/x86-arm/gcc-3.4.3-csl-uClibc-0.9.30-softvfp/usr/bin/arm-linux-gnu-ld"
>>export STRIP="/opt/hisi-linux/x86-arm/gcc-3.4.3-csl-uClibc-0.9.30-softvfp/usr/bin/arm-linux-gnu-strip"
>>export PREFIX="/usr/gtkdfb"
>>export PATH="$PATH:$PREFIX/bin"
>>export C_INCLUDE_PATH="$PREFIX/include"
>>export LD_LIBRARY_PATH="$PREFIX/lib"
>>export PKG_CONFIG_PATH="$LD_LIBRARY_PATH/pkgconfig"
>>export LDFLAGS="-L$LD_LIBRARY_PATH"
>>export CFLAGS="-I$PREFIX/include"
>>export CPPFLAGS="-I$PREFIX/include"

  The first step I configure the source code,
>>echo ac_cv_type_long_long=yes>>arm-linux.cache
>>echo glib_cv_stack_grows=no>>arm-linux.cache
>>echo glib_cv_uscore=no>>arm-linux.cache
>>echo ac_cv_func_posix_getpwuid_r=yes>>arm-linux.cache
>>echo ac_cv_func_posix_getgrgid_r=yes>>arm-linux.cache
>>./configure --build=i686-pc-linux --host=arm-linux --target=arm-linux --prefix=/usr/gtkdfb --cache-file=arm-linux.cache

  The error is
>> checking for glib-genmarshal... /usr/bin/glib-genmarshal
>> checking for glib-compile-schemas... no
>> configure: error: Could not find a glib-compile-schemas in your PATH

Then I find glib-genmarshal under folder "/usr/bin", but I don't find glib-complie-schemas. So, what should I do?
  Could you please help me solve this problem?? I really don't know how to do......Thank you very much!
Sincerely,
Terry


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