Search Again:

Re: 9.3.0 install error

From: Men & Mice Support
Date: Friday, November 5, 2004
Time: 11:48:09 am

It may be that the software simply won't compile on 10.2.x. I'll have
to look into this.

Chris Buxton
Men & Mice - Making DNS Easy
Customer Service and Sales Engineer

At 1:49 PM -0500 11/5/04, Jim Cobb wrote:
>Chris this what gives me this error too:
>
>[primary:~] root# cd /downloads/bind-9.3.0
>[primary:/downloads/bind-9.3.0] root# ./configure
>checking build system type... powerpc-apple-darwin6.8
>checking host system type... powerpc-apple-darwin6.8
>checking whether make sets $(MAKE)... no
>checking for ranlib... :
>checking for a BSD-compatible install... /usr/bin/install -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.
>
>Where would I set the correct path? This is on 10.2.8-
>
> Jim
>
>On Nov 4, 2004, at 9:14 PM, Men & Mice Support wrote:
>
>>What command gives this error? Do you have the developer tools installed?
>>
>>If you don't have the Apple developer tools installed, download
>>that from Apple and install it first, then try again.
>>
>>On my system, ar is located in /usr/bin, which is always in the
>>PATH on Mac OS X.
>>
>>Chris Buxton
>>Men & Mice - Making DNS Easy
>>Customer Service and Sales Engineer
>>
>>At 4:46 PM -0800 11/4/04, Jody McAlister wrote:
>>>Following the instructions, I get this error. this is my desktop
>>>(setup the same way as the dns servers). I'm trying it here first.
>>>
>>>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.
>>>
>>>On Nov 4, 2004, at 4:03 PM, Men & Mice Support wrote:
>>>
>>>>Sure. I'm going to assume you're currently using BIND 9.2.x.
>>>>
>>>>- Download the source code for BIND 9.3.0 from the ISC.org
>>>>website. Decompress the archive.
>>>>- Open a shell (e.g. a Terminal window) and cd to the directory.
>>>>For example, if you download with normal web browser settings on
>>>>Mac OS X and decompress using Stuffit Expander, you can most
>>>>likely use this command:
>>>>
>>>>cd ~/Desktop/bind-9.3.0
>>>>
>>>>- Execute the following to compile and install:
>>>>
>>>>./configure
>>>>make
>>>>sudo -s
>>>>mv /usr/sbin/named /usr/sbin/named-9.2
>>>>cp bin/named/named /usr/sbin/named
>>>>
>>>>- Continue with the following to test (involves a little downtime
>>>>for your server):
>>>>
>>>>killall named && /usr/sbin/named -4 -g
>>>>
>>>>This opens the new copy in a debugging mode. See if there are any
>>>>error messages. When you're satisfied, type control-c to stop it,
>>>>then execute this to start it normally:
>>>>
>>>>/usr/sbin/named -4
>>>>
>>>>If you see any problems during the debug mode session, fix them.
>>>>If you can't, revert to the old version:
>>>>
>>>>/usr/sbin/named-9.2
>>>>
>>>>- Exit root mode:
>>>>
>>>>exit
>>>>
>>>>- If the new version works for you, modify your boot script (on
>>>>Mac OS X, that's /Library/StartupItems/QuickDNS/named; on
>>>>FreeBSD, it's your normal operating system boot script for named)
>>>>to include the -4 parameter for launching named.
>>>>
>>>>Chris Buxton
>>>>Men & Mice - Making DNS Easy
>>>>Customer Service and Sales Engineer
>>>>
>>>>At 6:36 PM -0500 11/4/04, John May wrote:
>>>>>Chris -
>>>>>
>>>>>Can you repost these instructions?
>>>>>
>>>>> - John
>>>>>
>>>>>>Explicit instructions for compiling version 9.3.0 are included
>>>>>>in the other message thread. If you need more help than that,
>>>>>>feel free to contact me off-list.
>>>>>>
>>>>>>Chris Buxton
>>>>>>Men & Mice - Making DNS Easy
>>>>>>Customer Service and Sales Engineer
>>>>>>
>>>>>>At 1:58 PM -0800 11/4/04, Jody McAlister wrote:
>>>>>>>I have version 9.2.3. I see other threads on how to upgrade
>>>>>>>so I'll read those. But I'm a unix newbie so compiling and
>>>>>>>such is out of my league.
>>>>>>>On Nov 4, 2004, at 11:42 AM, Men & Mice Support wrote:
>>>>>>>
>>>>>>>>What version of named do you have? Apparently, this option is
>>>>>>>>only available with version 9.3.0 and later.
>>>>>>>>
>>>>>>>>You can find out your version with this command:
>>>>>>>>
>>>>>>>>named -v
>>>>>>>>
>>>>>>>>Chris Buxton
>>>>>>>>Men & Mice - Making DNS Easy
>>>>>>>>Customer Service and Sales Engineer
>>>>>>>>
>>>>>>>>At 10:35 AM -0800 11/4/04, Jody McAlister wrote:
>>>>>>>>>I've tried this on two seperate machines , (10.3.2 & 10.3.5)
>>>>>>>>>and QDNS 4.6.1. It kills bind everytime I put the -4 in the
>>>>>>>>>Params setting as instructed below. As soon as I remove it,
>>>>>>>>>all starts up just fine.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>On Nov 1, 2004, at 1:51 PM, Men & Mice Support wrote:
>>>>>>>>>
>>>>>>>>>>We're working along these same lines, but initial tests
>>>>>>>>>>have not been uniformly positive.
>>>>>>>>>>
>>>>>>>>>>If you want to try this as described, a few changes will be
>>>>>>>>>>required to work within the framework provided by QuickDNS.
>>>>>>>>>>I'm going to assume you're using QuickDNS 4.6.1, since if
>>>>>>>>>>you're using an earlier version either you need to update
>>>>>>>>>>(for free if you're using version 4.5 or later), or you're
>>>>>>>>>>probably not having this problem (since you're using BIND
>>>>>>>>>>8).
>>>>>>>>>>
>>>>>>>>>>Instead of modifying
>>>>>>>>>>/System/Library/StartupItems/BIND/BIND, you'll need to
>>>>>>>>>>modify /Library/StartupItems/QuickDNS/named. Look for a
>>>>>>>>>>line like this, near the top:
>>>>>>>>>>
>>>>>>>>>>PARAMS=""
>>>>>>>>>>
>>>>>>>>>>Add -4 inside the quotes, like this:
>>>>>>>>>>
>>>>>>>>>>PARAMS="-4"
>>>>>>>>>>
>>>>>>>>>>This takes care of settings for both starting and
>>>>>>>>>>restarting. To activate it, simply execute this (with root
>>>>>>>>>>privileges):
>>>>>>>>>>
>>>>>>>>>>/Library/StartupItems/QuickDNS/named restart
>>>>>>>>>>
>>>>>>>>>>Chris Buxton
>>>>>>>>>>Men & Mice - Making DNS Easy
>>>>>>>>>>Customer Service and Sales Engineer
>>>>>>>>>>
>>>>>>>>>>At 2:18 PM -0800 11/1/04, Jody McAlister wrote:
>>>>>>>>>>>The mac os x server list just posted this message
regarding dns lookups. they've been basically having the same thread
that we had last week.
>>>>>>>>>>>
>>>>>>>>>>>I haven't tried it yet. I'm posting so maybe men and mice
can confirm before I start playing with my server.
>>>>>>>>>>>
>>>>>>>>>>>*********************************************************************************************************************
>>>>>>>>>>>(Copied message begins here...)
>>>>>>>>>>>
>>>>>>>>>>>A more complex, but more reliable fix MacFixIt reader Ken
has discovered a clever workaround that involves modifying the
operation of Mac OS X's "named" daemon -- the DNS server that is part
of the BIND set of UNIX DNS utilities.
>>>>>>>>>>>
>>>>>>>>>>> The theory behind why this fix works is as follows: root
domain servers appear to have recently been given IPv6 capability,
and are now returning AAAA records in response to name lookups.
>>>>>>>>>>>
>>>>>>>>>>> Ken writes "The simple upshot is that for whatever
reason, the first time named tries to go do a DNS query, it seems to
decide to try sending to an IPV6 server address, which is pretty much
guaranteed to fail for most users. Eventually this times out and it
retries, but by that time Safari has usually given up on resolving
the address and you get an error. The second time you try it, the
correct address has already been cached by the system and everything
works.
>>>>>>>>>>>"I found that a very simple fix (if you don't mind editing
OS config files) was to modify the
/System/Library/StartupItems/BIND/BIND file to add the '-4' option to
named, which forces it to only use IPV4. For example, the first part
of the file normally looks like this:
>>>>>>>>>>>
>>>>>>>>>>> StartService ()
>>>>>>>>>>> {
>>>>>>>>>>> if [ "${DNSSERVER:=-NO-}" = "-YES-" ]; then
>>>>>>>>>>> ConsoleMessage "Starting named"
>>>>>>>>>>> named
>>>>>>>>>>> fi
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>I changed the above to:
>>>>>>>>>>>
>>>>>>>>>>>StartService ()
>>>>>>>>>>> {
>>>>>>>>>>> if [ "${DNSSERVER:=-NO-}" = "-YES-" ]; then
>>>>>>>>>>> ConsoleMessage "Starting named"
>>>>>>>>>>> named -4
>>>>>>>>>>> fi
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>"You should probably do the same thing for the
RestartService section in the file. You'll either need to restart
named by hand with the new option, or simply reboot your system to
have the above take effect (probably the safest thing to do). I
haven't yet tried digging into the BIND code deeply enough to
determine why it seems to favor IPV6 address over and over again even
though it never gets a valid response. It appears as though there is
some code within BIND to sort the servers on response time, but IPV6
servers seem to always wind up at the front of the list."
>>>>>
>>>>>
>>>>>--
>>>>>
>>>>>-------------------------------------------------------------------
>>>>>John May : President <http://www.pointinspace.com>
>>>>>Point In Space Internet Solutions jmay@pointinspace.com
>>>>>
>>>>> Professional Lasso / PHP / MySQL / FileMaker Pro Hosting
>>>>
>>>>
>>>>
>>>Jody McAlister
>>>President
>>>In-Site Communications
>>>707-765-9993/800-998-1711




Messages In This Thread:



Return to Digital Point Solutions' Home Page