Here are two bugs in the install process that I've stumbled over while
setting up Coda recently. First is that vice-setup-user doesn't warn you
that UID 1 is taken.
Second is that my version of make (3.79.1) removes asr/resolver_lexer.c
after building resolver_lexer.o, as it's just an intermediate file, unless
there's an explicit rule for resolver_lexer.c. This becomes a problem if
you place your build tree in NFS, and then do "make install" as root,
which doesn't have permission to rebuild resolver_lexer.c. Adding an
explicit rule prevents make from removing the intermediate .c file.
-- kolya
--- coda-src/asr/Makefile.in 2004/06/17 21:21:19 1.1
+++ coda-src/asr/Makefile.in 2004/06/17 21:21:32
@@ -55,5 +55,7 @@
# YYuck! I don't know how to tell yyac to deliver a .cc extension GRRR..(pjb)
resolver_parser.o: resolver_parser.c
$(CXX) -x c++ $(CXXFLAGS) $(CPPFLAGS) -c $<
+
+resolver_lexer.c: resolver_lexer.l
TESTS= resolver_lexer.c resolver_parser.c y.tab.h
--- coda-src/scripts/vice-setup-user 2004/06/17 20:54:00 1.1
+++ coda-src/scripts/vice-setup-user 2004/06/17 20:57:42
@@ -40,7 +40,7 @@
echo "Setting up users and groups for Coda"
echo
-echo "You need to give me a uid (not 0) and username (not root)"
+echo "You need to give me a uid (not 0 or 1) and username (not root or system)"
echo "for a Coda System:Administrator member on this server,"
echo "(sort of a Coda super user)"
echo
@@ -54,8 +54,8 @@
continue
fi
- if [ "x$userid" = x0 ]; then
- echo "Root cannot be a Coda administrator"
+ if [ "x$userid" = x0 -o "x$userid" = x1 ]; then
+ echo "Choose a user ID other than 0 or 1"
userid=
continue
fi
@@ -70,8 +70,8 @@
continue
fi
- if [ "x$username" = xroot ]; then
- echo "Root cannot be a Coda administrator"
+ if [ "x$username" = xroot -o "x$username" = xsystem ]; then
+ echo "Choose an administrator username other than root or system"
username=
continue
fi