Compile release 20100701 failure on OS X
Jeremy C. Reed
jreed at isc.org
Thu Aug 12 23:50:38 UTC 2010
On Thu, 12 Aug 2010, Anand Buddhdev wrote:
> I tried to compile bind10-devel-20100701 on MacOS X 10.6.4.
>
> I have a MacPorts tree, and I've used that to install Python 3, and then
> run:
>
> /usr/bin/autoreconf
> ./configure --with-pythonpath=/opt/local/bin/python3.1
>
> This runs for a bit, and then fails with:
>
> ...
> ...
> checking for size_t... yes
> checking for sa_len in struct sockaddr... yes
> checking for pkg-config... yes
> ./configure: line 16327: syntax error near unexpected token `SQLITE,'
> ./configure: line 16327: `PKG_CHECK_MODULES(SQLITE, sqlite3 >= 3.3.9,
> enable_features="$enable_features SQLite3")'
>
> I've got both the system sqlite (version 3.6.12) as well as MacPorts
> sqlite (version 3.7.0.1) installed.
>
> Any idea why it won't finish the configure stage?
Thank you very much for testing BIND 10.
It looks like your autoconf environment is missing the pkg-config macro.
Our configure script provided in the tarball should work fine, but when
you ran "autoreconf" it was overwritten.
We had a workaround in the configure.ac for this, but didn't seem to
work right in your environment.
If you really want to use autoreconf, make sure you have pkg.m4 for
aclocal (like /usr/share/aclocal/pkg.m4) and sqlite3.pc for
pkg-config (like /usr/lib/pkgconfig/sqlite3.pc). (The directories may
be different.)
Also please consider using a newer release of BIND 10. In fact, the
latest development release is today!
Jeremy C. Reed
ISC
More information about the bind10-users
mailing list