wwhcn: error messages from make.install.????

Date: Tue, 11 Mar 1997 13:44:46 -0400
From: Gerard MacNeil <macneil@chebucto.ns.ca>
To: CSuite Technical Reports <csuite-tech@chebucto.ns.ca>
Precedence: bulk

next message in archive
next message in thread
previous message in archive
Index of Subjects


There are two sections to this report, separated by
********************************************************************
1. Errors that were fixed
2. Errors that remain (for the archive ;-)
********************************************************************

Made directory /var/csuite/tq/stats/
Cannot change owner of /var/csuite/db/ to nobody
Made directory /var/csuite/db/

*** no user nobody
*** Solution: add user nobody to /etc/passwd
----------------------------------------------------------------------

[ ! -f /var/csuite/home/csuite/.lynxrc ] && \
/var/csuite/dist/b1.0/mksub /var/csuite/dist/b1.0/.lynxrc \
        /var/csuite/home/csuite/.lynxrc
make: *** [dirs] Error 1

***  Error occured on second run of 'sh cs_build'
***  Solution was to remove /var/csuite/home/csuite/.lynxrc
----------------------------------------------------------------------

make[3]: Entering directory `/var/csuite/src/bin/ispell'
+ byacc parse.y
/bin/sh: byacc: command not found
+ gcc -O -c y.tab.c
gcc: y.tab.c: No such file or directory
gcc: No input files
+ mv y.tab.o parse.o
mv: y.tab.o: No such file or directory
+ rm -f y.tab.c
+ gcc -O -o buildhash buildhash.o hash.o makedent.o parse.o -lbsd
gcc: parse.o: No such file or directory
make[3]: *** [buildhash] Error 1
make[3]: Leaving directory `/var/csuite/src/bin/ispell'

*** Solution: get byacc
--------------------------------------------------------------------

make[4]: Entering directory `/var/csuite/src/etc/ftpd/src'
byacc  ftpcmd.y
make[4]: byacc: Command not found
make[4]: *** [ftpcmd.c] Error 127
make[4]: Leaving directory `/var/csuite/src/etc/ftpd/src'
... But
Links to executables are in bin directory:
size: bin/ftpd: No such file or directory
size: bin/ftpcount: No such file or directory
size: bin/ftpshut: No such file or directory
size: bin/ftpwho: No such file or directory
text    data    bss     dec     hex     filename
1032    1958    92      3082    c0a     bin/ckconfig
Done
cs_install bin/ftpd /var/csuite/etc/ftpd
Installed bin/ftpd in /var/csuite/etc/ftpd successfully

** Another place byacc is used, but cs_install reports success
--------------------------------------------------------------------
Creating the lq-text database...
/var/csuite/cronbin/csuite-cron
# do most files as nobody so as not to invade privacy
su nobody -c "/var/csuite/cronbin/dbbuild -x user"
Unknown id: nobody
make: *** [jobs] Error 1

*** With no nobody and an incomplete lq-text, it's no wonder.

********************************************************************
<a name="remain">These errors remain</a>
This is the final make.install.???  These errors remain, except for
zmailer with was built and installed afterwards and the permissions on
/dev/null
********************************************************************

creating lib/inews/Makefile
sed: can't read ./lib/inews/Makefile.in: No such file or directory
creating bin/pine/build

*** inews not installed
----------------------------------------------------------------------
make[3]: Entering directory `/var/csuite/src/bin/perl'
cc  -L/usr/local/lib -o miniperl miniperlmain.o libperl.a -lgdbm -ldb -ldl
-lm -lc
/usr/i486-linux/bin/ld: cannot open -ldl: No such file or directory
make[3]: *** [miniperl] Error 1
make[3]: Leaving directory `/var/csuite/src/bin/perl'

*** This is why perl did not build.
*** But ...
ldconfig -v | grep dl
        libdl.so.1 => libdl.so.1.7.14

--------------------------------------------------------------------

make[3]: Entering directory `/var/csuite/src/etc/majordomo'
Testing for perl (/var/csuite/bin/perl)...
Perl isn't installed yet but that's OK.

*** perl was in /usr/bin - does CSuite need its own version?
--------------------------------------------------------------------
make[5]: Leaving directory `/var/csuite/src/etc/zmailer/libs'
cc -g -O2 -DHAVE_CONFIG_H -I.. -I../include    -c relaytest.c -o
relaytest.o
relaytest.c: In function `reldefine':
relaytest.c:57: union has no member named `_ndbm'
relaytest.c:77: union has no member named `_ndbm'
make[4]: *** [relaytest.o] Error 1
make[4]: Leaving directory `/var/csuite/src/etc/zmailer/smtpserver'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/var/csuite/src/etc/zmailer'

*** this is where zmailer build failed
--------------------------------------------------------------------
make[3]: Entering directory `/var/csuite/src/lib/getdate'
cc    -c getdate.c -o getdate.o
bison -y  parser.y
conflicts:  8 shift/reduce
mv -f y.tab.c parser.c
cc    -c parser.c -o parser.o
parser.y:158: warning: `timeconv' was declared `extern' and later `static'
parser.y:192: warning: `daylcorr' was declared `extern' and later `static'
parser.y:426: warning: `lookup' was declared implicitly `extern' and later
`static'
cc -o getdate getdate.o parser.o
cs_install getdate

*** Not critical but represents lousy C programming.  Since we use
'getdate' all over the place, these extern->static may be a problem.
--------------------------------------------------------------------
make[3]: Entering directory `/var/csuite/src/lib/inews'
make[3]: *** No rule to make target `install-csuite'.  Stop.
make[3]: Leaving directory `/var/csuite/src/lib/inews'

*** I guess I don't have inews.  Hmmm, I'm not running a "local news
server", so I wonder if I need it.
--------------------------------------------------------------------
make[5]: Entering directory `/var/csuite/src/lib/lq-text/src'
cd db.1.85/PORT/linux; \
make --wi -- MAKEWHAT=depend MALLOC='' CFLAGS=' -g
-I/var/csuite/src/lib/lq-text/src/db.1.85/PORT/linux
-I/var/csuite/src/lib/lq-text/src/db.1.85/PORT/linux/include -DASCIITRACE
-DCURSESX -D"bsddb" $(EXTRA)' \
CC='gcc' WHICHDBM='"bsddb"' TERMCAP='-lncurses' \
RANLIB='echo no ranlib needed:' \
DBMLIBS="-L/var/csuite/src/lib/lq-text/src/db.1.85/PORT/linux -lndbm"
LINTFLAGS='-a -b -c -h -x ' \
MACH='linux' depend
make: unrecognized option `--wi'
etc, etc
make[4]: *** [local] Error 2
make[4]: Leaving directory `/var/csuite/src/lib/lq-text/src'
Installed lqtext/lqaddfile in /var/csuite/lib successfully
Installed lqtext/lqphrase in /var/csuite/lib successfully
Installed lqtext/lqrank in /var/csuite/lib successfully

*** lq-text failure - look familiar ;-)
Not very successful when you think about it.  This is another case where
there has been a make error and cs_install reports success.
------------------------------------------------------------------------
su nobody -c "/var/csuite/cronbin/dbbuild -x user"
/var/csuite/cronbin/dbbuild: /dev/null: Permission denied

*** Final error
*** /dev/null had permissions crw-r--r--
*** Solution: chmod 666 /dev/null

--------------------------------------------------------------------------

Gerard MacNeil, P. Eng.






next message in archive
next message in thread
previous message in archive
Index of Subjects