[maemo-developers] Kernel compilation (Bora 3.1)

From: Leandro Melo de Sales leandroal at gmail.com
Date: Tue Apr 17 18:52:52 EEST 2007
Hi all,
  I'm trying to compile kernel to n800. I followed the instructions in
http://www.maemo.org/platform/docs/howtos/howto_kernel_guide_bora.html,
but I can't.
  After create MaemoKernel target, update the apt repository, I tried
to install kernel-source-rx-34 as described in the manual, but I got
error such as:

[sbox-MaemoKernel: ~/maemo_kernel] > apt-get source kernel-source-rx-34
Reading package lists... Done
Building dependency tree... Done
Need to get 53.7MB of source archives.
Get:1 http://repository.maemo.org bora/free kernel-source-rx-34
2.6.18-osso40 (dsc) [452B]
Get:2 http://repository.maemo.org bora/free kernel-source-rx-34
2.6.18-osso40 (tar) [53.6MB]
Get:3 http://repository.maemo.org bora/free kernel-source-rx-34
2.6.18-osso40 (diff) [106kB]
Fetched 3B in 8s (0B/s)
/scratchbox/tools/bin/sh: line 1: dpkg-source: command not found
Unpack command 'dpkg-source -x kernel-source-rx-34_2.6.18-osso40.dsc' failed.
Check if the 'dpkg-dev' package is installed.
E: Child process failed

So, I tried to install dpkg-dev, but I got the following:

[sbox-MaemoKernel: ~/maemo_kernel] > apt-get install dpkg-dev
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  bluez-utils: Depends: module-init-tools
  dpkg: Depends: coreutils or
                 textutils (>= 2.0-3) but it is not installable
  dpkg-dev: Depends: perl5 but it is not installable
            Depends: perl-modules but it is not installable
            Depends: patch (>= 2.2-1) but it is not installable
            Depends: make but it is not installable
            Depends: binutils but it is not installable
  hildon-home-dev: Depends: pkg-config but it is not installable
  hildon-navigator-dev: Depends: pkg-config but it is not installable
  libart-2.0-dev: Depends: pkg-config but it is not installable
  libatk1.0-dev: Depends: pkg-config but it is not installable
  libdbus-1-dev: Depends: pkg-config but it is not installable
  libgalago-dev: Depends: pkg-config (>= 0.14.0) but it is not installable
  libglib2.0-dev: Depends: pkg-config (>= 0.14.0) but it is not installable
  libgstreamer-plugins-base0.10-dev: Depends: pkg-config but it is not
installable
  libgstreamer0.10-dev: Depends: pkg-config but it is not installable
  libgtk2.0-dev: Depends: pkg-config but it is not installable
  libgwobex-dev: Depends: pkg-config but it is not installable
  libmatchbox-dev: Depends: pkg-config but it is not installable
  libpango1.0-dev: Depends: pkg-config but it is not installable
  osso-core-config: Depends: coreutils
  osso-gwconnect-dev: Depends: pkg-config but it is not installable
  ppp: Depends: netbase but it is not going to be installed
       Depends: procps
  sharutils: Depends: debianutils (>= 1.6)
  sysvinit: Depends: coreutils
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).

Then, I tried apt-get -f install, but it tries to remove core
packages, such as bash, sharutils, and others. I suppose this is not
the right way to follow.

What should I do now?

Thank you! Any suggestion will be greatfully appreciated.

Leandro.

Versions:
   Scratchbox Apophis
   Maemo RootStrap 3.1

More information about the maemo-developers mailing list