"lround" is not exported by the POSIX module
abrozzi opened this issue · 7 comments
abrozzi commented
Hi Keith,
cat /var/log/bigsdb.log
2024/02/23 11:06:30 [WARN] 11.172.185.80 PluginManager.pm:49 - SeqbinBreakdown plugin not installed properly! "lround" is not exported by the POSIX module
Can't continue after import errors at /usr/lib64/perl5/POSIX.pm line 30.
BEGIN failed--compilation aborted at /usr/local/lib/BIGSdb/Plugins/SeqbinBreakdown.pm line 26.
any hints?
Tx,
Alex
kjolley commented
What version of Perl are you using?
I see from https://perldoc.perl.org/POSIX that lround was added in Perl v5.22. It has been used in BIGSdb since May 2021 though, and I've not encountered this error before.
abrozzi commented
perl -v
This is perl 5, version 16, subversion 3 (v5.16.3)
abrozzi commented
https://bigsdb.readthedocs.io/en/latest/dependencies.html
says Perl5.10+
kjolley commented
I know it does - it looks like I need to change that.
kjolley commented
Can you update POSIX from CPAN?
abrozzi commented
cpanm less
less is up to date. (0.03)
kjolley commented
cpan POSIX