How to compile Asterisk

From LinuxMCE
Revision as of 22:18, 6 November 2006 by Wikiadmin (Talk | contribs)

Jump to: navigation, search
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.
== Don't read - it's under construction !!! ==

http://plutohome.com/support/mantis/view.php?id=2789

svn co http://svn.plutohome.com/pluto/trunk/external/asterisk

$MakeRelease_Flavor is a problem unspecified.

./make_package.sh 2.6.16.20-pluto-2-686

(also sources should have been installed)...


Rob: is it hard to do it ? (if you guide me, I'll post to Wiki)... radu_c_public: there's a make_package.sh script in that directory that does everything Rob: ok, will try it, thanks...




Here are my notes for compiling Motion Wrapper (after whole procedure I found out that it is already fixed)...

apt-get install subversion
apt-get install g++
apt-get install libmysqlclient14-dev
apt-get install libhttpfetcher-dev
svn co http://svn.plutohome.com/pluto/trunk/src/
cd src
cd SerializeClass/
make
cd ../DCE/
make
cd ../PlutoUtils
make
cd ..
cd ../Motion_Wrapper/
make

after sucessful compilation you can try to run it

../bin/Motion_Wrapper  -d Pluto's ID

Note : Put '#' in front of '<-mkr_t_compile_defines-> ' in coresponding Makefile if you get errors for 'mkr_t_compile_defines'