Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-10-07 Thread Tzafrir Cohen
On Mon, Sep 27, 2010 at 06:21:16PM +0200, Danny Dias wrote:
 Thanks Dean,
 
 I've done it before, that's why i'm here asking :( take a look:
 
 r...@sangoma-testing:/usr/src/dahdi-linux-2.1.0.4# apt-cache search
 linux-headers-$(uname -r)
 linux-headers-2.6.26-2-amd64 - Header files for Linux 2.6.26-2-amd64
 r...@sangoma-testing:/usr/src/dahdi-linux-2.1.0.4# sudo apt-get install
 linux-headers-$(uname -r)
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 linux-headers-2.6.26-2-amd64 is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 r...@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

This error basically means:

  no such file /lib/modules/`uname -r`/build/.config

'build' above is a symlink. If you have linux-headers-2.6.26-2-amd64 ,
it is supposed to point from /lib/modules/2.6.26-2-amd64/build to
/usr/src/linux-headers-2.6.26-2-amd64 .

Is that the case?

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-28 Thread Danny Dias
r...@sangoma-testing:/home# cat /lib/modules/2.6.26-2-amd64/build/.config
cat: /lib/modules/2.6.26-2-amd64/build/.config: No such file or directory

r...@sangoma-testing:/home# cat /usr/src/linux/.config
cat: /usr/src/linux/.config: No such file or directory

r...@sangoma-testing:/home# uname -a
Linux Sangoma-Testing 2.6.26-2-amd64 #1 SMP Thu Sep 16 15:56:38 UTC 2010
x86_64 GNU/Linux

r...@sangoma-testing:/home# uname -r
2.6.26-2-amd64


2010/9/28 Paul Belanger paul.belan...@polybeacon.com

 On Mon, Sep 27, 2010 at 6:57 PM, Danny Dias ing.diasda...@gmail.com
 wrote:
  r...@sangoma-testing:/home# ls -la /lib/modules/
  total 12
  drwxr-xr-x  3 root root 4096 2010-09-24 10:21 .
  drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
  drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64
 
 $ cat /lib/modules/2.6.26-2-amd64/build/.config

  r...@sangoma-testing:/home# ls -la /usr/src/linux
  lrwxrwxrwx 1 root src 28 2010-09-27 12:26 /usr/src/linux -
 
 $ cat /usr/src/linux/.config

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
Hello,

I'm trying to compile DAHDI on DEBIAN but i have the following error:

r...@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?

Thanks!
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Dean Hoover

Source files aren't automatically installed on every install.

This link should help:
http://www.cyberciti.biz/faq/howto-install-kernel-headers-package/

Dean Hoover
Milwaukee, Wisconsin

On 9/27/2010 11:09 AM, Danny Dias wrote:
 Hello,

 I'm trying to compile DAHDI on DEBIAN but i have the following error:

 r...@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?

 Thanks!



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
Thanks Dean,

I've done it before, that's why i'm here asking :( take a look:

r...@sangoma-testing:/usr/src/dahdi-linux-2.1.0.4# apt-cache search
linux-headers-$(uname -r)
linux-headers-2.6.26-2-amd64 - Header files for Linux 2.6.26-2-amd64
r...@sangoma-testing:/usr/src/dahdi-linux-2.1.0.4# sudo apt-get install
linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.26-2-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
r...@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


2010/9/27 Dean Hoover dhoo...@centonline.com


 Source files aren't automatically installed on every install.

 This link should help:
 http://www.cyberciti.biz/faq/howto-install-kernel-headers-package/

 Dean Hoover
 Milwaukee, Wisconsin

 On 9/27/2010 11:09 AM, Danny Dias wrote:
  Hello,
 
  I'm trying to compile DAHDI on DEBIAN but i have the following error:
 
  r...@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?
 
  Thanks!
 


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Daniel Tryba
On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote:
 r...@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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
Done my friend:

