Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!ukma!david From: david@ms.uky.edu (David Herron -- One of the vertebrae) Newsgroups: comp.sys.sequent Subject: Re: Fun with BIND 4.8 Message-ID: <11049@s.ms.uky.edu> Date: 10 Feb 89 00:00:51 GMT References: <9651@pasteur.Berkeley.EDU> Reply-To: david@ms.uky.edu (David Herron -- One of the vertebrae) Distribution: usa Organization: U of Kentucky, Mathematical Sciences Lines: 88 In article <9651@pasteur.Berkeley.EDU> aoki@postgres.Berkeley.EDU (Paul M. Aoki) writes: > >Does this sound familiar to anyone? If anyone out there has installed >BIND 4.8 without problems, let me know so I can go quietly insane. Have fun with your insanity then ... In the hopes that I might help in sidestepping some insanity here is the file I wrote talking about the installation processes. ****************** Instructions for installing BIND onto the Math Sciences ****************** systems at the U of Kentucky. Into ~src/add.to.dist/ultrix/named: Doc: bind/doc Man: bind/man .: bind/named Make sure -DSTATS and -DDEBUG are set. Add -I/usr/src/local/inet/Include to CFLAGS= Add -lresolv to RES= Remove "tools" from SUBDIR because that directory is elsewhere. Remove dependencies on /usr/include/machine/machparam.h because that's apparently a 4.3bsd-tahoe-ism that doesn't exist on our machines. Same goes for /usr/include/net/if_arp.h. Change install: to install to /usr/etc/named. Into ~src/inet/Bin: bind/bin/* Into ~src/inet/LibResolv: bind/res/* (recursive) DO NOT RUN mkdep ON Ultrix SINCE IT DOESN'T HAVE "cc -M" Create Makefile by taking Makefile.resolv to start with. Take the .c.o: rule from Makefile (move Makefile to Makefile.noresolv first). Create a libresolv_p.a rule like: libresolv_p.a: ${OBJS} cd profiled; ar cru ../libresolv_p.a ${OLBS} Fix install: to install libresolv_p.a, and to install things into /lib instead of /usr/lib. Fix the gethostnamadr.o: and sethostent.o: tags to match the .c.o: rule above. Make all: libresolv.a libresolv_p.a Add -I../Include to DEFS= Into ~src/inet/Include: bind/include Put a Makefile there like: > all: > > install: > install -c -m 444 -o bin -g bin netdb.h /usr/include/local > install -c -m 444 -o bin -g bin resolv.h /usr/include/local > > clean: Into ~src/inet/nslookup: bind/tools/nslookup In Makefile, RES= -lresolv, CFLAGS+= -I../Include Disable the depend: tag Fix install: to install to /usr/local/etc, and not to install man pages directly to /usr/man but to use addman instead. Change main.c to reference /usr/local/etc/nslookup.help for the help file. Adding other stuff to ~src/inet: Make sure that -lresolv and -I../Include are used at appropriate places in the Makefiles. -- <-- David Herron; an MMDF guy <-- ska: David le casse\*' {rutgers,uunet}!ukma!david, david@UKMA.BITNET <-- Now I know how Zonker felt when he graduated ... <-- Stop! Wait! I didn't mean to!