Dahdhi compilation problems

Hello,

I’m trying to compile dahdi in CentOS 5.7, first I make and make clean libpri. Then I make all Dahdi (the last complete), and when I try make install, this is the output:


2012-05-05 19:15:11 (60.8 KB/s) - `dahdi-fw-oct6114-064-1.05.01.tar.gz’ saved [165869/165869]

Attempting to download dahdi-fw-oct6114-128-1.05.01.tar.gz
–2012-05-05 19:15:12-- downloads.digium.com/pub/telepho … .01.tar.gz
Resolving downloads.digium.com… 2001:470:e0d4::e8
Connecting to downloads.digium.com|2001:470:e0d4::e8|:80… failed: Address family not supported by protocol.
make[2]: *** [dahdi-fw-oct6114-128-1.05.01.tar.gz] Error 1
make[2]: Leaving directory /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make[1]: *** [install-firmware] Error 2 make[1]: Leaving directory/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux’
make: *** [install] Error 2

Is something related with ipv6? (I say for: Connecting to downloads.digium.com|2001:470:e0d4::e8|:80… failed: Address family not supported by protocol.)

Thanks In advance.

Yep. It seems your system is trying to connect via IPv6 - which it doesn’t support.

host downloads.digium.com

downloads.digium.com has address 76.164.171.232
downloads.digium.com has IPv6 address 2001:470:e0d4::e8

While not an asterisk or dahdi problem, it would be something to check on your machine.

Strange. You were able to download and fetch one package but then failed on the next one. My best guess is that there is something off with the configuration on your host since it appears that wget is attempting to connect to an IPV6 address via an IPV4 socket.

What if in drivers/dahdi/firmware/Makefile you change the line that says:

WGET_ARGS:=--continue

to

WGET_ARGS:=--continue -4

in order to force wget to use ipv4 addresses?

You could also edit /etc/wgetrc

To try ipv6 addresses first:

#prefer-family = IPv6

add a line saying
prefer-family = IPv4

This way you don’t have to change any Makefiles