Difference between revisions of "Sip"

From CBLFS
Jump to navigationJump to search
(64Bit)
(64Bit)
Line 53: Line 53:
  
 
Compile the package:
 
Compile the package:
 +
 +
For 64-bit -d should be passed as an argument to configure.py.
 +
List available options, with: python configure.py -h
  
 
  Does not work ==sed -i "s:/lib:&64:g" configure.py &&==
 
  Does not work ==sed -i "s:/lib:&64:g" configure.py &&==

Revision as of 06:16, 5 January 2008

Download Source: http://www.riverbankcomputing.com/Downloads/sip4/sip-4.10.tar.gz

Introduction to Sip

Project Homepage: Unknown

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 "s:/lib:&32:g" 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:

For 64-bit -d should be passed as an argument to configure.py. List available options, with: python configure.py -h

Does not work ==sed -i "s:/lib:&64:g" configure.py &&==

export USE_ARCH=64
python configure.py -d /usr/lib64/python2.5/site-packages

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
Retrieved from "?title=Sip&oldid=12548"