Difference between revisions of "DeveloperQuickstart"

From reSIProcate
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
 
=== Build from source tarball ===
 
=== Build from source tarball ===
  
<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
Line 20: Line 19:
 
  $ make
 
  $ make
 
  $ make check
 
  $ make check
</code>
+
 
 +
For a more complete build, instead of the above configure command you can try:
 +
$ ./configure --enable-ipv6 --with-ssl --with-geoip --with-tfm --with-repro --with-mysql --with-popt CXXFLAGS="-I`pwd`/contrib/cajun/include"
  
 
=== Building code from the repository ===
 
=== Building code from the repository ===
Line 28: Line 29:
 
==== Linux / command line users ====
 
==== Linux / command line users ====
  
<code>
+
For a basic build, you can try
 +
 
 
  $ 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 -j12
 
  $ make check
 
  $ make check
</code>
+
 
 +
For a more complete build, instead of the above configure command you can try:
 +
$ ./configure --enable-ipv6 --with-ssl --with-geoip --with-tfm --with-repro --with-mysql --with-popt CXXFLAGS="-I`pwd`/contrib/cajun/include"
  
 
==== Windows users ====
 
==== Windows users ====
  
 
* See [[Quick_Windows_Git_Installation]] and then see [[Quick_Windows_Git_Clone_Checkout]]
 
* See [[Quick_Windows_Git_Installation]] and then see [[Quick_Windows_Git_Clone_Checkout]]
 +
 +
=== Becoming a contributor ===
 +
 +
Did you find a bug and would like to help fix it?  See our guide to [[Contributing]], everybody is welcome to participate.

Latest revision as of 11:16, 21 March 2015

Using reSIProcate as a library[edit]

  • 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[edit]

  • 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[edit]

$ 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

For a more complete build, instead of the above configure command you can try:

$ ./configure --enable-ipv6 --with-ssl --with-geoip --with-tfm --with-repro --with-mysql --with-popt CXXFLAGS="-I`pwd`/contrib/cajun/include"

Building code from the repository[edit]

  • 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[edit]

For a basic build, you can try

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

For a more complete build, instead of the above configure command you can try:

$ ./configure --enable-ipv6 --with-ssl --with-geoip --with-tfm --with-repro --with-mysql --with-popt CXXFLAGS="-I`pwd`/contrib/cajun/include"

Windows users[edit]

Becoming a contributor[edit]

Did you find a bug and would like to help fix it? See our guide to Contributing, everybody is welcome to participate.