Changes between Version 4 and Version 5 of Python_SIP/Build_Install


Ignore:
Timestamp:
Jul 24, 2008 10:27:17 AM (16 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python_SIP/Build_Install

    v4 v5  
    1414 
    1515 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). 
    1717 
    1818==== Building the Module ==== 
     
    2020 1. Build the PJSIP libraries first with the usual "{{{./configure && make dep && make}}}" commands. 
    2121 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'}}}''' 
    2323 
    2424Sample session: 
     
    3737==== Requirements ==== 
    3838 
    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/ 
    4141 
    42 ==== Building the Module ==== 
     42==== Building the Module with Visual Studio ==== 
    4343Using Microsoft Visual Studio projects: 
    4444 1. Open '''pjsip-apps.dsw''' from {{{pjsip-apps\build}}} directory.