Libcdio

From CBLFS
Revision as of 09:03, 26 December 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: http://ftp.gnu.org/gnu/libcdio/libcdio-0.80.tar.gz

Dependencies

Optional

Non-Multilib

Compile the package:

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

Install the package

make install

The cdio/version.h header defines a version that breaks other packages such as Gst-plugins-good when it tries to determine the version. You can not compare a floating constant in a preprocessor expression.

sed -i "/LIBCDIO_VERSION_NUM/s/78.1/78/g" /usr/include/cdio/version.h

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

The cdio/version.h header defines a version that breaks other packages such as Gst-plugins-good when it tries to determine the version. You can not compare a floating constant in a preprocessor expression.

sed -i "/LIBCDIO_VERSION_NUM/s/78.1/78/g" /usr/include/cdio/version.h