Tuesday, March 30, 2010

More Package Installation

-Ran apt-get update to make sure Ubuntu was updated (following general instructions here)


-Trying to figure out the Linux Kernel Header business...
cat /proc/ver
yields:
Linux version 2.6.32.1-rscloud (root@builder.slicehost.com) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9) ) #15 SMP Mon Feb 22 13:22:15 UTC 2010
However
apt-get install linux-headers-`uname -r`
unsurprisingly gives the error
E: Couldn't find package linux-headers-2.6.32.1-rscloud
Tried various combinations of "apt-get install linux-headers-2.6.32***" without success. Left alone for now, but possibly not needed? Will come back to this later. It also might not be possible to install things like this on the VM.

-Following instructions here (which after some Googling seem to be applicable to the cloud setup)...

-Downloaded Asterisk 1.6.2.6 (in cd /usr/src)
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.6.tar.gz
tar -xzvf ./asterisk-1.6.2.6.tar.gz

-Downloaded the add-ons
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.6.2.0.tar.gz
tar -xzvf ./asterisk-addons-1.6.2.0.tar.gz

-Downloaded and installed libmxml
wget http://ftp.easysw.com/pub/mxml/2.5/mxml-2.5.tar.gz
tar –xzvt mxml-2.5
cd mxml-2.5
./configure
make
make install
-Downloaded ilbc codec
cd /usr/src/asterisk-1.4.22.1/codecs/ilbc
wget http://www.ietf.org/rfc/rfc3951.txt
wget http://www.ilbcfreeware.org/documentation/extract-cfile.awk
awk -f extract-cfile.awk rfc3951.txt
Zaptel apparently not needed as we can't add a Digium card.

Taking a break for a while.

2 comments:

  1. Asterisk is available as an apt-get package, or at least it is available as a synaptic package in the graphical version of Ubuntu.

    I have found it useful to use the apt-get install first, get things running at a minimal level so that I have some understanding of the package, then go back and do the hand install if i need a newer version or just want to try it. This approach also probably reflects that I am rarely at the cutting edge of feature requirements and don't really like to compile programs from source.

    Be careful using the remove on apt-get as it might try to remove some things that you don't want to see go.

    ReplyDelete
  2. Oops, I didn't even think to check on that. Definitely would have been simpler.

    ReplyDelete