Hi Vikas,
Follow the instructions in these three links to set up the build
environment:
http://sipx-wiki.calivia.com/index.php/Setting_up_a_development_environment_on_Fedora
<http://sipx-wiki.calivia.com/index.php/Setting_up_a_development_environment_on_Fedora >
http://sipx-wiki.calivia.com/index.php/Building_as_non-root
http://sipx-wiki.calivia.com/index.php/Building_from_source
And then this is what I do to build (Note: I build a debug image to use eclipse
to debug):
su - sipx
export SIPXPBXUSER=`whoami`
cd ~/sipx
fedora-buildrpmtree
autoreconf -if
mkdir debug
cd ~/sipx/debug
JAVAC_DEBUG=on JAVAC_OPTIMIZED=off ../configure
--cache-file=`pwd`/ac-cache-file SIPXPBXUSER=`whoami`
sudo mkdir -p /usr/local/sipx
sudo chown -R `whoami`:`whoami` /usr/local/sipx
make recurse TARGETS="all install"
or to run unit tests in build:
make build
Paul.
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev