rcs build failure

Shern, Benjamin J ShernBJ at LOUISVILLE.STORTEK.COM
Tue Feb 11 18:44:29 GMT 2003


Not sure if anyone else has run into this or if it's
just me, but this is what I had to do to get rcs to build.
The problem I ran into seems to be that the user "bin" has no shell.
This is the tweaked BUILD that seemed to solve the problems.


# Quick note:
# RCS doesn't like to be compiled as root, as the make is
# doing several of the tests, and these tests need to be executed
# as a non-root user :(
# that's the reason for the chown & su to user bin!!!!

(

  bins_shell=`cat /etc/passwd | grep '^bin:' | cut -f7 -d':'`
  usermod -s /bin/bash bin
  chown   -R  bin:bin  .                    &&
  su bin  -pc  "PATH=$PATH; ./configure --prefix=/usr && make"  &&
  prepare_install                           &&
  make    install
  usermod -s "$bins_shell" bin

) > $C_FIFO 2>&11


rcs then has depends on module shadow after this fix...
regards,
Ben


More information about the Lunar mailing list