On Tue, 2010-08-17 at 17:48 +0100, Timo Sirainen wrote:
On Tue, 2010-08-17 at 17:32 +0100, Timo Sirainen wrote:
test -z "/opt/csw/libexec/dovecot/auth" || ../.././install-sh -c -d "/opt/csw/libexec/dovecot/auth"
This "|| install" part seems wrong, but it happens with me too. But the main problem is that why does test -z fail above? The auth binary should have been installed there already, so test -z should return success. Or is the auth file zero bytes long? Something's wrong with that..
Uh. No, I remembered wrong. test -z tests if the string is empty. And of course the above string isn't empty. And looks like the mkdir is run with Linux, but it doesn't report a failure. Umm..
Oh, right. The above should be:
test -z "/opt/csw/lib/dovecot/auth" || /bin/mkdir -p "/opt/csw/lib/dovecot/auth"
Why is it libexec and not lib? What parameters did you give to configure? Looks as if you gave --libdir=/opt/csw/libexec