Page MenuHomePhabricator

No OneTemporary

diff --git a/docs/INSTALL.linux b/docs/INSTALL.linux
index 334ed3ec..c0646808 100644
--- a/docs/INSTALL.linux
+++ b/docs/INSTALL.linux
@@ -1,172 +1,173 @@
Debian installation
-------------------
For Debian testing or unstable on an i386 architecture there is an official
-public repository provided by AG Projects. Install the AG Projects debian
-software signing key:
+public repository provided by AG Projects.
-wget http://download.ag-projects.com/agp-debian-gpg.key apt-key add
-agp-debian-gpg.key
+Install the AG Projects debian software signing key:
-Add these lines in etc/apt/sources.list
+wget http://download.ag-projects.com/agp-debian-gpg.key
+sudo apt-key add agp-debian-gpg.key
+
+Add these lines at the end of etc/apt/sources.list
# AG Projects software
deb http://ag-projects.com/debian unstable main
deb-src http://ag-projects.com/debian unstable main
-After that, run:
+Then install the software:
-apt-get update
-apt-get install sipclient
+sudo apt-get update
+sudo apt-get install sipclient
Building from sources
---------------------
The installation procedure includes 4 steps described below:
Step 1. Install dependencies
Step 2. Compile PJSIP C library
Step 3. Build the Python library
Step 4. Install the library system wide
Step 1. Install dependencies
For Linux Debian (unstable or testing)
--------------------------------------
apt-get install subversion python-dnspython python-setuptools python-lxml \
cython python-application python-twisted
For other distributions
-----------------------
Use the appropriate package manager and install the same packages. Some
Linux distributions might not have up to date versions of all required
packages. To install the latest versions of the python components use the
easy_install script provided in python-setuptools package. For example to
install the latest versions of dnspython and cython on Ubuntu OS use:
sudo easy_install dnspython
sudo easy_install cython
For Nokia Internet tablet N810
-----------------------------
Install the diablo sdk and debfarm catalogues referenced from:
http://www.gronmayer.com/it/index.php
apt-get install libc6-dev subversion python2.5-cython python2.5-setuptools
python2.5-libxml2 libxslt1-dev zlib1g-dev flash-and-reboot initfs-flasher
kernel-diablo-flasher libasound2-dev
easy_install dnspython
easy_install python-application
easy_install twisted
easy_install lxml
Install the python-xcaplib library from:
http://download.ag-projects.com/OpenXCAP/clients/
Step 2. Compile PJSIP C library
Check out the PJSIP project in the pypjua main directory:
svn co http://svn.pjsip.org/repos/pjproject/trunk pjsip
Go to the PJSIP directory and compile it (after changing the UDP message limit to 64K):
cd pjsip
grep PJSIP_MAX_PKT_LEN pjlib/include/pj/config_site.h >/dev/null || echo '#define PJSIP_MAX_PKT_LEN 65536' >>pjlib/include/pj/config_site.h
make distclean
./configure
make
Note that, on some platforms like amd64 you may need to supply -fPIC flag to
the compiler, otherwise although the compilation will succeed, later attempt
to use the library will not.
make distclean
make HOST_CFLAGS=-fPIC
Step 3. Build the Python library
--------------------------------
Go to the main pypjua directory and build the library by running:
sh ./build_inplace
Step 4. Install the library system wide
---------------------------------------
To install the library and the command line tools system wide:
sudo python setup.py install
The command line tools are installed in the system executable path and
starting with sip_.
Building the Debian package
---------------------------
You need the following packages before trying to build a debian package:
apt-get install subversion python-dnspython python-setuptools python-lxml \
cython python-application python-twisted build-essential libasound2-dev \
python-setuptools cdbs debhelper python-all-dev python-support cython
Check out the PJSIP project from the pypjua main directory:
svn co http://svn.pjsip.org/repos/pjproject/trunk pjsip
Go to the PJSIP directory and compile it:
cd pjsip
make distclean
./configure
make
Note that, on some platforms (as seen on amd64) you may need to supply -fPIC
flag to compiler, otherwise although the compilation will succeed, later
attempts to use the library will not.
make distclean
make HOST_CFLAGS=-fPIC
Go back to the software root directory and make a source distribution
tarball:
debuild clean
python setup.py sdist
Go to the dist directory and untar the tarball just created:
cd dist
tar xvzf *.tar.gz
Change to the distribution directory and:
ln -s ../../pjsip pjsip
./build_inplace
dpkg-buildpackage
You will now have a Debian package in the upper level directory.
Notes
-----
- For testing the library see README.txt in the scripts directory
- The unix user must belong to the 'audio' group
- OSS drivers are not supported. You must use ALSA drivers.
diff --git a/docs/INSTALL.osx b/docs/INSTALL.osx
index 04936d97..0a3281c9 100644
--- a/docs/INSTALL.osx
+++ b/docs/INSTALL.osx
@@ -1,73 +1,100 @@
-Install dependencies
---------------------
+
+Fink installation
+-----------------
+
+A ready to install fink package is available for MacOSX 10.5 (Leopard) on an
+Intel architecture.
+
+First download and install fink from http://www.finkproject.org
+
+Add these lines at the end of /sw/etc/apt/sources.list:
+
+deb http://download.ag-projects.com/fink local main
+deb http://download.ag-projects.com/fink stable main crypto
+deb http://download.ag-projects.com/fink unstable main crypto
+
+Then install the software:
+
+sudo apt-get update
+sudo apt-get install sipclient
+
+
+Building from sources
+---------------------
+
+The installation procedure includes 4 steps described below:
+
+Step 1. Install dependencies
+Step 2. Compile PJSIP C library
+Step 3. Build the Python library
+Step 4. Install the library system wide
+
+
+Step 1. Install dependencies
+----------------------------
The software works on MacOSx 10.5 or newer on Intel CPUs only. You must have
installed the Apple Developer tools before proceeding to the next steps.
-Install fink from http://www.finkproject.org/download
+First download and install fink from http://www.finkproject.org
Install libxml2 and libxslt (you may need to open a new console for the new
PATH settings to take effect):
sudo fink install libxml2 libxslt
sudo easy_install lxml
sudo easy_install cython
sudo easy_install python-application
sudo easy_install dnspython
An alternative method to install the above python packages is to download,
unpack and run (as root):
sudo python setup.py build; sudo python setup.py install
for each of them in the directories where they were unpacked.
Install the python-xcaplib library from:
http://download.ag-projects.com/OpenXCAP/clients/
-Compile PJSIP library
----------------------
+Step 2. Compile PJSIP C library
+-------------------------------
-Check out PJSIP from SVN in the pypjua main directory:
+Check out the PJSIP project in the pypjua main directory:
svn co http://svn.pjsip.org/repos/pjproject/trunk pjsip
-Compile pjsip C library (after changing the UDP message limit to 64K):
+Go to the PJSIP directory and compile it (after changing the UDP message limit to 64K):
cd pjsip
grep PJSIP_MAX_PKT_LEN pjlib/include/pj/config_site.h >/dev/null || echo '#define PJSIP_MAX_PKT_LEN 65536' >>pjlib/include/pj/config_site.h
make distclean
-CFLAGS="-arch i386" ./configure
+./configure
make
-Building pypjua library
------------------------
+Step 3. Build the Python library
+--------------------------------
-Go to the main pypjua directory and build the library:
+Go to the main pypjua directory and build the library by running:
-cd..
-./build_inplace
+sh ./build_inplace
-which generates:
-pypjua/_pjsip.c
-pypjua/_pjsip.so
+Step 4. Install the library system wide
+---------------------------------------
-The _pjsip.so library can then be imported in the target software.
-
-
-Installing the library
-----------------------
-
-To install system-wide the library and the sample scripts run:
+To install the library and the command line tools system wide:
sudo python setup.py install
+The command line tools are installed in the system executable path and
+starting with sip_.
+
-Testing the library
--------------------
+Building the fink package
+-------------------------
-See README.txt in the scripts directory directory.
+To be written.

File Metadata

Mime Type
text/x-diff
Expires
Sat, Feb 1, 10:37 AM (22 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3489212
Default Alt Text
(8 KB)

Event Timeline