Somthing like
 
apt-get install zlib1g
 
must fix it !!
 
Kim Christensen
 
 
 
 
----- Original Message -----
To: [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 4:17 PM
Subject: [dnsadmin] Compiling problems

Hi There,
 
I've tried for several house to compile Dnsadmin without succes. Im running an Debian Linux 3.0, and i use the following configure:
 
 
./configure --enable-tinydnsdir=/etc/tinydns/root  --enable-user=myuser --enable-password=mypass --enable-hostname=localhost --enable-database=dnsadmin --enable-libdir=/var/lib/mysql --enable-incdir=/usr/include/mysql
And ./configure runs without problems, but make give the following error
 
debian:~/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 -lmy
sqlclient -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
debian:~/dns/dnsadmin-0.7#
Can anyone point me in the ri�ght direction?
 
Futhermore im a bit confused about the tinydnsdir - is that the path to the executeble file? or the data file?
 
Thanks in advance,
Michael Andreasen,
Denmark
 
 

Reply via email to