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 20:14:02 UTC 2012
#1640: incomplete pc file for botan and wrong filename for botan-config
-------------------------------------+-------------------------------------
Reporter: jreed | Owner: kevin_tes
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 jreed):
On same OpenBSD system I used for the initial bug report for this ticket,
I now get when setting no related ./configure arguments:
{{{
checking Checking botan version with pkg-config botan-1.10... found
checking botan/botan.h usability... yes
checking botan/botan.h presence... yes
checking for botan/botan.h... yes
checking for Botan library... no
configure: error: Needs Botan library 1.8 or higher. On some systems,
the botan package has a few missing dependencies (libbz2 and
libgmp), if libbotan has been installed and you see this error,
try upgrading to a higher version of botan or installing libbz2
and libgmp.
}}}
Why these three similar steps repeated:?
{{{
configure:20918: checking botan/botan.h usability
configure:20918: g++ -c -g -O2 -I/usr/local/include/botan-1.10 -DOS_BSD
conftes
t.cpp >&5
configure:20918: $? = 0
configure:20918: result: yes
configure:20918: checking botan/botan.h presence
configure:20918: g++ -E -I/usr/local/include/botan-1.10 -DOS_BSD
conftest.cpp
configure:20918: $? = 0
configure:20918: result: yes
configure:20918: checking for botan/botan.h
configure:20918: result: yes
}}}
The failure (as shown at start of this ticket) is:
{{{
configure:20946: g++ -o conftest -g -O2 -I/usr/local/include/botan-1.10
-DOS_BSD -R/usr/local/lib conftest.cpp -L/usr/local/lib -lbotan-1.10
-lbotan-1.10 >&5
/usr/local/lib/libbz2.so.10.4: warning: strcat() is almost always misused,
please use strlcat()
/usr/local/lib/libgmp.so.9.0: warning: strcpy() is almost always misused,
please use strlcpy()
/usr/local/lib/libgmp.so.9.0: warning: vsprintf() is often misused, please
use vsnprintf()
/usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
`pthread_mutex_unlock'
/usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
`pthread_mutex_destroy'
/usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
`pthread_mutex_lock'
/usr/local/lib/libbotan-1.10.so.0.0: undefined reference to
`pthread_mutex_init'
collect2: ld returned 1 exit status
configure:20946: $? = 1
}}}
Probably should not default to checking pkg-config first (it is
incomplete). Do we have systems or versions of botan where the pkgconfig
is preferred? (I think we did and so it is not easy to solve.)
--
Ticket URL: <http://bind10.isc.org/ticket/1640#comment:18>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list