Forrest Aldrich wrote:
So, just remove those executables and then do another "make" and it should work.
I did that, it changed nothing, it still only compiles dnsadmin.
Taking a clue from a previous thread, I manually compiled the utilities, dnsloadzone, dnsfix and dnsdata.
Using:
gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c dnsutil.c
gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c dnsloadzone.c
gcc -g -O2 -Wall -o dnsloadzone dnsloadzone.o dnsutil.o -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lcrypt
dnsloadzone seemed to work, it created the mysql database and populated it.
gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c dnsfix.c
gcc -g -O2 -Wall -o dnsfix dnsfix.o -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lcrypt
dnsfix did something?
gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c dnsdata.c
gcc -g -O2 -Wall -o dnsdata dnsdata.o -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lcrypt
dnsdata did some conversion, then crashed in flames with: Segmentation fault (core dumped)
Another perplexing problem is that I expected that once the mysql database was loaded that the dnsadmin cgi script would operate on it? When I invoke the web based utility, it sees nothing.
Regards -- Dean Billing
