snapshot build fails with /bin/ksh

Will Yardley &- at no.spam.veggiechinese.net
Thu Jul 11 02:39:40 UTC 2002


one of my machines (FreeBSD 4.6 stable) has ksh (ksh93) installed (from
ports, i believe).

with this file in place, i get the following error when configuring bind
9.3.0s20020703 with the following command:

% ./configure --with-openssl
[....]
checking build system type... i386-unknown-freebsd4.6
checking host system type... i386-unknown-freebsd4.6
checking whether make sets ${MAKE}... yes
checking for ranlib... :
checking for a BSD-compatible install... ./../../install-sh -c
checking for ar... no
configure: error:
ar program not found.  Please fix your PATH to include the directory in
which ar resides, or set AR in the environment with the full path to ar.

configure: error: /bin/ksh './configure' failed for lib/bind

jazz% which ar
/usr/bin/ar
jazz% echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/william/bin
jazz% ksh
$ echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/william/bin
$ which ar
/usr/bin/ar

jazz% cat test
#!/bin/ksh
echo $PATH
echo $(which ar)
jazz% ./test 
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/william/bin
/usr/bin/ar

Any idea why I'm getting this error?

Temporarily moving /bin/ksh to /bin/ksh93 fixes the problem, since the
script doesn't find ksh then.

-- 
No copies, please.
To reply privately, simply reply; don't remove anything.


More information about the bind-users mailing list