BIND 10 #1640: incomplete pc file for botan and wrong filename for botan-config
BIND 10 Development
do-not-reply at isc.org
Fri Mar 9 02:13:59 UTC 2012
#1640: incomplete pc file for botan and wrong filename for botan-config
-------------------------------------+-------------------------------------
Reporter: jreed | Owner: jelte
Type: | Status: reviewing
defect | Milestone:
Priority: low | Sprint-20120320
Component: build | Resolution:
system | Sensitive: 0
Keywords: | Sub-Project: Core
Defect Severity: N/A | Estimated Difficulty: 4
Feature Depending on Ticket: | Total Hours: 0
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jaspain):
As a point of information, the botan developers changed their file naming
convention between botan 1.8 and botan 1.10. In botan 1.10, the libraries
have a version number appended. In 1.8 they do not. I don't have `botan-
config` installed, but below is the result of `pkg-config` and the
contents of botan-1.10.pc:
{{{
root at ns0:~# pkg-config --libs botan-1.10
-lbotan-1.10
root at ns0:~# find / -name botan-config
root at ns0:~# find / -name botan-1.10.pc
/usr/lib/pkgconfig/botan-1.10.pc
/root/bind10_install/Botan-1.10.1/build/botan-1.10.pc
root at ns0:~# cat /usr/lib/pkgconfig/botan-1.10.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/botan-1.10
Name: Botan
Description: Multi-platform C++ crypto library
Version: 1.10.1
Libs: -L${libdir} -lbotan-1.10
Libs.private: -ldl -lpthread -lrt
Cflags: -I${includedir}
}}}
Thus bind10 `configure` needs to be able to deal with both unversioned and
versioned botan libaray names. Previously, e.g. bind10-devel-20120119,
bind10 configure would error out with botan 1.10 installed due to the
versioned library names. The unversioned library names with botan 1.8 were
correctly interpreted by bind10 configure, and so bind10 could be
successfully built.
--
Ticket URL: <http://bind10.isc.org/ticket/1640#comment:14>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list