[Scratchbox-users] DirectFB + GTK on Scratchbox ?

Claudio Scordino cloud.of.andor at gmail.com
Wed Jan 24 19:09:13 EET 2007


Hi all,

    I'm trying to install DirectFB + GTK on Scratchbox. Not an easy task...

I'm following the official DirectFB guide on

http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB

For those who don't want to read the guide, it mainly says to install the
following packages

apt-get install libglib2.0-0 libglib2.0-dev libatk1.0-0 libatk1.0-dev
libpango1.0-0 libpango1.0-dev libdirectfb-0.9-25 libdirectfb-dev

I was able to install the first 4 packages by:

- changing the repository from sarge to sid (because such packages are not
available on the sarge repository)

- creating and installing two fake debian packages for libc6 and libc6-dev
(otherwise the apt-get believes that such libraries are not installed and tries
to install them but fails when it finds a copy of the libraries already in the
/lib directory)


However, I still have to find out how to install the remaining packages :(

The problem is that when I type

apt-get install libpango1.0-0 libpango1.0-dev libdirectfb-0.9-25 libdirectfb-dev

the apt-get tries to install several needed packages, x11-common included.

Then, it fails giving me the following error message:

/scratchbox/devkits/debian/bin/invoke-rc.d: line 1: /sbin/runlevel: No such file
or directory
/etc/init.d/x11-common: line 20: /etc/default/rcS: No such file or directory
invoke-rc.d: initscript x11-common, action "start" failed.

Any help and suggestion about how to come out from this mess and install
directFB+GTK is really welcome.

Regards,

               Claudio Scordino



More information about the Scratchbox-users mailing list