fixing (hopefully) the buildopal.sh script to actually build properly

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13892 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Raymond Chandler 2009-06-22 16:56:33 +00:00
parent 2b8f736f6d
commit 95fd78f881
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
FS_DIR=`pwd`
cd /root cd /root
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
cd ptlib cd ptlib
@ -6,8 +7,11 @@ cd ptlib
make make
make install make install
cd .. cd ..
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk opal svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6 opal
cd opal cd opal
PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure --prefix=/usr export PKG_CONFIG_PATH=/usr/lib/pkgconfig
./configure --prefix=/usr
make make
make install make install
cd ${FS_DIR}
make mod_opal-install

View File

@ -25,6 +25,7 @@ alias e='emacs'
alias tcommit='svn commit --no-auth-cache --username=anthm' alias tcommit='svn commit --no-auth-cache --username=anthm'
alias mcommit='svn commit --no-auth-cache --username=mikej' alias mcommit='svn commit --no-auth-cache --username=mikej'
alias bcommit='svn commit --no-auth-cache --username=brian' alias bcommit='svn commit --no-auth-cache --username=brian'
alias icommit='svn commit --no-auth-cache --username=intralanman'
alias dp='emacs /usr/local/freeswitch/conf/dialplan/default.xml' alias dp='emacs /usr/local/freeswitch/conf/dialplan/default.xml'
alias fstop='top -p `cat /usr/local/freeswitch/log/freeswitch.pid`' alias fstop='top -p `cat /usr/local/freeswitch/log/freeswitch.pid`'
alias fsgdb='gdb /usr/local/freeswitch/bin/freeswitch `cat /usr/local/freeswitch/log/freeswitch.pid`' alias fsgdb='gdb /usr/local/freeswitch/bin/freeswitch `cat /usr/local/freeswitch/log/freeswitch.pid`'