Debian 6, Botan 1.8.9 + Bine10-devel-20120301

Jonathan Stewart jonathan.stewart at gmail.com
Fri Mar 2 18:47:29 UTC 2012


Hi Jeremy,

Thanks for the response.

Here is what i hope is relevant from the config.log file.

configure:15877: checking for pkg-config
configure:15910: result: no
configure:15936: checking for botan-config
configure:15954: found /usr/bin/botan-config
configure:15966: result: /usr/bin/botan-config
configure:16029: checking botan/botan.h usability
configure:16029: g++ -c -g -O2 -I/usr/include   -DOS_LINUX conftest.cpp >&5
configure:16029: $? = 0
configure:16029: result: yes
configure:16029: checking botan/botan.h presence
configure:16029: g++ -E -I/usr/include   -DOS_LINUX conftest.cpp
configure:16029: $? = 0
configure:16029: result: yes
configure:16029: checking for botan/botan.h
configure:16029: result: yes
configure:16057: g++ -o conftest -g -O2 -I/usr/include   -DOS_LINUX
-R/usr/lib                conftest.cpp  -L/usr/lib -lbotan -lbz2
-lcrypto -lgmp -lpthread -lrt -lz  -lbotan -lbz2 -lcrypto -lgmp
-lpthread -lrt -lz >&5
g++: unrecognized option '-R/usr/lib'
/usr/bin/ld: cannot find -lbz2
collect2: ld returned 1 exit status
configure:16057: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "bind10-devel"
| #define PACKAGE_TARNAME "bind10-devel"
| #define PACKAGE_VERSION "20120301"
| #define PACKAGE_STRING "bind10-devel 20120301"
| #define PACKAGE_BUGREPORT "bind10-dev at isc.org"
| #define PACKAGE_URL ""
| #define PACKAGE "bind10-devel"
| #define VERSION "20120301"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PYTHON_H 1
| #define HAVE_STDBOOL_H 1
| #define OS_LINUX 1
| #define HAVE_BOTAN_BOTAN_H 1
| /* end confdefs.h.  */
| #include <botan/botan.h>
|                           #include <botan/hash.h>
|
| int
| main ()
| {
| using namespace Botan;
|                           LibraryInitializer::initialize();
|                           HashFunction *h = get_hash("MD5");
|
|   ;
|   return 0;
| }
configure:16061: result: checking for Botan library... no
configure:16063: error: Needs Botan library 1.8 or higher

PKG-CONFIG:
root at debian1:~/bind10-devel-20120301# pkg-config --libs botan
Package botan was not found in the pkg-config search path.
Perhaps you should add the directory containing `botan.pc'
to the PKG_CONFIG_PATH environment variable
No package 'botan' found

BOTAN-CONFIG:
root at debian1:~/bind10-devel-20120301# botan-config --libs
-lbotan -lbz2 -lcrypto -lgmp -lpthread -lrt -lz

Let me know if you need additional information.

Thanks,
Jonathan

On Thu, Mar 1, 2012 at 22:14, Jeremy C. Reed <jreed at isc.org> wrote:
> Also please provide the output of the following.
>
> pkg-config --libs botan
>
> (if that doesn't work see if you have a different botan*pc file to get
> details from)
>
> botan-config --libs
>
> And thanks for trying out BIND 10!
>



-- 
     Jonathan


More information about the bind10-users mailing list