[comp.mail.sendmail] Problem with uk-sendmail 2.1

cds@root.co.uk (Chris Seabrook) (01/31/89)

I've just picked up the 2.1 release from the info-server, and am trying to
upgrade from 1.5. Either I've missed something or there is a problem (in
Config I think). I can't even persuade it to build the example slave
configuration. Enclosed is a script of the results.

Chris Seabrook

------------------------------------------------------------------------
Script started on Tue Jan 31 13:10:54 1989
root44!cds $ Config config.slave

creating tables/slave.mk ... 
Making directory slave ... 
creating configuration files in slave ... 
root44!cds $ cd slave
root44!cds $ make
        cd ../tables; make -f slave.mk slave
        ../Dombuild -o slave-dom.m4 cs-dept.ether.chn -top slave.top.dom  
        ../Chnbuild -o slave-chn.m4 -top slave.top.chn -local cs-dept.local.chn 
usage: ../Chnbuild [-o file] -chn file...
*** Error code 1
Make: .  Stop.
*** Error code 1
Make: .  Stop.
root44!cds $ cat ../tables/slave.mk
############################################################
#
#       Makefile to compile sendmail tables for slave
#
############################################################

DOMFILES= cs-dept.ether.chn  slave.top.dom 
DOMBLDARGS= cs-dept.ether.chn -top slave.top.dom 

CHNFILES= slave.top.chn  cs-dept.local.chn 
CHNBLDARGS=-top slave.top.chn -local cs-dept.local.chn 

slave:  slave-dom.m4 slave-chn.m4

slave-dom.m4:   $(DOMFILES) slave.mk
                ../Dombuild -o slave-dom.m4 $(DOMBLDARGS) 

slave-chn.m4:   $(CHNFILES) slave.mk
                ../Chnbuild -o slave-chn.m4 $(CHNBLDARGS)

edit:
                $${VISUAL-vi} $(CHNFILES)
                $${VISUAL-vi} $(DOMFILES)

tidy:
                -rm -f [0-9]*.*

check:          $(CHNFILES) $(DOMFILES)
                ../Chncheck $(CHNFILES)
                ../Domcheck $(DOMFILES)
root44!cds $ 

robert@computing-maths.cardiff.ac.uk (Robert Evans) (01/31/89)

Looks like your running into the same problem I did on Ultrix2.3.
Look for the line "shift 2" in Chnbuild and change it to "shift; shift"
Chnbuild is giving a usage error because it's looking at the wrong arguments.

jac@doc.ic.ac.uk (Jim Crammond) (01/31/89)

I note that the chnbuild arguments exclude the ether and news channels.

I wonder if this is the same problem as reported on an Ultrix system
concerning continuation lines in the config file.  Seems the sed program
behaves oddly.  See Robert Evans' message of 26/1/89.

WHat system are you running on?

-Jim.

taylor@cs.glasgow.ac.uk (Jem Taylor) (01/31/89)

In article <29936.8901311315@root44.root.co.uk> you write:
|I've just picked up the 2.1 release from the info-server, and am trying to
|upgrade from 1.5. Either I've missed something or there is a problem (in
|Config I think). I can't even persuade it to build the example slave
|configuration. Enclosed is a script of the results.
|

Have you copied all the example files into ./tables and verified that the
list of files in config.slave are all present ? One way to do this is
to 

$ cd slave
$ make edit

which invokes the editor on all datafiles required by Chnbuild and Dombuild.

-Jem.
-- 
ARPA:taylor@cs.glasgow.ac.uk        \ Mail: J.A.Taylor, Computing Science,
JANET: taylor@uk.ac.glasgow.cs       \ Glasgow University,
UseNet: mcvax!cs.glasgow.ac.uk!taylor \ GB-GLASGOW G12 8QQ