New to Asterisk.. but very ambitious.. zaptel errors

Hello all,

I’m new to Asterisk, but am very anxious to learn and become a valuable member of the community, but right off the bat I’m having some installation errors when dealing with the first step… (reading from O’Reilly book) when trying to install the zaptel drivers. So for I have followed the instructions to a T but when I get to the make clean, make, and make install part I can only manage to get about this far:

brian@brbourdo-asterisk-server:/usr/src/zaptel-1.4.1$ sudo make clean
-p: not found
chkconfig: not found
make[1]: Entering directory /usr/src/zaptel-1.4.1/menuselect' rm -f menuselect gmenuselect *.o make[1]: Leaving directory/usr/src/zaptel-1.4.1/menuselect’
rm -f torisatool makefw tor2fw.h radfw.h
rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool
rm -f .o ztcfg tzdriver sethdlc sethdlc-new
rm -f libtonezone.a .lo
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/usr/src/zaptel-1.4.1 clean
make[1]: Entering directory /usr/src/linux-headers-2.6.20-15-generic' make[1]: Leaving directory/usr/src/linux-headers-2.6.20-15-generic’
make -C xpp/utils clean
make[1]: Entering directory /usr/src/zaptel-1.4.1/xpp/utils' rm -f *.o init_fxo_modes print_modes adj_clock make[1]: Leaving directory/usr/src/zaptel-1.4.1/xpp/utils’
make -C firmware clean
[: 1: ==: unexpected operator
[: 1: ==: unexpected operator
[: 1: ==: unexpected operator
make[1]: Entering directory /usr/src/zaptel-1.4.1/firmware' rm -f zaptel-fw-*.o make[1]: Leaving directory/usr/src/zaptel-1.4.1/firmware’
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone

rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
rm -rf misdn

rm -rf mISDNuser*

brian@brbourdo-asterisk-server:/usr/src/zaptel-1.4.1$ sudo make
-p: not found
chkconfig: not found
checking for gcc… gcc
checking for C compiler default output file name…
configure: error: C compiler cannot create executables
See `config.log’ for more details.
make: *** [config.status] Error 77

Any assistance would be VERY much appreciated!

It’s possible that you have a strange C compiler or make. What Linux distro? What C compiler, make, etc.?

Using cpp 4.1 and Ubuntu. I for some reason had this feeling like ubuntu wasn’t going to cut it as a good server so I’m in the process of download red hat right now. Not sure if the flavor matters, but figured I’d might give a shot.

also I have been using it on a VMWare linux install. not 100% sure if this will cause me any issues later, because when using asterisknow everything boots properly on vmware but it is unable to locate my FXO card.

thanks again for the help

I use Ubuntu. (Haven’t touched RedHat since they closed door to “free as beer” - except when I have to earn beer.) Quite reasonable distro. Have you run configure before make? Can you post the clean: section of Makefile?