🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.andrew
Article #2167

Re: AMS <-> resolver problems with compile

#2167
From: Adam Stoller
Date: Tue, 27 Feb 1990 21:12
28 lines
1593 bytes
Excerpts from internet.info-andrew: 27-Feb-90 AMS <-> resolver problems
w.. Timothy Hansell@cis.ohio (509)

> All of the AMS source that uses the resolver wants to find the include
as <resolv.h>. On my system the include is actully in <arpa/resolv.h>.

I can think of 3 solutions - each one probably has weak and strong points:

(1) either get resolv.h installed along the "main" include path, or
linked into it.
(2) change your configuration files so that the standard list of include
paths (i.e. INCLUDES= or whatever it is) includes -I/...../apra
(3) have the offending code patched so that it get's ifdef'd - along the
lines of:
	#ifdef SOME_SYSTEM_FLAG??
	#include <arpa/resolv.h>
	#else
	#include <resolv.h>
	#endif

As I said - all of these may have problems in any given environment -
(1) involves changes to your system tree, (2) involves changes to your
site.mcr file, (3) involves changes here, but once done other sites
won't have to run into the same problem again -- if the situation is
actaully "standard" for that system-type as opposed to caused by how
your site installed the bind package.

--fish
Technical Details
Message-ID: <oZuiofq00VtqQAUlAI@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ANDREW.CMU.EDU!ghoti+
References: <9002271501.AA05769@oboe.cis.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ANDREW.CMU.EDU!ghoti+
From: ghoti+@ANDREW.CMU.EDU (Adam Stoller)
Newsgroups: comp.soft-sys.andrew
Subject: Re: AMS <-> resolver problems with compile
Message-ID: <oZuiofq00VtqQAUlAI@andrew.cmu.edu>
Date: 27 Feb 90 21:12:11 GMT
References: <9002271501.AA05769@oboe.cis.ohio-state.edu>
Sender: usenet@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 28