Hey!
So far, building nearly everything using SB2 was basically a piece of cake,
and worked well (besides maybe speed, but still better than compiling
natively on my PDA *g*)...
Trying to build glib however introduced some problems: (besides the fact that
the threading test program built by ./configure never returns, but that is a
qemu prob I guess...):
(in sb2)
./configure --prefix=/usr --disable-threads
make DESTDIR=/path/to/whereever install
works fine, puts all the stuff in /path/to/wherever/usr..., till:
-------------------------------------------------------------------------------
make[2]: Leaving directory `/home/loonatix/sources/glib-2.12.13/glib'
Making install in gobject
make[2]: Entering directory `/home/loonatix/sources/glib-2.12.13/gobject'
make glib-genmarshal
make[3]: Entering directory `/home/loonatix/sources/glib-2.12.13/gobject'
make[3]: `glib-genmarshal' is up to date.
make[3]: Leaving directory `/home/loonatix/sources/glib-2.12.13/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list
--header
>> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h)
\
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
/home/loonatix/sources/glib-2.12.13/gobject/.libs/lt-glib-genmarshal:
'/usr/lib/libglib-2.0.so.0'
is not an ELF executable for ARM
/home/loonatix/sources/glib-2.12.13/gobject/.libs/lt-glib-genmarshal: can't
load library 'libglib-2.0.so.0'
make[2]: *** [stamp-gmarshal.h] Error 16
make[2]: Leaving directory `/home/loonatix/sources/glib-2.12.13/gobject'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/loonatix/sources/glib-2.12.13'
make: *** [install] Error 2
[SB2] [EMAIL PROTECTED] ~/sources/glib-2.12.13
-------------------------------------------------------------------------------
So there the mapping is not used and it tries to load the host
glib ....argh...any ideas how to avoid that?
And/Or any ideas how far from finishing building this is, since the lib is in
place ? Maybe I can just ignore the last steps for a functional build?
Thx and greez,
Harry
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users