[Asterisk-Users] Please help with install *
Victoria Alexandru
victoria_alexandru at yahoo.com
Tue Mar 8 12:53:14 MST 2005
I started with a fresh Mandrake 10.2beta3 install, and
bellow I'll show what I have on my system, ending with
the attempt to compile zaptel. I failed, so I wouldn't
go any further until I understand what is going wrong.
Could anyone haelp please?
Here is the kernel I'm running:
[root at localhost victoria]# uname -r
2.6.10-3mdk
Required packages and install status:
- kernel sources:
[root at localhost victoria]# rpm -qa |grep kernel
kernel-source-2.6-2.6.10-3mdk
kernel-2.6.10.3mdk-1-1mdk
- ncurses and associated -devel:
[root at localhost victoria]# rpm -qa |grep ncurses
libncurses5-5.4-1.20050108.1mdk
libncurses5-devel-5.4-1.20050108.1mdk
ncurses-5.4-1.20050108.1mdk
- openssl and associated -devel:
[root at localhost victoria]# rpm -qa |grep openssl
libopenssl0.9.7-static-devel-0.9.7e-5mdk
libopenssl0.9.7-devel-0.9.7e-5mdk
openssl-0.9.7e-5mdk
libopenssl0.9.7-0.9.7e-5mdk
- zlib and associated -devel:
[root at localhost victoria]# rpm -qa |grep zlib
zlib1-devel-1.2.2.2-2mdk
zlib1-1.2.2.2-2mdk
- bison and associated -devel: I couldn't find a
-devel package :(
[root at localhost victoria]# urpmi -y bison
The following packages contain bison:
bison
bison++
All bison related packages I have installed:
[root at localhost victoria]# rpm -qa |grep bison
bison-2.0-1mdk
Regarding mpg123 I installed it from CD:
[root at localhost victoria]# rpm -qa |grep mpg123
mpg123-0.59r-23mdk
Checking out from CVS:
[root at localhost victoria]# cd /usr/src
[root at localhost src]# export
CVSROOT=:pserver:anoncvs at cvs.digium.com:/usr/cvsroot
[root at localhost src]# cvs login
Logging in to
:pserver:anoncvs at cvs.digium.com:2401/usr/cvsroot
CVS password:
[root at localhost src]# cvs checkout zaptel libpri
asterisk asterisk-addons asterisk-sounds
.......
U asterisk-sounds/sounds/wx/temperature.gsm
U asterisk-sounds/sounds/wx/wind-chill.gsm
U asterisk-sounds/sounds/wx/winds.gsm
[root at localhost src]#
Atempting to compile zaptel:
[root at localhost src]# cd zaptel
[root at localhost zaptel]# make clean ; make install
rm -f torisatool makefw tor2fw.h radfw.h
rm -f ztcfg torisatool makefw ztmonitor ztspeed
zttest fxotune
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o
gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" makefw.c -o
makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o ztcfg.o
ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
-DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
-DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o -lm -L. libtonezone.a
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o
torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o
ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o
zttest
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE
-DSTANDALONE_ZAPATA
-DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -c -o fxotune.o
fxotune.c
cc -o fxotune fxotune.o -lm
make -C /lib/modules/`uname -r`/build
SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory
`/usr/src/linux-2.6.10-3mdk'
CC [M] /usr/src/zaptel/zaptel.o
In file included from include/linux/autoconf.h:1,
from include/linux/config.h:4,
from /usr/src/zaptel/zconfig.h:9,
from /usr/src/zaptel/zaptel.c:40:
include/linux/rhconfig.h:43:194: operator '&&' has no
right operand
/usr/src/zaptel/zaptel.c: In function `zt_chan_write':
/usr/src/zaptel/zaptel.c:1726: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c: In function
`ioctl_load_zone':
/usr/src/zaptel/zaptel.c:2362: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c: In function
`zt_common_ioctl':
/usr/src/zaptel/zaptel.c:2714: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2774: warning: ignoring
return value of `copy_to_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2777: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2859: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:2889: warning: ignoring
return value of `copy_to_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c: In function
`zt_chanandpseudo_ioctl':
/usr/src/zaptel/zaptel.c:3604: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3614: warning: ignoring
return value of `copy_to_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3617: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3668: warning: ignoring
return value of `copy_to_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c:3672: warning: ignoring
return value of `copy_from_user', declared with
attribute warn_unused_result
/usr/src/zaptel/zaptel.c: At top level:
/usr/src/zaptel/zaptel.c:167: warning: 'fcstab'
defined but not used
make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/zaptel] Error 2
make[1]: Leaving directory
`/usr/src/linux-2.6.10-3mdk'
make: *** [linux26] Error 2
[root at localhost zaptel]#
As you see, I striclty followed the instructions from
Asterisk web site... What can be wrong?
Thanks, V.
--- Dave Cotton <dcotton at linuxautrement.com> wrote:
> On Tue, 2005-03-08 at 11:16 -0500, Doug Lytle wrote:
> > Victoria Alexandru wrote:
> >
> > >
> > > Since Mandrake cooker (10.2beta3) witch I'm
> using is using kernel
> > > 2.6.10, I wander if I have a chance to install
> it properly.
> > > All I have are the 3 installation CDs and it
> looks I'm missing some
> > > packages (bison, and associated -devel, zlib,
> and associated -devel).
> > > Should these be taken from contrib?
> > >
> >
> > Victoria,
> >
> > I strongly suggest that you use Mandrake 10.1
> Official, this has
> > everything you need to compile Asterisk. Please
> take not of the
> > README.udev in the zaptel directory.
>
> Normally I'd say any extra files needed are on the
> mirrors, but for the
> last week MDK have successfully hosed most of the
> mirrors as far as
> urpmi is concerned. You can get the necessary files
> via straight ftp and
> then install them from local copies.
>
> I can assure you that it all works as I'm using
> Cooker updated each day
> and none of the files you need have been changed
> since beta3.
>
>
> --
> Dave Cotton <dcotton at linuxautrement.com>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>
>
http://lists.digium.com/mailman/listinfo/asterisk-users
>
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
More information about the asterisk-users
mailing list