ANNOUNCEMENT: NSD 2.3.4 released

Koh-ichi Ito kohi at bbtower.co.jp
Mon May 8 07:28:42 UTC 2006


Hello, allow me inform you the failure occured while
building NSD 2.3.4.

At Tue, 2 May 2006 13:37:49 +0200,
Miek Gieben wrote:
> 
> 
> NSD 2.3.4 is a bugfix release.
> 
> 
> Please see the README document for configuration and installation
> instructions.

Summary:
make fails with the message 'Error expanding embedded variable.'

Condition:
 OS is FreeBSD 4.11-RELEASE-p16
 make is /usr/bin/make on it.


Everything seems good with GNU make. It was okey with
/usr/bin/make on NSD 2.3.3.

I noticed two odd things.

1. configure lefts the message '[: unexpected operator'.

2. @nsdxfer@ is left on Makefile generated by configure.


What's the matter?

The following is the almost everything I experienced.

Script started on Mon May  8 16:17:15 2006
kohi at alphonse[1]% uname -a
FreeBSD alphonse 4.11-RELEASE-p16 FreeBSD 4.11-RELEASE-p16 #7: Thu Mar 23 14:57:12 JST 2006     kohi at alphonse:/u/FreeBSD4/usr/src-RELENG_4_11/sys/compile/alphonse  i386
kohi at alphonse[2]% which make
/usr/bin/make
kohi at alphonse[3]% ./configure
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for gcc... gcc
	  :
	(snip)
	  :
checking for library containing yp_get_default_domain... none required
checking for SSL... found in /usr
checking for HMAC_CTX_init in -lcrypto... yes
[: unexpected operator
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
kohi at alphonse[4]% sed -ne '1,/^CC/p' Makefile
#
# Makefile -- one file to make them all, nsd(8)
#
# Copyright (c) 2001-2006, NLnet Labs. All rights reserved.
#
# See LICENSE for the license.
#

# Standard installation pathnames
SHELL = /bin/sh
srcdir = .
prefix	= /usr/local
exec_prefix = ${prefix}
sbindir	= ${exec_prefix}/sbin
mandir = ${prefix}/man

# NSD specific pathnames
configdir = /etc/nsd
pidfile = /var/run/nsd.pid
zonesfile = /etc/nsd/nsd.zones
dbfile = /etc/nsd/nsd.db
configfile = /etc/nsd/nsdc.conf
zonesdir = /etc/nsd
nsdxfer = @nsdxfer@
user = nsd

CC		= gcc
kohi at alphonse[5]% make
Error expanding embedded variable.
kohi at alphonse[6]% gmake -v
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for i386-unknown-freebsdelf4.2
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
	Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make at gnu.org>.

kohi at alphonse[7]% gmake
gcc -I/usr/include -DHAVE_CONFIG_H -I. -DDBFILE=\"/etc/nsd/nsd.db\" -DPIDFILE=\"/var/run/nsd.pid\" -DUSER=\"nsd\" -g -O2 -c answer.c -o answer.o
gcc -I/usr/include -DHAVE_CONFIG_H -I. -DDBFILE=\"/etc/nsd/nsd.db\" -DPIDFILE=\"/var/run/nsd.pid\" -DUSER=\"nsd\" -g -O2 -c axfr.c -o axfr.o
	  :
	(snip)
	  :
gcc -g -O2 -L/usr/lib -o nsd-xfer answer.o axfr.o buffer.o dbaccess.o dname.o dns.o edns.o namedb.o nsd-xfer.o packet.o query.o rbtree.o rdata.o region-allocator.o tsig.o tsig-openssl.o util.o b64_pton.o b64_ntop.o pselect.o -lwrap -lcrypto 
rm -f nsdc.sh
sed -e 's, at prefix\@,/usr/local,g' -e 's, at exec_prefix\@,/usr/local,g' -e 's, at sbindir\@,/usr/local/sbin,g' -e 's, at configdir\@,/etc/nsd,g' -e 's, at zonesdir\@,/etc/nsd,g' -e 's, at pidfile\@,/var/run/nsd.pid,g' -e 's, at zonesfile\@,/etc/nsd/nsd.zones,g' -e 's, at dbfile\@,/etc/nsd/nsd.db,g' -e 's, at configfile\@,/etc/nsd/nsdc.conf,g' -e 's, at shell\@,/bin/sh,g' -e 's, at user\@,nsd,g' nsdc.sh.in > nsdc.sh
rm -f nsdc.conf.sample
sed -e 's, at prefix\@,/usr/local,g' -e 's, at exec_prefix\@,/usr/local,g' -e 's, at sbindir\@,/usr/local/sbin,g' -e 's, at configdir\@,/etc/nsd,g' -e 's, at zonesdir\@,/etc/nsd,g' -e 's, at pidfile\@,/var/run/nsd.pid,g' -e 's, at zonesfile\@,/etc/nsd/nsd.zones,g' -e 's, at dbfile\@,/etc/nsd/nsd.db,g' -e 's, at configfile\@,/etc/nsd/nsdc.conf,g' -e 's, at shell\@,/bin/sh,g' -e 's, at user\@,nsd,g' nsdc.conf.sample.in > nsdc.conf.sample
kohi at alphonse[8]% exit
exit

Script done on Mon May  8 16:18:04 2006


T.I.A.

						Koh-ichi Ito
						BroadBand Tower



More information about the nsd-users mailing list