Hi, I haven't tried compiling 1.0 series since -test52, figured I'd give it a shot. There were a couple of minor problems. This is building on a fairly ancient BSD/OS box, so the issues may not be universal, but I suspect these ones are. ===================Building in src/lib-dict/dict.c : loading the 'dict' program fails because it can't find various RAND and other functions. Adding -lcrypto fixes. I did this by hand rather than adjusting the configure script; looks like the need for -lcrypto is detected in other cases, but not here. ===================In src/plugins/quota/quota-fs.c , line 276: #ifdef HAVE_QUOTACTL if (quotactl(QCMD(Q_GETQUOTA, USRQUOTA), root->mount->device_path, root->uid, (void *)&dqblk) < 0) { I believe the first two arguments are backwards, i.e., should be: if (quotactl(root->mount->device_path, QCMD(Q_GETQUOTA, USRQUOTA), root->uid, (void *)&dqblk) < 0) { I have a vague recollection of seeing this already being reported, but can't instantly find it, so what the hey. =================== Yours, -mm-
On Thu, 2006-04-13 at 16:07 -0400, Mark E. Mallett wrote:> Building in src/lib-dict/dict.c : > > loading the 'dict' program fails because it can't find various RAND and > other functions. Adding -lcrypto fixes. I did this by hand rather than > adjusting the configure script; looks like the need for -lcrypto is > detected in other cases, but not here.OK, fixed.> ===================> In src/plugins/quota/quota-fs.c , line 276: > > #ifdef HAVE_QUOTACTL > if (quotactl(QCMD(Q_GETQUOTA, USRQUOTA), root->mount->device_path, > root->uid, (void *)&dqblk) < 0) { > > I believe the first two arguments are backwards, i.e., should be: > if (quotactl(root->mount->device_path, QCMD(Q_GETQUOTA, USRQUOTA), > root->uid, (void *)&dqblk) < 0) { > > I have a vague recollection of seeing this already being reported, but can't > instantly find it, so what the hey.It's correct for Linux, but backwards for BSDs.. I'll add yet another ifdef there. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060414/1235fee6/attachment.bin>