From: Steven N. Hirsch <shirsch@ibm.net>
Subject: amd & NIS maps
Date: Sat, 8 Mar 1997 12:41:31 -0500 (EST) [thread overview]
Message-ID: <16ead874c049e48bdf1adf9520519186.axp-list@archive.invalid> (raw)
All,
For some reason, the current Alpha Linux amd is built without NIS maps
enabled (thanks to Miguel de Icaza for pointing that out!). Although
there is a remark in the linux makefile about "..not on Linux (yet)", I
built it with the defines turned on and it works fine.
For those among us feeling experimental:
1) Download amd-920824upl102-7.src.rpm
2) rpm -i amd-920824upl102-7.src.rpm
3) cd /usr/src/redhat/SPECS
4) rpm -bp amd-920824upl102.spec
5) cd /usr/src/redhat/BUILD
Apply the following patch from BUILD:
*** amd-upl102/config/Makefile.config.orig Sun Feb 9 10:10:57 1992
--- amd-upl102/config/Makefile.config Sat Mar 8 11:49:29 1997
***************
*** 53,58 ****
--- 53,63 ----
# for Hesiod and/or Named.
#
#RESOLV = -lhesiod -lresolv
+ #
+ # We don't need the resolver, but must specify libnsl.so to
+ # link yp functions in.
+ #
+ RESOLV = -lnsl
#
# Define XLIBDIR if you have libraries not on the standard
*** amd-upl102/config/Makefile.linux.orig-rh Sat Mar 8 11:45:52 1997
--- amd-upl102/config/Makefile.linux Sat Mar 8 11:47:19 1997
***************
*** 52,58 ****
YACC=bison -y
LEX=flex
! HAS_NIS_MAPS = -DDIRENT #-DHAS_NIS_MAPS -DHAS_NIS_RELOAD # not on linux (yet)
# The following syntax only works with GNU's make - which all linux users have.
# Linux can lose the segment padding to page boundaries for these binaries.
--- 52,58 ----
YACC=bison -y
LEX=flex
! HAS_NIS_MAPS = -DDIRENT -DHAS_NIS_MAPS -DHAS_NIS_RELOAD
# The following syntax only works with GNU's make - which all linux users have.
# Linux can lose the segment padding to page boundaries for these binaries.
6) cd amd-upl102
7) make
Now, I have only tested the actual 'amd' executable that is built in this
manner. I had previously installed the binary rpm, so my installation was
limited to copying the new one over it.
YMMV, but NIS maps now work just fine on my UDB!
Erik, why did you turn this feature off?
Steve
P.S. - Any fixes in sight for TCP under 1.2.28?
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-03-08 17:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-08 17:41 Steven N. Hirsch [this message]
[not found] <Pine.LNX.3.95.970308123324.777B-100000@air.steve.net>
1997-03-08 19:55 ` amd & NIS maps Steven N. Hirsch
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox