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
This may help :
[titan] more ../../sparc/dovecot-2.0.0-sparcv8-002/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by Dovecot configure 2.0.0, which was generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --build=sparc-sun-solaris2.8 --host=sparc-sun-solaris2.8 --prefi x=/opt/csw --sysconfdir=/etc/opt/csw/dovecot --localstatedir=/var/opt/csw/doveco t --enable-shared --enable-static --with-ioloop=poll --with-shadow --with-pam -- with-ldap=yes --with-sql=yes --with-mysql --with-sqlite --with-zlib --with-bzlib --with-ssl=openssl --with-storages=mbox,maildir --with-libiconv-prefix=/opt/csw --with-gssapi=yes --with-pgsql --with-libwrap --with-ssldir=/etc/opt/csw/ssl -- with-moduledir=/opt/csw/libexec/dovecot
## --------- ## ## Platform. ## ## --------- ##
hostname = mimas uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_127721-03
/usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = mimas Release = 5.8 KernelID = Generic_127721-03 Machine = sun4u BusType = <unknown> Serial = <unknown> Users = <unknown> OEM# = 0 Origin# = 1 NumCPU = 1
/bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /opt/csw/gcc4/bin PATH: /opt/csw/bin PATH: /usr/xpg4/bin PATH: /usr/ccs/bin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /opt/schily/bin