Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!news.dacom.co.kr!usenet.seri.re.kr!news.cais.net!ringer.cs.utsa.edu!swrinde!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!fnnews.fnal.gov!unixhub!argus.SLAC.Stanford.EDU!kls From: kls@argus.SLAC.Stanford.EDU (Karl L. Swartz) Subject: Re: Compiling BIND 4.9.3 for FreeBSD 2.1R Message-ID: <DoJ20E.HB8@unixhub.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <4hnpd1$33f@info.noc.demon.net> Date: Tue, 19 Mar 1996 18:29:01 GMT Lines: 48 In article <4hnpd1$33f@info.noc.demon.net>, Chris Dabrowski <chrisd@demon.net> wrote: >I would really appreciate any ideas or suggestions to help me compile >BIND 4.9.3. According to the Makefile supplied with BIND the default >settings should work on any BSD 4.4 system. On my FreeBSD (2.1R) system >it fails with the following parse errors, yet when I tried it on a friends >NetBSD 1.1 system it compiled without any problems. Apply the following patch in the top-level directory in which you're building BIND 4.9.3: *** Makefile.orig Tue Mar 19 10:22:34 1996 --- Makefile Tue Mar 19 10:22:45 1996 *************** *** 102,107 **** --- 102,115 ---- SHCC = SHLD = + # (FreeBSD) + CC = gcc $(CPPFLAGS) + COMPINCL = + MANDIR = man + CATEXT = $$$$N + MAN_OWNER = -o bin + MAN_GROUP = -g bin + # (NetBSD - for details on shared library building, see shres/netbsd/INSTALL) #uncomment next three lines to build a shared library version of libresolv #SHRES = shres/netbsd Also, after you install the man pages, do the following to compress the man pages and get rid of the ones for the stock BIND: gzip -9f /usr/share/man/man?/*.[1-9] >I considered altering the file '/usr/include/unistd.h' to match the NetBSD >one but I simply got more errors later on. Anyhow, I think I should be altering >BIND to match my system and not the other way around. :-) Nope, you just need to get rid of the compatibility library, which isn't needed with FreeBSD. -- Karl Swartz |INet kls@unixhub.slac.stanford.edu SLAC Computing Services | or kls@chicago.com 1-415/926-3630 |UUCP uunet!lll-winken!unixhub!kls -or- ditka!kls (SLAC and the US Dept. of Energy don't necessarily agree with my opinions.)