Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!newsserver.jvnc.net!yale.edu!nigel.msen.com!math.fu-berlin.de!cs.tu-berlin.de!mailgzrz.TU-Berlin.DE!ceres.fokus.gmd.de!gmdtub!bsd386!ats From: ats@bsd386.first.gmd.de (Andreas Schulz) Newsgroups: comp.os.386bsd.questions Subject: Re: [NetBSD] Stupid problem with ELM Message-ID: <3529@bigfoot.first.gmd.de> Date: 27 May 93 10:37:00 GMT References: <738477181wkn6333@edmund> Sender: news@bigfoot.first.gmd.de Organization: GMD-FIRST Lines: 30 In article <738477181wkn6333@edmund> gillham@andrews.edu (Andrew Gillham) writes: > >Could somebody explain how to get ELM2.4-PL21 working under >NetBSD?? I ran configure, which bombed at 1688 in the CPP options >section. So I commented that out since I didn't really need any >and configure ran ok. lib/opt_utils.c had a tolower() and toupper() >that conflicted with the gcc clib, but did the same thing, so I >deleted the one in opt_utils.c. >Commenting out POSIX_SIGNALS (sp?) and HASPROCSIGMASK (sp?) allowed >me to compile it ok. >It seems to work, reads mail fine, says it's sending it, but all the >messages it sends are empty. I ran it with "-D 5" and it looks like >it is getting an errno=2 on a "stat" of the vi tmp file "/tmp.snd.xxx" >but tmp is 777 and elm is setgid! > The real problem is "/bin/sh", try to get the patches for it and install it and all will be running. They are posted a while ago in the comp.os.386bsd.bugs group. You can search for them in the newsgroup archives ( one in australia and one in england, sorry don't remember the names in the moment ). Or you can get the patched source from "bsd386.first.gmd.de", login "guest", password "guest" and fetch the new source from "/usr/src/bin/sh". Thanks again Jim Wilson for this patch, it's not in the patchkit yet. -- ATS ( ats@first.gmd.de or ats@cs.tu-berlin.de ) Andreas Schulz GMD-FIRST O-1199 Berlin-Adlershof Rudower Chaussee 5 Gebaeude 13.7 Tel: +49-30-6392-1856 Germany/Europe