Changes between Version 4 and Version 5 of Python_SIP/Build_Install
- Timestamp:
- Jul 24, 2008 10:27:17 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python_SIP/Build_Install
v4 v5 14 14 15 15 1. '''Python''': this normally should have been installed on every Linux. 16 1. '''Python development package''', to build the C extension. 16 1. '''Python development package''', to build the C extension. This might be called {{{python-devel}}} (e.g. on Fedora) or {{{python2.4-dev}}} (e.g. on Ubuntu). 17 17 18 18 ==== Building the Module ==== … … 20 20 1. Build the PJSIP libraries first with the usual "{{{./configure && make dep && make}}}" commands. 21 21 1. Go to {{{pjsip-apps/src/python}}} directory. 22 1. Run '''{{{'sudo python ./setup.py install'}}}''' or just '''{{{ sudo make'''}}}22 1. Run '''{{{'sudo python ./setup.py install'}}}''' or just '''{{{'sudo make'}}}''' 23 23 24 24 Sample session: … … 37 37 ==== Requirements ==== 38 38 39 1. '''Python SDK''' 40 1. '''Optional: debug package''' 39 1. '''Python SDK''': I personally use [ftp://ftp.activestate.com/ActivePython/windows/2.4/ ActivePython-2.4.3-12] distribution from [http://www.activestate.com ActiveState], since it has a matching debug package. 40 1. '''Optional: debug package''': the debug package is useful if you want to debug the C extension. You can download it from ftp://ftp.activestate.com/ActivePython/etc/ 41 41 42 ==== Building the Module ====42 ==== Building the Module with Visual Studio ==== 43 43 Using Microsoft Visual Studio projects: 44 44 1. Open '''pjsip-apps.dsw''' from {{{pjsip-apps\build}}} directory.