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.

 *** Error code 1


The likely solution is listed in the error message.



dark knight neo wrote:
Hello everyone,
I'm trying compiling the patch of bind .. and the following error occur:

# patch -p0 < 007_bind.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- usr.sbin/bind/bin/named/update.c   (revision 1875)
|+++ usr.sbin/bind/bin/named/update.c   (working copy)
--------------------------
Patching file usr.sbin/bind/bin/named/update.c using Plan A...
Hunk #1 succeeded at 861.
done
# cd usr.sbin/bind
# make -f Makefile.bsd-wrapper obj
/usr/src/usr.sbin/bind/obj -> /usr/obj/usr.sbin/bind
# make -f Makefile.bsd-wrapper depend
# Nothing here so far...
# make -f Makefile.bsd-wrapper
PATH="/bin:/usr/bin:/sbin:/usr/sbin"  CC="cc" CFLAGS="-O2 -pipe  "
LDFLAGS=""  INSTALL_PROGRAM="install -c -s"  sh
/usr/src/usr.sbin/bind/configure --prefix=/usr  --localstatedir=/var
--sysconfdir=/etc  --disable-shared  --disable-threads
--disable-openssl-version-check
checking build system type... i386-unknown-openbsd4.5
checking host system type... i386-unknown-openbsd4.5
checking whether make sets $(MAKE)... yes
checking for ranlib... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
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.

*** Error code 1

Stop in /usr/src/usr.sbin/bind (line 70 of
/usr/src/usr.sbin/bind/Makefile.bsd-wrapper)

How proceced ?

Thanks in advanced .

Reply via email to