Difference between revisions of "DeveloperQuickstart"

From reSIProcate
Jump to navigation Jump to search
(Created page with " === Using reSIProcate as a library === * On Linux, the quickest way to start may be using the packages on Debian, Ubuntu or Fedora ** The dev/devel packages will install all...")
 
Line 14: Line 14:
  
 
<code>
 
<code>
$ wget http://www.resiprocate.org/files/pub/reSIProcate/releases/resiprocate-${VERSION}.tar.gz
+
$ wget http://www.resiprocate.org/files/pub/reSIProcate/releases/resiprocate-${VERSION}.tar.gz
$ tar xzf resiprocate-${VERSION}.tar.gz
+
$ tar xzf resiprocate-${VERSION}.tar.gz
$ cd resiprocate-${VERSION}
+
$ cd resiprocate-${VERSION}
$ ./configure
+
$ ./configure
$ make
+
$ make
$ make check
+
$ make check
 
</code>
 
</code>
  
Line 29: Line 29:
  
 
<code>
 
<code>
$ git clone https://github.com/resiprocate/resiprocate
+
$ git clone https://github.com/resiprocate/resiprocate
$ cd resiprocate
+
$ cd resiprocate
$ autoreconf -fi
+
$ '''autoreconf -fi'''
$ ./configure
+
$ ./configure
$ make
+
$ make
$ make check
+
$ make check
 
</code>
 
</code>
  

Revision as of 04:05, 11 September 2014

Using reSIProcate as a library

  • On Linux, the quickest way to start may be using the packages on Debian, Ubuntu or Fedora
    • The dev/devel packages will install all the necessary headers for you.
  • If you need the latest code, if you are working on a platform without packages like Windows, see the instructions at the bottom

Customizing the repro SIP proxy

  • You may be able to make your changes in a plugin using C or Python
  • If you need the latest code or you want to make changes that can't be implemented as part of a plugin, see the instructions underneath

Build from source tarball

$ wget http://www.resiprocate.org/files/pub/reSIProcate/releases/resiprocate-${VERSION}.tar.gz
$ tar xzf resiprocate-${VERSION}.tar.gz
$ cd resiprocate-${VERSION}
$ ./configure
$ make
$ make check

Building code from the repository

  • Note that working with the repository, you may need to run the autoreconf tool. That is not necessary when working with a release tarball.

Linux / command line users

$ git clone https://github.com/resiprocate/resiprocate
$ cd resiprocate
$ autoreconf -fi
$ ./configure
$ make
$ make check

Windows users