Compiling and Installing Yate from SVN on FreeBSD

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "Follow the steps bellow to install and compile the latest version of Yate from SVN source on FreeBSD9. ===Prerequisites=== For fetching and building Yate from SVN you will n...")
 
Line 8: Line 8:
  
 
  pKg_add -r subversion
 
  pKg_add -r subversion
+
 
 
* Basic software development tools:
 
* Basic software development tools:
  

Revision as of 17:04, 13 December 2012

Follow the steps bellow to install and compile the latest version of Yate from SVN source on FreeBSD9.

Contents

Prerequisites

For fetching and building Yate from SVN you will need the following:

  • A subversion(svn) client to fetch Yate from SVN source.
pKg_add -r subversion
  • Basic software development tools:
  • The autoconf configuration script builder. After fetching Yate you will have to run autogen.sh to generate the configure file, but if autoconf is missing, an error will be given:
Please install Gnu autoconf to build from CVS.
cd /usr/ports/devel/autoconf
make install clean
  • Development libraries for all optional modules in Yate you want to compile like:
Read more about them and others in modules page.

Get the sources

Once you have the svn client installed getting the sources is a simple command:

cd /usr/src
svn checkout http://voip.null.ro/svn/yate/trunk yate
cd yate

This will fetch a copy of the SVN TRUNK in a new directory called yate.

Prepare and configure the sources

Run autogen.sh script to generate the configure file.

./autogen.sh
Finished! Now run configure. If in doubt run ./configure --help

This script will warn if autoconf is missing and will prepare a configure script for you if everything is OK.

You can now run the configure script:

./configure
checking for local operating system type... FreeBSD
checking for libraries directory name... lib
checking for g++... g++
...

Look at the configure output and check that all features you need are detected. If not, install what is missing.

Compile the sources

Use make command:

 gmake
 gmake -C ./engine all
 gmake[1]: Entering directory `/usr/src/yate/engine'
 ........


Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers