Hey.. jeg forsøger at compile dnsadmin fra
www.inter7.com til tinydns. jeg
får denne fejl:
-----------
pluto
/dns/dnsadmin-0.7# make
make all-recursive
make[1]: Entering directory `/root/dns/dnsadmin-0.7'
make[2]: Entering directory `/root/dns/dnsadmin-0.7'
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c dnsadmin.c
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c cgi.c
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c template.c
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c global.c
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c acl.c
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c misc.c
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c domain.c
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c lang.c
gcc -g -O2 -Wall -o dnsadmin dnsadmin.o cgi.o template.o global.o acl.o
misc.o domain.o lang.o -lm -lcrypt
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c dnsloadzone.c
dnsloadzone.c:64: warning: `MAX_BUFF' redefined
dnsloadzone.c:32: warning: this is the location of the previous definition
gcc -I. -I/usr/include/mysql -g -O2 -Wall -c dnsutil.c
gcc -g -O2 -Wall -o dnsloadzone dnsloadzone.o
dnsutil.o -L/var/lib/mysql -lmysqlclient -lz -lm -lcrypt
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [dnsloadzone] Error 1
make[2]: Leaving directory `/root/dns/dnsadmin-0.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dns/dnsadmin-0.7'
make: *** [all-recursive-am] Error 2
-----------
Er der nogen der lige umiddelbart kan pege en finger i den rigtige retning?
Kan det evt være mine mysql variabler i .configure der er forkerte.. jeg
bruger disse
MySQL libs = /var/lib/mysql
MySQL includes = /usr/include/mysql
På en Debian / Unstable?
Nogen der kan hjælpe mig videre?
Mvh
Michael