Hi Eduardo,
seems we miss a check for adler32 function in zlib library in autoconf.
Thanks, this will be in next release (443e6732a7), or you can use following patch:
diff --git a/configure.ac b/configure.ac
index 3501423..5f7fc28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,7 +147,7 @@ AC_SEARCH_LIBS([dlopen], [dl])
AC_SEARCH_LIBS([clock_gettime], [rt])
AC_SEARCH_LIBS([OpenSSL_add_all_digests], [crypto],[], [AC_MSG_ERROR([libcrypto not
found])])
AC_SEARCH_LIBS([capng_apply], [cap-ng])
-AC_SEARCH_LIBS([crc32], [z])
+AC_SEARCH_LIBS([adler32], [z])
#AC_SEARCH_LIBS([ldns_rr_list_pop_rrset], [ldns], [], [AC_MSG_ERROR([libldns not
found])])
# Checks for header files.
You need to run "autoreconf -fi" after applying the patch.
Ondrej
On 25. 7. 2012, at 17:04, Eduardo Duarte <eduardo.duarte(a)fccn.pt> wrote:
Hello,
I'm new to KNOT and I'm trying to install it on a CentOS 6.3 (Final) minimal
install, I already updated openssl to the newest version and install all the
pre-requirements but when I run make command I get the following error:
*************************
BINDIR=\"/usr/local/sbin\" -g -O2 -fpredictive-commoning -I/usr/local/include
-mmmx -msse -msse2 -msse3 -MT journal.lo -MD -MP -MF .deps/journal.Tpo -c
knot/server/journal.c -fPIC -DPIC -o .libs/journal.o
In file included from knot/server/journal.c:26:
./common/crc.h:30:18: error: zlib.h: No such file or directory
In file included from knot/server/journal.c:26:
./common/crc.h: In function 'crc_init':
./common/crc.h:49: warning: implicit declaration of function 'adler32'
make[2]: *** [journal.lo] Error 1
make[2]: Leaving directory `/root/knot-1.0.6/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/knot-1.0.6/src'
make: *** [all-recursive] Error 1
*************************
Can any of you guys help me?
Best regards,
--
Eduardo Duarte
SIT-DNS
DNS.PT -
https://www.dns.pt/
FCCN -
http://www.fccn.pt/
_______________________________________________
knot-dns-users mailing list
knot-dns-users(a)lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users
--
Ondřej Surý -- Chief Science Officer
-------------------------------------------
CZ.NIC, z.s.p.o. -- Laboratoře CZ.NIC
Americka 23, 120 00 Praha 2, Czech Republic
mailto:ondrej.sury@nic.cz
http://nic.cz/
tel:+420.222745110 fax:+420.222745112
-------------------------------------------