The libcddb is a library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://downloads.sourceforge.net/libcddb/libcddb-1.3.2.tar.bz2
MD5 校验和:8bb4a6f542197e8e9648ae597cd6bc8a
大小:384 KB
预计所需磁盘空间:3.9 MB(含测试)
预计构建时间:0.2 SBU(含测试)
libcdio-2.1.0 (for cddb_query to read CDs)
An Internet connection is needed for some tests of this package. The system certificate store may need to be set up with make-ca-1.16.1 before testing this package.
By default this package accesses freedb.org, which is already closed. Modify the
default to use gnudb.gnudb.org
instead, and fix two stale test data files:
sed -e '/DEFAULT_SERVER/s/freedb.org/gnudb.gnudb.org/' \
-e '/DEFAULT_PORT/s/888/&0/' \
-i include/cddb/cddb_ni.h &&
sed '/^Genre:/s/Trip-Hop/Electronic/' -i tests/testdata/920ef00b.txt &&
sed '/DISCID/i# Revision: 42' -i tests/testcache/misc/12340000
Fix a problem building with gcc-14 and later:
sed -i 's/size_t l;/socklen_t l;/' lib/cddb_net.c
Install libcddb by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make
check -k. The test suite needs an Internet
connection. The test named “Check non-existing disc server read” fails
because the test incorrectly assumes no discs have the ID
0x11111111. Another test fails due to
an attempt to use the closed freedb2.org
server.
Now, as the root user:
make install