error when applying UoA patches to cyrus-imapd 2.3.11

Matthew Seaman matthew.seaman at
Sat Mar 29 11:27:23 EDT 2008

David Newman wrote:
> Simon Matter wrote:

>>> cd /usr/ports/mail/cyrus-imapd23/
>>> make patch
>>> cd work/cyrus-imapd-2.3.11/
>>> patch -p1 < ~/cyrus-imapd-2.3.11-autocreate-0.10-0.diff
>>> patch -p1 < ~/cyrus-imapd-2.3.11-autosieve-0.6.0.diff
>>> cd ../..
>> Shouldn't you ./configure here before going on to compile with make?
> This is from the FreeBSD ports collection, not compiled the CMU source.
> The canonical method for installing from ports is 'make && make install 
> && make clean'. Also, in the ports collection, 'configure' doesn't exist 
> at /usr/ports/mail/cyrus-imapd23/.
> The 'undefined reference' errors below suggest there's a missing 
> reference to whatever library defines the autoadd_sieve function.
> Thanks in advance for clues on fixing this.

See ports(7) -- there is a standard 'configure' target you can use, even
though it is not mentioned explicitly in the port's own Makefile.  With
autoconf based packages it runs autoconf for you.  

Alternatively you can put the patch files into the 'files' directory,
renaming them so the filename starts 'patch-' then 'make clean' and 'make'
and those patches should be applied automatically.

Whether that will cure the original problem with undefined references,
I can't say.



Dr Matthew Seaman                     The Bunker, Ash Radar Station
PGP: 0x60AE908C on servers            Marshborough Rd
Tel: +44 1304 814890                  Sandwich
Fax: +44 1304 814899                  Kent, CT13 0PL, UK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : 

More information about the Info-cyrus mailing list