On Mon, May 08, 2006 at 01:33:19PM +0100, "José A.Benítez Peláez" wrote:
> 
> I know that I have installed a newest version of libc6. Well,
> My final target is to compile gpsdrive and it needs gtk2.
> First, I have tried to compile hello-world-gtk example
> included in scratchbox but it needs gtk and libpango and
> others libraries.  Gtk and libpango ask me to install a newest
> version of libc6.

You might want to build gtk and libpango against the libc6 you are
using and install them. If there are a lot of dependencies, the
Crocodile might be usefull in this process.

> 
> Well, I have try to install libc6-dev
> <...>
> 
> [sbox-MYTARGET10:
> /scratchbox/compilers/arm-linux-ct401-2.3/packages] > dpkg -i 
> libc6-dev_2.3.2-sb1_arm.deb
> dpkg - warning: downgrading libc6-dev from 2.3.6-7 to 2.3.2-sb1.
> dpkg: regarding libc6-dev_2.3.2-sb1_arm.deb containing libc6-dev:
>  linux-kernel-headers conflicts with libc6-dev (<< 2.3.2.ds1-6)
>   libc6-dev (version 2.3.2-sb1) is to be installed.

To survive with most dependency issues, you can install those packages
by running:
[sbox-MYTARGET10:/scratchbox/compilers/arm-linux-ct401-2.3/packages] > dpkg -i 
*.deb

To quickly check that compiler can create executables and those can be
run, you can use:
     gcc /scratcbox/packages/hello.c && ./a.out


If the hello.c doesn't compile even after the libc6 package
installation, it might be easiest to reset the target and install them
to the clean target.
   sb-conf reset --force
   sb-conf install -edF
   dpkg -i /scratchbox/compilers/`sb-conf sh -c`/packages/*.deb
If hello.c doesn't work even now, then there is something wrong elsewhere.




-- 
Toni Timonen
040-5111863,GPG 0x7984A4FD
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to