Today I was trying to upgrade to the latest Asterisk-Addons on my Asterisk server. I am using the 1.4 series (as you all should be by now)
and the most current release of Gentoo Linux. Because Gentoo uses somewhat “unstable” software I have differing versions of libtool.m4 and ltmain.sh. In order to get around this I had to do the following
# cd asterisk-addons-1.4.2
# cd asterisk-ooh323c
# nano configure
and then I had to hit control-w, and search for libtool.m4, once I found the section that it checked for this problem of the software being differing versions I commented it all out. Basically the whole section starting with the beginning if statement of the libtool check all the way to the bottom fi statement.
Next you’ll need to compile the Asterisk-Addons package by doing the following:
# cd ..
# make
Notice that you will be presented with yet another error that it can’t find the library file to copy for you when you try to issue the make install after compiling. This is a simple fix for now, just do this.
# cd asterisk-addons-1.4.2
# cd asterisk-ooh323c
# cd .libs
# cp libchan_h323.1.0.1 libchan_h323.so.1.0.1
Now you can continue with the installation by running this
# cd ..
# make install
That’s it, you should now have chanooh323 available for your asterisk installation. If you have any difficulty let me know in the comments and I’ll try and help.
Comments
Comment by Todd on 2007-07-05 19:12:37 -0500
Thanks, I was pulling my hair out trying to compile the Asterisk addons in Gentoo.
Comment by Matt G on 2007-07-05 19:41:59 -0500
No Problem, glad I was able to help 🙂
Comment by bruno on 2007-10-19 16:23:05 -0500
You can solve, on gentoo, with a simple:
linuxbox# cd asterisk-ooh323c
linuxbox# libtoolize –copy –force
linuxbox# cd ..
linuxbox# make
It worked for me! Bye