make bind-9.7.4-P1 fails when --prefix and --exec-prefix switches are used

Red Cricket red.cricket.blog at gmail.com
Thu Nov 17 20:27:38 UTC 2011


Hi,

I have been working on upgrading from bind-9.7.3-P3 to bind-9.7.4-P1
to patch for cve-2011-4313.

Here is what I am doing ...

rcricket at dws-rch-rcricket-l:~$ wget
http://ftp.isc.org/isc/bind9/9.7.4-P1/bind-9.7.4-P1.tar.gz
...
rcricket at dws-rch-rcricket-l:~$ tar -zxf bind-9.7.4-P1.tar.gz
rcricket at dws-rch-rcricket-l:~$ mkdir BIND_INSTALL_DIR
rcricket at dws-rch-rcricket-l:~$ cd bind-9.7.4-P1
rcricket at dws-rch-rcricket-l:~/bind-9.7.4-P1$ ./configure
--disable-openssl-version-check
--prefix=/users/rcricket/BIND_INSTALL_DIR
--exec-prefix=/users/rcricket/BIND_INSTALL_DIR
...
rcricket at dws-rch-rcricket-l:~/bind-9.7.4-P1$ make
...
gcc  -I/users/rcricket/bind-9.7.4-P1 -I./include -I./unix/include -I.
-I/users/rcricket/bind-9.7.4-P1/lib/lwres/include
-I../../lib/lwres/unix/include -I../../lib/lwres/include
-I/users/rcricket/bind-9.7.4-P1/lib/dns/include
-I../../lib/dns/include
-I/users/rcricket/bind-9.7.4-P1/lib/bind9/include
-I../../lib/bind9/include
-I/users/rcricket/bind-9.7.4-P1/lib/isccfg/include
-I../../lib/isccfg/include
-I/users/rcricket/bind-9.7.4-P1/lib/isccc/include
-I../../lib/isccc/include
-I/users/rcricket/bind-9.7.4-P1/lib/isc/include -I../../lib/isc
-I../../lib/isc/include -I../../lib/isc/unix/include
-I../../lib/isc/nothreads/include -I../../lib/isc/x86_32/include
-D_GNU_SOURCE -g -O2  -W -Wall -Wmissing-prototypes -Wcast-qual
-Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  \
-DVERSION=\"9.7.4-P1\" \
-DCONFIGARGS="\"'--disable-openssl-version-check'
'--prefix=/users/rcricket/BIND_INSTALL_DIR'
'--exec-prefix=/users/rcricket/BIND_INSTALL_DIR'\"" \
        -DNS_LOCALSTATEDIR=\"/users/rcricket/BIND_INSTALL_DIR/var\" \
        -DNS_SYSCONFDIR=\"/users/rcricket/BIND_INSTALL_DIR/etc\" -c ./main.c
gcc.orig: '--prefix=/users/rcricket/BIND_INSTALL_DIR': No such file or directory
gcc.orig: '--exec-prefix=/users/rcricket/BIND_INSTALL_DIR'": No such
file or directory
In file included from ./main.c:62:
./include/named/globals.h:68: error: missing terminating " character
./include/named/globals.h:68: error: syntax error before ')' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/apps/users/rcricket/bind-9.7.4-P1/bin/named'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/apps/users/rcricket/bind-9.7.4-P1/bin'
make: *** [subdirs] Error 1

If I run configure without the -prefix and -exec-prefix switches make
completes without error, but I would like to be able to use the
-prefix and -exec-prefix switches.

Thanks
Russ



More information about the bind-users mailing list