[asterisk-users] Problems compiling Asterisk on Debian
Daniel Tryba
daniel at tryba.nl
Mon Sep 27 11:20:35 CDT 2010
On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote:
> root at Sangoma-Testing:/usr/src/dahdi-linux-2.1.0.4# make
> echo "You do not appear to have the sources for the 2.6.26-2-amd64 kernel
> installed."
> You do not appear to have the sources for the 2.6.26-2-amd64 kernel
> installed.
> exit 1
> make: *** [modules] Error 1
>
> What should i do?
The easiest way would be to use module-assistant
# aptitude install module-assistant
# module-assistant prepare
This checks which kernel you are running and install the right packages,
eg:
module-assistant prepare
Getting source for kernel version: 2.6.26-2-vserver-amd64
apt-get install linux-headers-2.6.26-2-vserver-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-headers-2.6.26-2-common-vserver linux-kbuild-2.6.26
The following NEW packages will be installed:
linux-headers-2.6.26-2-common-vserver
linux-headers-2.6.26-2-vserver-amd64
linux-kbuild-2.6.26
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 4366kB of archives.
After this operation, 35.8MB of additional disk space will be
used.
Do you want to continue [Y/n]?
--
Daniel Tryba
More information about the asterisk-users
mailing list