Difference between revisions of "Libcdio"

From CBLFS
Jump to navigationJump to search
 
Line 24: Line 24:
  
 
  make install
 
  make install
 +
 +
The '''cdio/version.h''' header defines a version that breaks other packages such as [[Gst-plugin-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 ==
 
== Multilib ==
Line 62: Line 66:
  
 
  make install
 
  make install
 +
 +
The '''cdio/version.h''' header defines a version that breaks other packages such as [[Gst-plugin-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

Revision as of 10:36, 28 October 2006

Download Source: http://ftp.gnu.org/gnu/libcdio/libcdio-0.78.1.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-plugin-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}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${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}" 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-plugin-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