Difference between revisions of "Sip"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.riverbankcomputing.com/Downloads/sip4/sip- | + | | http://www.riverbankcomputing.com/static/Downloads/sip4/sip-{{Sip-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.|http://www.riverbankcomputing.com/software/sip/intro}} | ||
== Dependencies == | == Dependencies == | ||
Line 40: | Line 42: | ||
Compile the package: | Compile the package: | ||
+ | sed -i '/lib_dir/s:"lib":"lib32":' configure.py && | ||
USE_ARCH=n32 python configure.py && | USE_ARCH=n32 python configure.py && | ||
make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LINK='$(CXX)' | make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LINK='$(CXX)' | ||
Line 51: | Line 54: | ||
Compile the package: | Compile the package: | ||
− | USE_ARCH=64 python configure.py && | + | sed -i '/lib_dir/s:"lib":"lib64":' configure.py && |
+ | USE_ARCH=64 python configure.py && | ||
make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LINK='$(CXX)' | make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LINK='$(CXX)' | ||
Line 57: | Line 61: | ||
make install | make install | ||
+ | |||
+ | == Contents == | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | !Installed Directories: | ||
+ | |None | ||
+ | |-valign="top" | ||
+ | !Installed Programs: | ||
+ | |sip | ||
+ | |-valign="top" | ||
+ | !Installed Libraries: | ||
+ | |/usr/lib/python{{Python-Version2}}/site-packages/sip.so | ||
+ | |} | ||
+ | |||
+ | [[Category:Python Modules]] |
Latest revision as of 09:34, 19 October 2010
Download Source: | http://www.riverbankcomputing.com/static/Downloads/sip4/sip-4.10.tar.gz |
---|
Contents
Introduction to Sip
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
Project Homepage: http://www.riverbankcomputing.com/software/sip/intro
Dependencies
Required
Non-Multilib
Compile the package:
python configure.py && make
Install the package
make install
Multilib
32Bit
Compile the package:
USE_ARCH=32 python configure.py && make CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" LINK='$(CXX)'
Install the package
make install
N32
Compile the package:
sed -i '/lib_dir/s:"lib":"lib32":' configure.py && USE_ARCH=n32 python configure.py && make CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LINK='$(CXX)'
Install the package
make install
64Bit
Compile the package:
sed -i '/lib_dir/s:"lib":"lib64":' configure.py && USE_ARCH=64 python configure.py && make CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LINK='$(CXX)'
Install the package
make install
Contents
Installed Directories: | None |
---|---|
Installed Programs: | sip |
Installed Libraries: | /usr/lib/python2.7/site-packages/sip.so |