Hi Jim,
On Tue, 31 Aug 2021, at 9:09 PM, jwallis@xxxxxxxxxxxxxxxxx wrote:
The script option for perl is --with-perl /usr/bin/perl which is where 5.32.1 is locatedWhat am I missing? How do I re-compile cyrus-imapd to use the later version of perl?
The --with-perl option is implemented pretty inconsistently and I probably wouldn't trust it. There's an open issue about it here: https://github.com/cyrusimap/cyrus-imapd/issues/2887
If you don't specify "--with-perl" when configuring Cyrus, then it'll use whichever perl it finds, which ought to be the system one and work properly (it does on buster, anyway; I haven't upgraded to bullseye yet).
If recompiling without specifying a perl doesn't help, then I'd guess something in bullseye has changed and we'll need to figure out what so we can accommodate it. Or maybe you have Cyrus perl modules left behind from your previous Cyrus install, and cyradm is accidentally using the old ones instead of the new ones.
It might also be worth checking whether you have multiple perls installed on your system. I assume you don't but if you do, that might be a problem. If you do have multiple perls, I assume that means you use perl yourself, and know how to check your perl library paths/etc.
If it turns out something in bullseye has changed, anything about it you could add to the issue above would be helpful!
Cheers,
ellie