Documentation issue? Dovecot support/install scripts from the wiki don't work... what's the trick?

Joshua Root jmr at macports.org
Wed Jul 28 06:11:34 PDT 2010


On 2010-7-28 21:21 , William H. Magill wrote:
> I suppose this is a documentation issue ...
> 
> I'm a longtime, but infrequent MacPorts user...
> Just (successfully) updated Macports to 1.9 (from 1.8) and "upgraded outdated" installs (Apache2/MySQL/PHP primaries).
> Apparently everything went "normally," no problems noted and everything is still working.
> ... as expected ...  Nice clean work guys, thanks.
> 
> This update was in preparation for the installation of Dovecot, Postscript, Postfix and Procmail.
> 
> Downloaded and installed "zsh-devel" then Dovecot  as noted in the wiki how-to for Dovecot.
> 	         http://trac.macports.org/wiki/howto/SetupDovecot

Hm. I wonder why the author didn't consider /usr/bin/zsh usable for this
purpose. Or just write bash-compatible scripts...

> 		"mkdir --parents --verbose /opt/local/var/log/dovecot"
> 
> Which, not surprisingly, throws the error...
>               mkdir: illegal option -- - usage: mkdir [-pv] [-m mode] directory ... 
> 
> So the obvious question here is ... ?--Parents?  ?--Verbose?  what is the assumed user environment here?

GNU mkdir, apparently. That's certainly an unreasonable assumption on OS
X. Replace '--parents --verbose' with '-pv'.

- Josh


More information about the macports-users mailing list