*BSD News Article 19048


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!saimiri.primate.wisc.edu!sdd.hp.com!crash!fredbox!terminator!loodvrij
From: loodvrij@cyb.cojones.com (Bruce 'Loodvrij' Keeler)
Newsgroups: comp.os.386bsd.questions
Subject: Re: compiling smail on 386bsd..
Message-ID: <CAyF6q.CH@cyb.cojones.com>
Date: Fri, 30 Jul 1993 01:37:23 GMT
References: <586@apdnews.idca.tds.philips.nl> <CAL695.2xL@cyb.cojones.com> <wilko.743710453@spoetnix.idca.tds.philips.nl> <1993Jul27.130515.13198@oucsace.cs.ohiou.edu>
Reply-To: loodvrij%cyb@fredbox.cts.com
Organization: The museum of ancient wombats
Lines: 34

In article <1993Jul27.130515.13198@oucsace.cs.ohiou.edu> sadkins@bigbird.cs.ohiou.edu (Scott W. Adkins) writes:
>In article <wilko.743710453@spoetnix.idca.tds.philips.nl> wilko@idca.tds.philips.nl (Wilko Bulte) writes:
>>loodvrij@cyb.cojones.com (Bruce 'Loodvrij' Keeler) writes:
>
>>>Well, I took to using bash as sh when the time came to compile cnews, so that
>>>might have something to do with it.  I too had problems with various defines
>>>of the form X_..._X all over but they didn't seem to hurt anything.  I had to
>>>make up a new os configuration file (I can send it if need be),  and compile.
>>>I had problems with the vfprintf supplied with smail (it caused a core dump)
>>>so I commented it out of the source.  Other than that it seemed to work just
>>>fine.
>
>The X_CC_X that you saw is necessary for make depend to work properly.  If
>you don't get that to work, then why are you doing it at all?  So, the 
>solution to this problem is to edit "smail-3.1.28/conf/lib/mkdepend.sh" and
>define CC to whatever your current compiler is:
>
>CC="`echo X_CC_X | sed -f defs.sed`"	<=== This line was already there
>[ -z "$CC" ] && CC=cc			<=== This line was already there
>CC=gcc					<=== I added this line
>
It was more than just X_CC_X - I had that problem too for a while.  I think I
initially kludged the way you recommend, but later found a more non-kludgy
solution - I can't remember what off-hand.  No, even afterwards I had X_..._X
type stuff all over - in man page extension numbers most notably.  Nothing
really critical though, so I just left them.
>
>Scott
>-- 
>         Scott W. Adkins           Internet: sadkins@ohiou.edu
>         ~~~~~~~~~~~~~~~                     ak323@cleveland.freenet.edu
>    Ohio University of Athens        Bitnet: adkins@ouaccvma.bitnet

Bruce