感谢yanglc
发信人: yanglc (yanglc), 信区: sysdiscuss
标 题: 修改系统配置,使编译bbs通过
发信站: NetWork Running Dept. (Mon Apr 17 20:43:11 2000), 转信
Execute the following commands as root.
# ln -s /usr/ucblib/libucb.so.1 /usr/lib/libucb.so.1
# ln -s /usr/ccs/bin/strip /usr/ucb/strip
add the following lines to /etc/passwd
bbs:x:9999:99:BBS:/home/bbs:/home/bbs/bin/bbsrf
bbsuser:x:9999:99:BBS:/home/bbs:/bin/csh
bbsadm:x:9990:99:BBS:/home/bbsadm:/bin/csh
add the following line to /etc/group
bbs:99:bbs,bbsadm,bbsuser
set password for bbs, bbsadm and bbsuser
login as bbsadm
modify the following files
Install.sh:
change BBSUID=9999 to BBSUID=bbs
change BBSGRP=99 to BBSGID=bbs
change BBSADM=9990 to BBSADM=bbsadm
change INSTALL="./install.sh -c" to INSTALL="/usr/ucb/install -c"
Makefile:
change BBSUID=9999 to BBSUID=bbs
change BBSGRP=99 to BBSGID=bbs
change BBSADM=9990 to BBSADM=bbsadm
change INSTALL="./install.sh -c" to INSTALL="/usr/ucb/install -c"
add the following lines:
UID=bbs
GRP=bbs
ADM=bbsadm
change $(INSTALL) -s -m 550 -g $(BBSGRP) -o $(BBSADM)
to $(INSTALL) -s -m 550 -g $(GRP) -o $(ADM)
rpcs
rpcrm -m (ec9)
change local_utl/Makefile
from CFLAGS = -O2 -I.. to CFLAGS = -O2 -I.. -DSYSV
--
FROM 210.25.8.112