Asterisk Install Issue

Hello,

I have been trying to install Asterisk 1.4.0 for three days now to no avail. I am using a remote server with shell (ssh) root access.

I am using a LAMP server with kernel version 2.6.19-1_3.BHsmp.

The configure seems to go well. The first “make” (make clean) seems to run perfectly

I get the following message when the second “make” (make) compiles…

±-------- Asterisk Build Complete ---------+

  • Asterisk has successfully been built, and +
  • can be installed by running: +
  •                                       +
    
  •           make install                +
    

±------------------------------------------+

When I try the third make (make install), I keep getting the folowing message…

make[1]: Nothing to be done for all'. make[1]: Nothing to be done forall’.
make[1]: Nothing to be done for all'. make[1]: Nothing to be done forall’.
make[1]: Nothing to be done for all'. make[1]: Nothing to be done forall’.
make[1]: Nothing to be done for all'. make[1]: Nothing to be done forall’.
make[1]: Nothing to be done for all'. make[1]: Nothing to be done forall’.
make[1]: Nothing to be done for all'. if [ x/usr/bin/id -un= xroot ]; then CFLAGS="-pipe -Wall -Wstrict-prototypes -Wmissing -prototypes -Wmissing-declarations -g3 -include /home/phonebxc/public_html/include/asteri sk/autoconfig.h -march=k8 " sh build_tools/mkpkgconfig /usr/lib/pkgconfig; fi mkdir -p /var/lib/asterisk/static-http mkdir: cannot create directory/var/lib/asterisk’: Permission denied
make: *** [datafiles] Error 1

I tried changing all the permissions to read, write, execute (777) for each file and folder. I tried creating the directories myself. Nothing seems to work.

I am hoping someone can assist me with the install.

Also, I have not yet installed Zaptel. Do I have to install that first? Do I put Zaptel in the root or within asterisk directory?

Thank you.

Jay

An old post but i’ll answer it just in case anyone else brings it up in a search.

Install zaptel first, then modprobe zaptel
modprobe wctdm(if you have a TDM400 card)
or modprobe wcfxo(if you have an X100P card)
or modprobe ztdummy(if you have no card installed)

Then run the asterisk install following the info in the output.
Make sure you are logged in as root for the “make install”