r...@sangoma-testing:/lib/modules/2.6.26-2-amd64/kernel/drivers#
module-assistant prepare
Getting source for kernel version: 2.6.26-2-amd64
apt-get install linux-headers-2.6.26-2-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.26-2-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Done!
r...@sangoma-testing:/lib/modules/2.6.26-2-amd64/kernel/drivers# cd
/usr/src/dahdi-linux-2.1.0.4/
r...@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


The same result :(

2010/9/27 Daniel Tryba dan...@tryba.nl

 On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote:
  r...@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

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Roger Burton West
On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote:

What should i do?

aptitude install module-assistant
m-a a-i dahdi


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
¿ahhh?

2010/9/27 Roger Burton West ro...@firedrake.org

 On Mon, Sep 27, 2010 at 06:09:15PM +0200, Danny Dias wrote:

 What should i do?

 aptitude install module-assistant
 m-a a-i dahdi


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Daniel Tryba
On Mon, Sep 27, 2010 at 06:28:04PM +0200, Danny Dias wrote:
 You do not appear to have the sources for the 2.6.26-2-amd64 kernel
 installed.
 exit 1
 make: *** [modules] Error 1
 
 
 The same result :(
 
Where did you get the dahdi source? There is no official 2.1.0.4
in any debian version. If you are running stable you should either use
the backports version: http://packages.debian.org/lenny-backports/dahdi
Or make your own package from testing/unstable sources.

-- 

   Daniel Tryba

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Paul Belanger
On Mon, Sep 27, 2010 at 12:09 PM, Danny Dias ing.diasda...@gmail.com wrote:
 What should i do?

Try with the lastest DAHDI version, 2.4.0.

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
I've these versions of DAHDI running into another Server with no
problem...it seems to be a problem with dependencies, but i can't find the
trick :(

2010/9/27 Paul Belanger paul.belan...@polybeacon.com

 On Mon, Sep 27, 2010 at 12:09 PM, Danny Dias ing.diasda...@gmail.com
 wrote:
  What should i do?
 
 Try with the lastest DAHDI version, 2.4.0.

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
The same problem!

r...@sangoma-testing:/usr/src/dahdi-linux-complete-2.4.0+2.4.0# make all 
make install  make config
make -C linux all
make[1]: Entering directory
`/usr/src/dahdi-linux-2.1.0.4/dahdi-linux-complete-2.4.0+2.4.0/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory
`/usr/src/dahdi-linux-2.1.0.4/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
--2010-09-27 13:07:26--
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com... 76.164.171.232, 2001:470:e0d4::e8
Connecting to downloads.digium.com|76.164.171.232|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: `dahdi-fwload-vpmadt032-1.25.0.tar.gz'

100%[==]
149,360 81.0K/s   in 1.8s

2010-09-27 13:07:28 (81.0 KB/s) - `dahdi-fwload-vpmadt032-1.25.0.tar.gz'
saved [149360/149360]

make[2]: Leaving directory
`/usr/src/dahdi-linux-2.1.0.4/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 2.6.26-2-amd64 kernel
installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory
`/usr/src/dahdi-linux-2.1.0.4/dahdi-linux-complete-2.4.0+2.4.0/linux'
make: *** [all] Error 2


2010/9/27 Paul Belanger paul.belan...@polybeacon.com

 On Mon, Sep 27, 2010 at 12:09 PM, Danny Dias ing.diasda...@gmail.com
 wrote:
  What should i do?
 
 Try with the lastest DAHDI version, 2.4.0.

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Paul Belanger
On Mon, Sep 27, 2010 at 1:09 PM, Danny Dias ing.diasda...@gmail.com wrote:
 The same problem!

What is the output from the following?

$ ls -la /lib/modules/

$ ls -la /usr/src/linux

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
Hello Paul,

Here is the output of the commands:

r...@sangoma-testing:/home# ls -la /lib/modules/
total 12
drwxr-xr-x  3 root root 4096 2010-09-24 10:21 .
drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64

r...@sangoma-testing:/home# ls -la /usr/src/linux
lrwxrwxrwx 1 root src 28 2010-09-27 12:26 /usr/src/linux -
linux-headers-2.6.26-2-amd64

Seems to be OK, isn't?

Thanks!


2010/9/27 Paul Belanger paul.belan...@polybeacon.com

 On Mon, Sep 27, 2010 at 1:09 PM, Danny Dias ing.diasda...@gmail.com
 wrote:
  The same problem!
 
 What is the output from the following?

 $ ls -la /lib/modules/

 $ ls -la /usr/src/linux

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Jim Dickenson
Did you install the header files after ./configure was run? If so redo the 
./configure command and see what that does.
-- 
Jim Dickenson
mailto:dicken...@cfmc.com

CfMC
http://www.cfmc.com/



On Sep 27, 2010, at 3:57 PM, Danny Dias wrote:

 Hello Paul,
 
 Here is the output of the commands:
 
 r...@sangoma-testing:/home# ls -la /lib/modules/
 total 12
 drwxr-xr-x  3 root root 4096 2010-09-24 10:21 .
 drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
 drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64
 
 r...@sangoma-testing:/home# ls -la /usr/src/linux
 lrwxrwxrwx 1 root src 28 2010-09-27 12:26 /usr/src/linux - 
 linux-headers-2.6.26-2-amd64
 
 Seems to be OK, isn't?
 
 Thanks!
 
 
 2010/9/27 Paul Belanger paul.belan...@polybeacon.com
 On Mon, Sep 27, 2010 at 1:09 PM, Danny Dias ing.diasda...@gmail.com wrote:
  The same problem!
 
 What is the output from the following?
 
 $ ls -la /lib/modules/
 
 $ ls -la /usr/src/linux
 
 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com
 
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
Thanks Jim,

What do you mean with redo ?

I did not run the ./configure, i'm installing dahdi-linux and just need :
make  make install

The problem is when i issue make

Thanks for your answer my friend!

2010/9/28 Jim Dickenson dicken...@cfmc.com

 Did you install the header files after ./configure was run? If so redo the
 ./configure command and see what that does.
 --
 Jim Dickenson
 mailto:dicken...@cfmc.com dicken...@cfmc.com

 CfMC
 http://www.cfmc.com/



 On Sep 27, 2010, at 3:57 PM, Danny Dias wrote:

 Hello Paul,

 Here is the output of the commands:

 r...@sangoma-testing:/home# ls -la /lib/modules/
 total 12
 drwxr-xr-x  3 root root 4096 2010-09-24 10:21 .
 drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
 drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64

 r...@sangoma-testing:/home# ls -la /usr/src/linux
 lrwxrwxrwx 1 root src 28 2010-09-27 12:26 /usr/src/linux -
 linux-headers-2.6.26-2-amd64

 Seems to be OK, isn't?

 Thanks!


 2010/9/27 Paul Belanger paul.belan...@polybeacon.com

 On Mon, Sep 27, 2010 at 1:09 PM, Danny Dias ing.diasda...@gmail.com
 wrote:
  The same problem!
 
 What is the output from the following?

 $ ls -la /lib/modules/

 $ ls -la /usr/src/linux

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Danny Dias
Sorry Paul,

My mistake...i repeat the commands again:

r...@sangoma-testing:/usr/src# ls -la /lib/modules/
total 28
drwxr-xr-x  7 root root 4096 2010-09-27 19:35 .
drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
drwxr-xr-x  3 root root 4096 2010-09-27 19:29 2.6.26-1-amd64
drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64
drwxr-xr-x  2 root root 4096 2010-09-27 19:35 2.6.26-2-openvz-amd64
drwxr-xr-x  2 root root 4096 2010-09-27 19:35 2.6.26-2-vserver-amd64
drwxr-xr-x  2 root root 4096 2010-09-27 19:35 2.6.26-2-xen-amd64

r...@sangoma-testing:/usr/src# ls -la /usr/src/linux
ls: cannot access /usr/src/linux: No such file or directory

Is that Ok?

2010/9/28 Danny Dias ing.diasda...@gmail.com

 Hello Paul,

 Here is the output of the commands:

 r...@sangoma-testing:/home# ls -la /lib/modules/
 total 12
 drwxr-xr-x  3 root root 4096 2010-09-24 10:21 .
 drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
 drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64

 r...@sangoma-testing:/home# ls -la /usr/src/linux
 lrwxrwxrwx 1 root src 28 2010-09-27 12:26 /usr/src/linux -
 linux-headers-2.6.26-2-amd64

 Seems to be OK, isn't?

 Thanks!


 2010/9/27 Paul Belanger paul.belan...@polybeacon.com

 On Mon, Sep 27, 2010 at 1:09 PM, Danny Dias ing.diasda...@gmail.com
 wrote:

  The same problem!
 
 What is the output from the following?

 $ ls -la /lib/modules/

 $ ls -la /usr/src/linux

 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Paul Belanger
On Mon, Sep 27, 2010 at 6:57 PM, Danny Dias ing.diasda...@gmail.com wrote:
 r...@sangoma-testing:/home# ls -la /lib/modules/
 total 12
 drwxr-xr-x  3 root root 4096 2010-09-24 10:21 .
 drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
 drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64

$ cat /lib/modules/2.6.26-2-amd64/build/.config

 r...@sangoma-testing:/home# ls -la /usr/src/linux
 lrwxrwxrwx 1 root src 28 2010-09-27 12:26 /usr/src/linux -

$ cat /usr/src/linux/.config

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Paul Belanger
On Mon, Sep 27, 2010 at 7:36 PM, Danny Dias ing.diasda...@gmail.com wrote:
 Is that Ok?

$ uname -r

Also what version of Debian?

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Jim Dickenson
Do you not need to do a ./configure command before make  make install? If so 
issue the ./configure command again and see if that fixes the problem.
-- 
Jim Dickenson
mailto:dicken...@cfmc.com

CfMC
http://www.cfmc.com/



On Sep 27, 2010, at 4:32 PM, Danny Dias wrote:

 Thanks Jim,
 
 What do you mean with redo ?
 
 I did not run the ./configure, i'm installing dahdi-linux and just need : 
 make  make install
 
 The problem is when i issue make
 
 Thanks for your answer my friend!
 
 2010/9/28 Jim Dickenson dicken...@cfmc.com
 Did you install the header files after ./configure was run? If so redo the 
 ./configure command and see what that does.
 -- 
 Jim Dickenson
 mailto:dicken...@cfmc.com
 
 CfMC
 http://www.cfmc.com/
 
 
 
 On Sep 27, 2010, at 3:57 PM, Danny Dias wrote:
 
 Hello Paul,
 
 Here is the output of the commands:
 
 r...@sangoma-testing:/home# ls -la /lib/modules/
 total 12
 drwxr-xr-x  3 root root 4096 2010-09-24 10:21 .
 drwxr-xr-x 13 root root 4096 2010-09-27 12:57 ..
 drwxr-xr-x  4 root root 4096 2010-09-27 09:06 2.6.26-2-amd64
 
 r...@sangoma-testing:/home# ls -la /usr/src/linux
 lrwxrwxrwx 1 root src 28 2010-09-27 12:26 /usr/src/linux - 
 linux-headers-2.6.26-2-amd64
 
 Seems to be OK, isn't?
 
 Thanks!
 
 
 2010/9/27 Paul Belanger paul.belan...@polybeacon.com
 On Mon, Sep 27, 2010 at 1:09 PM, Danny Dias ing.diasda...@gmail.com wrote:
  The same problem!
 
 What is the output from the following?
 
 $ ls -la /lib/modules/
 
 $ ls -la /usr/src/linux
 
 --
 Paul Belanger | dCAP
 Polybeacon | Consultant
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 blog.polybeacon.com
 
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Problems compiling Asterisk on Debian

2010-09-27 Thread Paul Belanger
On Mon, Sep 27, 2010 at 9:05 PM, Jim Dickenson dicken...@cfmc.com wrote:
 Do you not need to do a ./configure command before make  make install? If
 so issue the ./configure command again and see if that fixes the problem.

No, it does not exist for DAHDI.

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users