Installation on Mac Darwin 6.8 Server [signed]

Vernon Schryver vjs@calcite.rhyolite.com
Sun Jul 24 02:26:44 UTC 2005


> From: "Matt Walsh \[c\]" <mwalsh@matroxsolutions.com>

> SENDMAIL=$(DEPTH)../sendmail/obj.Darwin.6.8.PowerMacintosh
> edit that line to be 
> SENDMAIL=$(DEPTH)../obj.Darwin.6.8.PowerMacintosh
>  
> SENDMAIL_LIB=$(DEPTH)../sendmail/libmilter/libmilter.a
> edit it to be
> SENDMAIL_LIB=$(DEPTH)../obj.Darwin.6.8.PowerMacintosh/libmilter/libmilter.a
>  
> CFLAGS +=$(THRINC) -I$(SENDMAIL)/../sendmail/obj.Darwin.6.8.PowerMacintosh
> -I$(SENDMAIL)/../sendmail/include
> edit it to be
> CFLAGS +=$(THRLIB) -I$(SENDMAIL)/../obj.Darwin.6.8.PowerMacintosh
> -I$(SENDMAIL)/../include


I think that's a bad way to solve the problem.  The next time you run
dcc/libexec/updatedcc, things will blow up.

It looks as if the idea is to replace
"../sendmail/obj.Darwin.6.8.PowerMacintosh"
with "../obj.Darwin.6.8.PowerMacintosh".
If so, what's wrong with instead using 

   ./configure --with-sendmail=obj.Darwin.6.8.PowerMacintosh  ...

or doing as the DCC installation instructions suggest and making
../sendmail a symbolic link to a directory such as
obj.Darwin.6.8.PowerMacintosh?

If you can use ./configure --with-sendmail,
then the updatedcc script will be built by ./configure
with that ./configure option.  When updatedcc is next used,
the same location for sendmail will be used.

If you needed to change sendmail's location, you could run
dcc/libexec/updatedcc -c --with-sendmail=some/where/else

If neither `./configure --with-sendmail=` nor the sym-link kludge
works, then I'd write a script that does whatever is necessary.
I've long had a habit of creating scripts named "DOIT" that
apply my local configuring to packages.  Updatedcc evolved from
just such scripts that I used on a bunch of systems with the DCC code.


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.