Thanks Ellie,
It turns out that the full-upgrade process hadn't removed all traces of
perl 5.28, after removing perl-modules-5.28 with apt, manually deleting
some 5.28 directories that I found, and removing --with-perl from my
options, I was able to re-compile and get everything working.
The server is in a virtual machine dedicated to running cyrus imap and
postfix so I don't need a multi-perl setup, it was just something that
was left over from the upgrade.
I have now repeated process on the live server and everything seems to
be working normally. My current version of Cyrus imapd is from Debian's
testing distribution version 3.4.1-2, running on bullseye.
Regards
Jim
On 01/09/2021 01:58, ellie timoney wrote:
Hi Jim,
On Tue, 31 Aug 2021, at 9:09 PM, [email protected]
<mailto:[email protected]> wrote:
The script option for perl is --with-perl /usr/bin/perl which is
where 5.32.1 is located
What 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
*Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions
<https://cyrus.topicbox.com/groups/info> + participants
<https://cyrus.topicbox.com/groups/info/members> + delivery options
<https://cyrus.topicbox.com/groups/info/subscription> Permalink
<https://cyrus.topicbox.com/groups/info/T4214fa35385be58a-Mfbd601d40389a13ce3ddb32b>
------------------------------------------
Cyrus: Info
Permalink:
https://cyrus.topicbox.com/groups/info/T4214fa35385be58a-M38db240cd3f035992ed7e1c7
Delivery options: https://cyrus.topicbox.com/groups/info/subscription