Subject: Errors ./build bdi in 2.4.2-beta-7

From: "Pascale Tetreault" <[email-masked]>
Date: Thu, 26 Oct 1995 11:54:58 +0000

Hi All.

A two fold message:

1) I have downloaded wu-ftpd-2.4.2-beta-7 on my BSD/OS 2.0.1 machine in 
/usr/local/ftp.  The only changes I made to src/pathnames.h is for 
utmp, wtmp and lastlog to reflect my system.  I have also added the 
-DVIRTUAL to CFLAGS in src/Makefile.bdi  and 
support/makefiles/Makefile.bdi.  The compile seemed to go well, but I 
kept on getting a warning:

/usr/local/ftp% ./build bdi
make args are :
make opts are :
 
Linking Makefiles.
 
Making support library.
cc -O -DDEBUG -DVIRTUAL   -DNO_MALLOC_PROTO -c strcasestr.c
cc -O -DDEBUG -DVIRTUAL   -DNO_MALLOC_PROTO -c authuser.c
../src/config.h:27: warning: VIRTUAL redefined
cc -O -DDEBUG -DVIRTUAL   -DNO_MALLOC_PROTO -c ftw.c
../src/config.h:27: warning: VIRTUAL redefined
rm -f libsupport.a
ar cq libsupport.a strcasestr.o authuser.o ftw.o
ranlib libsupport.a
 
Making ftpd.
cc -O -DDEBUG -DVIRTUAL -I.. -I../support -L../support -c ftpd.c
config.h:27: warning: VIRTUAL redefined
yacc -d ftpcmd.y
mv y.tab.c ftpcmd.c
cc -O -DDEBUG -DVIRTUAL -I.. -I../support -L../support -c ftpcmd.c
config.h:27: warning: VIRTUAL redefined

	<snip, snip, snip, snip>
 
Links to executables are in bin directory:
text    data    bss     dec     hex
212992  20480   49384   282856  450e8   bin/ftpd
57344   8192    5468    71004   1155c   bin/ftpcount
40960   8192    4784    53936   d2b0    bin/ftpshut
57344   8192    5468    71004   1155c   bin/ftpwho
24576   4096    0       28672   7000    bin/ckconfig
Done

I gather this is normal?

2) Then, when I did ./build install:

/usr/local/ftp% ./build install
make args are :
make opts are :
mv -f /usr/libexec/ftpd /usr/libexec/ftpd-old
mv: rename /usr/libexec/ftpd to /usr/libexec/ftpd-old: No such file 
or directory
*** Error code 1 (ignored)
installing binaries.
install -c -o bin -g bin -m 755 bin/ftpd /usr/libexec/ftpd
install -c -o bin -g bin -m 755 bin/ftpshut /usr/sbin/ftpshut
install -c -o bin -g bin -m 755 bin/ftpcount /usr/sbin/ftpcount
install -c -o bin -g bin -m 755 bin/ftpwho /usr/sbin/ftpwho
installing manpages.
nroff -man doc/ftpd.8  > /usr/share/man/cat8/ftpd.0
nroff: not found
*** Error code 2

Stop.
/usr/local/ftp%

The first error here, i.e.  mv: rename /usr/libexec/ftpd to /usr/libexec/ftpd-old:
No such file or directory, makes sense because there is no /usr/libexec/ftpd 
directory.  Should I create one so that ./build install stops complaining?

The second error really has me perplexe.  If I try to find either 
nroff, groff or troff, I only get their man pages.

Help???

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Pascale Tetreault                  CNG Group Inc.
[email-masked]                Ottawa, Ontario

Visit our web site at
http://www.cng.on.ca/
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

---

From: "Pascale Tetreault" <[email-masked]>
Date: Thu, 26 Oct 1995 16:09:39 +0000

> or directory *** Error code 1 (ignored) installing binaries. install
> -c -o bin -g bin -m 755 bin/ftpd /usr/libexec/ftpd install -c -o bin
> -g bin -m 755 bin/ftpshut /usr/sbin/ftpshut install -c -o bin -g bin
> -m 755 bin/ftpcount /usr/sbin/ftpcount install -c -o bin -g bin -m
> 755 bin/ftpwho /usr/sbin/ftpwho installing manpages. nroff -man
> doc/ftpd.8  > /usr/share/man/cat8/ftpd.0 nroff: not found *** Error
> code 2
> 
> Stop.
> /usr/local/ftp%
> 
> The first error here, i.e.  mv: rename /usr/libexec/ftpd to
> /usr/libexec/ftpd-old: No such file or directory, makes sense
> because there is no /usr/libexec/ftpd directory.  Should I create
> one so that ./build install stops complaining?
> 

Hi again.

I figured out that I did not install nroff on this BSDi machine (I 
have two and confuse them sometimes).  So I took nroff from one and 
put it on the other.  I now get an error code 3 because I also do not 
have groff on this machine.  Is there a way for me to tell the 
wu-ftpd installation program to simply forget about groff?  Or do I 
really, REALLY need groff in order for the ftp daemon to work 
properly?  As far as I know, an editor for man pages should not 
affect the ftpd, but then again, I'm still pretty new at this.

Any help appreciated.

Pascale