*BSD News Article 76173


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!disco.iinet.net.au!wa.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!news.mathworks.com!nntp.primenet.com!news.cais.net!nntp.uio.no!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!not-for-mail
From: sthaug@nethelp.no (Steinar Haug)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: bind 4.9.4 compile problems
Date: 14 Aug 1996 17:36:27 GMT
Organization: Nethelp Consulting, Trondheim, Norway
Lines: 36
Message-ID: <4ut2qr$537@verdi.nethelp.no>
References: <ulfDw4E8r.rp@netcom.com>
NNTP-Posting-Host: trane.uninett.no
In-reply-to: ulf@netcom.com's message of Wed, 14 Aug 1996 08:58:03 GMT

[Ulf Schmidt]

|   I'm trying to compile the latest bind release (4.9.4 PL1) on
|   FreeBSd 2.1.5 Release. This is how far I get after editing the options
|   and Makefile:
.
|   Anyone here who compiled this?

Your problem is compat/include/sys/cdefs.h. Get rid of it!

I've built 4.9.3 and 4.9.4 on several different versions of FreeBSD.  Right
now I'm running 4.9.4 on 2.2-960612-SNAP. The easiest thing to do is to
have BIND somewhere under /usr/local (or /local in my case). I use the top
level Makefile (*not* the BSD subdirectory) and change it like this:

84,90c84,90
< DESTBIN = /usr/bin
< DESTSBIN = /usr/sbin
< DESTEXEC = /usr/libexec
< DESTMAN = /usr/share/man
< DESTHELP = /usr/share/misc
< DESTLIB = /usr/lib
< DESTINC = /usr/include
---
> DESTBIN = /local/bin
> DESTSBIN = /local/etc
> DESTEXEC = /local/etc
> DESTMAN = /local/man
> DESTHELP = /local/lib
> DESTLIB = /local/lib
> DESTINC = /local/include

and I also remove (or rename) the compat/include/sys/cdefs.h file. With
these changes, BIND compiles and runs without problems.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no