Asterisk Linux Mandrake

Asterisk on Mandrake Linux


General

...

Since Mandrake 10.1, asterisk is available in contrib, with the zaptel tools available in the zaptel-utils package. The zaptel drivers are available in contrib (as a dkms package dkms-zaptel) since Mandriva 2005. Installing an asterisk system on Mandriva 2005 can be done with 'urpmi asterisk zaptel-utils dkms-zaptel' if you have a contrib medium available, which should install all the necessary packages (including kernel-source-2.6 and dkms to be able to build the drivers via dkms). Note that if you prefer not installing compilers etc. on your asterisk system that you can use 'dkms mkrpm -m zaptel -k `uname -r` -v `rpm -q --qf "%{VERSION}\n" dkms-zaptel`' on another system to build binary driver RPMS, where `uname -r` is actually the result on your asterisk server.

Mandrake 9.1


>  make: bison: Command not found
>  make: *** [ast_expr.c] Error 127


IIRC Mandrake 9.1 does not have Bison it has Bison++ or something, I had
the same problems and took a real Bison rpm from an earlier release.

Mandrake 10.1


Several problems depending on install type

> make: bison: Command not found
> make: *** [ast_expr.c] Error 127^

Solution: Bison is missing (get bison-1.875-4mdk.i586.rpm)

>bison ast_expr.y --name-prefix=ast_yy -o ast_expr.c
>make: *** [ast_expr.c] Broken pipe^

Solution: M4 missing (get m4-1.4.1-1mdk.i586.rpm)

>/usr/bin/ld: cannot find -lssl 
>collect2:  ld returned 1 exit status^

Solution: openssl-devel is missing (get libopenssl0.9.7-devel-0.9.7d-1mdk.i586.rpm)

In file included from chan_phone.c:35:
/usr/include/linux/ixjuser.h:353: error: syntax error before '*' token
chan_phone.c: In function `phone_read':
chan_phone.c:405: warning: assignment discards qualifiers from pointer target type
make[1]: *** [chan_phone.o] Error 1^
Solution: edit /usr/include/linux/ixjuser.h file. Change the following line (353):
^IXJ_CADENCE_ELEMENT __user *ce;  <-------line 353^
You must add a , (comma):
^IXJ_CADENCE_ELEMENT __user, *ce;^


NOTE — The above is also a problem on CentOS kernel 2.6.9-42.0.3... the same fix allows you to compile asterisk on that kernel. — mxyoung 3-3-2007

UDEV setup.

The README.udev in the current CVS states the file to edit is
/etc/udev/rules.d/50-udev.rules

But for Mandrake 10.1 it is in the same directory but the file name is 01-devfs.rules


Mandrake 10.2beta3


In file rhconfig.h, at line 43 there is a typo.
The "&& &&" should be "&&" instead. Romove one set of '&&'.

Mandrake 10.2RC2 and 10.2 LE2005


The version of * included in contrib for these two is still 1.0.7

The version is cooker's contrib is 1.0.8
Don't let the rpm version confuse you: asterisk-1.1-0.20050529.1mdk.i586.rpm
According to the spec file changelog:
  • Wed Jun 29 2005 Oden Eriksson <oeriksson@mandriva.com> 1.1-20050529.1mdk
- use a more appropriate version because this is really HEAD and not 1.0.8

  • Tue May 31 2005 Oden Eriksson <oeriksson@mandriva.com> 1.0.8-0.20050529.1mdk
- new snap (20050529)
- bristuff-0.2.0-RC8f-CVS (P3)


Mandriva 2006

Currently asterisk-1.1-0.20050529.1mdk


Asterisk on Mandrake Linux


General

...

Since Mandrake 10.1, asterisk is available in contrib, with the zaptel tools available in the zaptel-utils package. The zaptel drivers are available in contrib (as a dkms package dkms-zaptel) since Mandriva 2005. Installing an asterisk system on Mandriva 2005 can be done with 'urpmi asterisk zaptel-utils dkms-zaptel' if you have a contrib medium available, which should install all the necessary packages (including kernel-source-2.6 and dkms to be able to build the drivers via dkms). Note that if you prefer not installing compilers etc. on your asterisk system that you can use 'dkms mkrpm -m zaptel -k `uname -r` -v `rpm -q --qf "%{VERSION}\n" dkms-zaptel`' on another system to build binary driver RPMS, where `uname -r` is actually the result on your asterisk server.

Mandrake 9.1


>  make: bison: Command not found
>  make: *** [ast_expr.c] Error 127


IIRC Mandrake 9.1 does not have Bison it has Bison++ or something, I had
the same problems and took a real Bison rpm from an earlier release.

Mandrake 10.1


Several problems depending on install type

> make: bison: Command not found
> make: *** [ast_expr.c] Error 127^

Solution: Bison is missing (get bison-1.875-4mdk.i586.rpm)

>bison ast_expr.y --name-prefix=ast_yy -o ast_expr.c
>make: *** [ast_expr.c] Broken pipe^

Solution: M4 missing (get m4-1.4.1-1mdk.i586.rpm)

>/usr/bin/ld: cannot find -lssl 
>collect2:  ld returned 1 exit status^

Solution: openssl-devel is missing (get libopenssl0.9.7-devel-0.9.7d-1mdk.i586.rpm)

In file included from chan_phone.c:35:
/usr/include/linux/ixjuser.h:353: error: syntax error before '*' token
chan_phone.c: In function `phone_read':
chan_phone.c:405: warning: assignment discards qualifiers from pointer target type
make[1]: *** [chan_phone.o] Error 1^
Solution: edit /usr/include/linux/ixjuser.h file. Change the following line (353):
^IXJ_CADENCE_ELEMENT __user *ce;  <-------line 353^
You must add a , (comma):
^IXJ_CADENCE_ELEMENT __user, *ce;^


NOTE — The above is also a problem on CentOS kernel 2.6.9-42.0.3... the same fix allows you to compile asterisk on that kernel. — mxyoung 3-3-2007

UDEV setup.

The README.udev in the current CVS states the file to edit is
/etc/udev/rules.d/50-udev.rules

But for Mandrake 10.1 it is in the same directory but the file name is 01-devfs.rules


Mandrake 10.2beta3


In file rhconfig.h, at line 43 there is a typo.
The "&& &&" should be "&&" instead. Romove one set of '&&'.

Mandrake 10.2RC2 and 10.2 LE2005


The version of * included in contrib for these two is still 1.0.7

The version is cooker's contrib is 1.0.8
Don't let the rpm version confuse you: asterisk-1.1-0.20050529.1mdk.i586.rpm
According to the spec file changelog:
  • Wed Jun 29 2005 Oden Eriksson <oeriksson@mandriva.com> 1.1-20050529.1mdk
- use a more appropriate version because this is really HEAD and not 1.0.8

  • Tue May 31 2005 Oden Eriksson <oeriksson@mandriva.com> 1.0.8-0.20050529.1mdk
- new snap (20050529)
- bristuff-0.2.0-RC8f-CVS (P3)


Mandriva 2006

Currently asterisk-1.1-0.20050529.1mdk


Created by: wylie, Last modification: Tue 24 of Apr, 2012 (00:07 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+