Libcdio: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | |||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
| Line 47: | Line 48: | ||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | |||
./configure --prefix=/usr --libdir=/usr/lib32 && | ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
make | make | ||
| Line 59: | Line 61: | ||
Compile the package: | Compile the package: | ||
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | |||
./configure --prefix=/usr --libdir=/usr/lib64 && | ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
make | make | ||
Revision as of 08:03, 26 December 2006
| 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