Difference between revisions of "D-BUS Python"

From CBLFS
Jump to navigationJump to search
 
(5 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
=== Required ===
 
=== Required ===
* [[D-BUS Core]]
 
 
* [[D-BUS Glib]]
 
* [[D-BUS Glib]]
* [[Pkg-config]]
 
 
* [[Python]]
 
* [[Python]]
* [[Pyrex]]
+
=== Optional (To Build Documentation) ===
 +
* [[Docutils]]
 +
* [[Epydoc]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 18: Line 18:
 
Compile the package:
 
Compile the package:
  
  python setup.py build
+
  ./configure --prefix=/usr &&
 +
make
  
 
Install the package:
 
Install the package:
  
  python setup.py install
+
  make install
  
 
== Multilib ==
 
== Multilib ==
Line 29: Line 30:
  
 
Compile the package:
 
Compile the package:
 
+
export USE_ARCH=32 &&
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 python setup.py build
+
CC="gcc ${BUILD32}" \
 +
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
./configure --prefix=/usr &&
 +
make
  
 
Install the package:
 
Install the package:
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 python setup.py install
+
  make install &&
 +
unset USE_ARCH
  
 
=== N32 ===
 
=== N32 ===
Line 40: Line 45:
 
Compile the package:
 
Compile the package:
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 python setup.py build
+
export USE_ARCH=n32 &&
 +
CC="gcc ${BUILDN32}" \
 +
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 +
./configure --prefix=/usr --libdir=/usr/lib32 &&
 +
make
  
 
Install the package:
 
Install the package:
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 python setup.py install
+
  make install &&
 +
unset USE_ARCH
  
 
=== 64 Bit ===
 
=== 64 Bit ===
Line 50: Line 60:
 
Compile the package:
 
Compile the package:
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 python setup.py build
+
export USE_ARCH=64 &&
 +
CC="gcc ${BUILD64}" \
 +
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
./configure --prefix=/usr --libdir=/usr/lib64 &&
 +
make
  
 
Install the package:
 
Install the package:
  
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 python setup.py install
+
  make install &&
 +
unset USE_ARCH

Latest revision as of 05:40, 27 April 2009

Python Binding: http://dbus.freedesktop.org/releases/dbus-python/dbus-python-0.83.0.tar.gz

Dependencies

Required

Optional (To Build Documentation)

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package:

make install &&
unset USE_ARCH

N32

Compile the package:

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install &&
unset USE_ARCH

64 Bit

Compile the package:

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install &&
unset USE_ARCH