I don't know if these errors happen in every OS or just macosx (I'm on 10.2.8).
1) To prevent the error: /usr/bin/ld: Undefined symbols: _quota_calc _quota_get _quota_rm
I added the string "maildir++.o seek_cur.o seek_end.o seek_trunc.o" to the string containing "load qmail-pop3d".
These are the resulting lines:
qmail-pop3d: \
load qmail-pop3d.o commands.o case.a timeoutread.o timeoutwrite.o \
maildir.o prioq.o now.o maildir++.o seek_cur.o seek_end.o seek_trunc.o env.a strerr.a sig.a open.a getln.a \
stralloc.a alloc.a substdio.a error.a str.a fs.a socket.lib
./load qmail-pop3d commands.o case.a timeoutread.o strerr_sys.o \
timeoutwrite.o maildir.o prioq.o now.o maildir++.o seek_cur.o seek_end.o seek_trunc.o env.a strerr.a sig.a \
open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
fs.a `cat socket.lib`
2)
To prevent:
make: *** No rule to make target `qmail-pbsdbd.run', needed by `ldap'. Stop.
I added the following lines:
qmail-pbsdbd.run: \
qmail-pbsdbd.sh conf-qmail
cat qmail-pbsdbd.sh \
| sed s}%QMAIL%}"`head -1 conf-qmail`"}g \
> qmail-pbsdbd.run
chmod 755 qmail-pbsdbd.run3)
The last problem was a macosx one: name of directories are case insensitive, so the creation of file "install" overwrites "INSTALL".
I used the following procedure:
mv INSTALL INSTALL.txt
make setup
mv install install.go
mv INSTALL.txt INSTALL
./install.go
I still haven't tested the service, but the compilation ended without errors. Just some warnings:
chkshsgr.c:10: warning: passing arg 2 of `getgroups' from incompatible pointer type
chkshsgr.c:10: warning: passing arg 2 of `setgroups' from incompatible pointer type
qmail-send.c:1448: warning: passing arg 2 of `substdio_fdbuf' from incompatible pointer type
qmail-send.c:1449: warning: passing arg 2 of `substdio_fdbuf' from incompatible pointer type
qmail-send.c:1502: warning: passing arg 2 of `substdio_fdbuf' from incompatible pointer type
Hope this would be useful to someone, now I'm going to test the whole.
Marco Tamanti
=================================================================== www.extrapola.com - Online media monitoring =================================================================== MARCO TAMANTI - System Administrator
email: [EMAIL PROTECTED] voice: +39 0541 831973 - fax: +39 0541 821941
Via Torconca, 1600 - San Giovanni in Marignano, Rimini - Italy ================================================================== www.eukra.it - www.sophia.it - www.praxa.it - www.municipia.it ==================================================================
