Difference between revisions of "D-BUS Python"

From CBLFS
Jump to navigationJump to search
 
 
(6 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
=== Required ===
 
=== Required ===
* [[Pkg-config]]
+
* [[D-BUS Glib]]
 
* [[Python]]
 
* [[Python]]
* [[Pyrex]]
+
=== Optional (To Build Documentation) ===
* dbus-glib
+
* [[Docutils]]
 +
* [[Epydoc]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 17: 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 28: 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 39: 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 49: 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 04: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