SipInstallation » History » Version 49
Adrian Georgescu, 03/21/2009 12:52 PM
| 1 | 1 | Adrian Georgescu | = Installation guide = |
|---|---|---|---|
| 2 | 20 | Adrian Georgescu | |
| 3 | 22 | Adrian Georgescu | [[TOC(WikiStart, Sip*, depth=3)]] |
| 4 | 1 | Adrian Georgescu | |
| 5 | 23 | Adrian Georgescu | == Supported platforms == |
| 6 | |||
| 7 | 33 | Adrian Georgescu | Currently i386, amd64 and ppc architectures have been tested and are fully supported on the following operating systems: |
| 8 | 23 | Adrian Georgescu | |
| 9 | 28 | Adrian Georgescu | * Linux |
| 10 | * MacOSX |
||
| 11 | * FreeBSD |
||
| 12 | 23 | Adrian Georgescu | |
| 13 | 49 | Adrian Georgescu | Porting to other operating systems (like Windows, Symbian and iPhone) is possible as the Python environment and [http://www.pjsip.org/sip_media_features.htm#platforms PJSIP] are supported by these platform. |
| 14 | 1 | Adrian Georgescu | |
| 15 | 49 | Adrian Georgescu | == Debian package (stable version) == |
| 16 | 37 | Adrian Georgescu | |
| 17 | 44 | Adrian Georgescu | For people running Debian 5.0 or Ubuntu 8.10 there is a debian package ready for use available from the public repository provided by AG Projects. To install the debian package add these lines in /etc/apt/sources.list |
| 18 | 37 | Adrian Georgescu | |
| 19 | {{{ |
||
| 20 | # AG Projects software |
||
| 21 | deb http://ag-projects.com/debian unstable main |
||
| 22 | deb-src http://ag-projects.com/debian unstable main |
||
| 23 | }}} |
||
| 24 | |||
| 25 | Install the AG Projects debian software signing key: |
||
| 26 | |||
| 27 | {{{ |
||
| 28 | wget http://download.ag-projects.com/agp-debian-gpg.key |
||
| 29 | apt-key add agp-debian-gpg.key |
||
| 30 | }}} |
||
| 31 | |||
| 32 | After that, run: |
||
| 33 | |||
| 34 | {{{ |
||
| 35 | 1 | Adrian Georgescu | apt-get update |
| 36 | apt-get install sipclient |
||
| 37 | }}} |
||
| 38 | 49 | Adrian Georgescu | |
| 39 | == Tar archieve (stable version) == |
||
| 40 | |||
| 41 | A tar archive with the current stable version is available at: |
||
| 42 | |||
| 43 | http://download.ag-projects.com/SipClient/ |
||
| 44 | 37 | Adrian Georgescu | |
| 45 | |||
| 46 | 38 | Adrian Georgescu | == Development version == |
| 47 | 1 | Adrian Georgescu | |
| 48 | 35 | Adrian Georgescu | The source code is managed using [http://darcs.net darcs] version control tool. The darcs repository can be fetched with: |
| 49 | 1 | Adrian Georgescu | |
| 50 | {{{ |
||
| 51 | 14 | Adrian Georgescu | darcs get http://devel.ag-projects.com/repositories/python-sipsimple |
| 52 | 1 | Adrian Georgescu | }}} |
| 53 | |||
| 54 | To obtain the incremental changes after the initial get, go to the sipsimpleclient directory and run: |
||
| 55 | |||
| 56 | {{{ |
||
| 57 | 14 | Adrian Georgescu | cd python-sipsimple |
| 58 | 1 | Adrian Georgescu | darcs pull |
| 59 | }}} |
||
| 60 | |||
| 61 | 25 | Adrian Georgescu | == Building instructions == |
| 62 | 1 | Adrian Georgescu | |
| 63 | Building instructions for the corresponding platforms are available at: |
||
| 64 | |||
| 65 | * [source:docs/INSTALL.linux INSTALL.linux] |
||
| 66 | * [source:docs/INSTALL.osx INSTALL.osx] |
||
| 67 | * [source:docs/INSTALL.freebsd INSTALL.freebsd] |
||
| 68 | 17 | Adrian Georgescu | |
| 69 | 45 | Adrian Georgescu | The build process can be fine-tuned for various options (like for using a specific version of underlying pjsip library): |
| 70 | |||
| 71 | {{{ |
||
| 72 | adigeo@ag-imac3:python setup.py build_ext --help |
||
| 73 | Common commands: (see '--help-commands' for more) |
||
| 74 | |||
| 75 | setup.py build will build the package underneath 'build/' |
||
| 76 | setup.py install will install the package |
||
| 77 | |||
| 78 | Global options: |
||
| 79 | --verbose (-v) run verbosely (default) |
||
| 80 | --quiet (-q) run quietly (turns verbosity off) |
||
| 81 | --dry-run (-n) don't actually do anything |
||
| 82 | --help (-h) show detailed help message |
||
| 83 | |||
| 84 | Options for 'PJSIP_build_ext' command: |
||
| 85 | --build-lib (-b) directory for compiled extension modules |
||
| 86 | --build-temp (-t) directory for temporary files (build by-products) |
||
| 87 | --inplace (-i) ignore build-lib and put compiled extensions into |
||
| 88 | the source directory alongside your pure Python |
||
| 89 | modules |
||
| 90 | --include-dirs (-I) list of directories to search for header files |
||
| 91 | (separated by ':') |
||
| 92 | --define (-D) C preprocessor macros to define |
||
| 93 | --undef (-U) C preprocessor macros to undefine |
||
| 94 | --libraries (-l) external C libraries to link with |
||
| 95 | --library-dirs (-L) directories to search for external C libraries |
||
| 96 | (separated by ':') |
||
| 97 | --rpath (-R) directories to search for shared C libraries at |
||
| 98 | runtime |
||
| 99 | --link-objects (-O) extra explicit link objects to include in the link |
||
| 100 | --debug (-g) compile/link with debugging information |
||
| 101 | --force (-f) forcibly build everything (ignore file timestamps) |
||
| 102 | --compiler (-c) specify the compiler type |
||
| 103 | --swig-cpp make SWIG create C++ files (default is C) |
||
| 104 | --swig-opts list of SWIG command line options |
||
| 105 | --swig path to the SWIG executable |
||
| 106 | --pyrex-cplus generate C++ source files |
||
| 107 | --pyrex-create-listing write errors to a listing file |
||
| 108 | --pyrex-include-dirs path to the Cython include files (separated by ':') |
||
| 109 | --pyrex-c-in-temp put generated C files in temp directory |
||
| 110 | --pyrex-gen-pxi generate .pxi file for public declarations |
||
| 111 | --pjsip-svn-repo PJSIP SVN repository to checkout from |
||
| 112 | --pjsip-svn-revision PJSIP SVN revision to fetch |
||
| 113 | --pjsip-clean-compile Clean PJSIP tree before compilation |
||
| 114 | --help-compiler list available compilers |
||
| 115 | |||
| 116 | }}} |
||
| 117 | |||
| 118 | |||
| 119 | 19 | Adrian Georgescu | == Upgrade instructions == |
| 120 | 15 | Adrian Georgescu | |
| 121 | * [browser:docs/Upgrade.txt Upgrade guide] |
||
| 122 | 1 | Adrian Georgescu | |
| 123 | 26 | Adrian Georgescu | == How to un-install == |
| 124 | 15 | Adrian Georgescu | |
| 125 | * [browser:docs/UnINSTALL.txt Uninstall guide] |