make bind-9.7.4-P1 fails when --prefix and --exec-prefix switches are used
jagan padhi
jagan.padhi at gmail.com
Wed Nov 30 16:27:59 UTC 2011
Hi,
I am facing this issue while compiling 9.7.4-p1 in solaris 10 box.Please
suggest me what could be the issue.
./configure --prefix=/opt/bind971-NXD-1 --enable-threads
--enable-largefiles --disable-openssl-version-check
configure: WARNING: unrecognized options: --enable-largefiles
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... ./configure: line 4579:
/usr/bin/cmp: cannot execute binary file
./configure: line 4579: /usr/bin/cmp: cannot execute binary file
./configure: line 4579: /usr/bin/cmp: cannot execute binary file
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking for ld used by gcc... ./configure: line 4752: s%\\%/%g: No such
file or directory
no
configure: error: no acceptable ld found in $PATH
On Fri, Nov 18, 2011 at 1:57 AM, Red Cricket <red.cricket.blog at gmail.com>wrote:
> 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
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20111130/7583420d/attachment.html>
More information about the bind-users
mailing list