I followed the README to the letter but when trying to 'make' I get the following error:
make[2]: *** No rule to make target `mysqldb.c', needed by `named'. Stop.
Using bind-9.3.2 and mysql-devel-4.1.13-3
After much fiddling, the following addition to bin/named/Makefile appeared to do the trick:
mysqldb.o: ${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \ -DVERSION=\"${VERSION}\" \ -DNS_LOCALSTATEDIR=\"${localstatedir}\" \ -c ${srcdir}/mysqldb.c
Log in to post a comment.
I followed the README to the letter but when trying to 'make' I get the following error:
make[2]: *** No rule to make target `mysqldb.c', needed by `named'. Stop.
Using bind-9.3.2 and mysql-devel-4.1.13-3
After much fiddling, the following addition to bin/named/Makefile appeared to do the trick:
mysqldb.o:
${LIBTOOL_MODE_COMPILE} ${CC} ${ALL_CFLAGS} \ -DVERSION=\"${VERSION}\" \ -DNS_LOCALSTATEDIR=\"${localstatedir}\" \ -c ${srcdir}/mysqldb.c