kjolley / BIGSdb

Bacterial Isolate Genome Sequence Database (BIGSdb): A platform for gene-by-gene bacterial population annotation and analysis.

Home Page:https://pubmlst.org/software/bigsdb/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"lround" is not exported by the POSIX module

abrozzi opened this issue · comments

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

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.

perl -v

This is perl 5, version 16, subversion 3 (v5.16.3) 

I know it does - it looks like I need to change that.

Can you update POSIX from CPAN?

cpanm less
less is up to date. (0.03)

cpan POSIX