Hi,
I installed Prokka using this code posted at https://github.com/tseemann/prokka
sudo apt-get install libdatetime-perl libxml-simple-perl libdigest-md5-perl git default-jre bioperl
sudo cpan Bio::Perl
git clone https://github.com/tseemann/prokka.git $HOME/prokka
$HOME/prokka/bin/prokka --setupdb
All the steps worked pretty well except the last line for database indexing $HOME/prokka/bin/prokka --setupdb
I got this compilation error message:
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /home/miniconda3/lib/site_perl/5.26.2/x86_64-linux-thread-multi /home/miniconda3/lib/site_perl/5.26.2 /home/miniconda3/lib/5.26.2/x86_64-linux-thread-multi /home/miniconda3/lib/5.26.2 .) at /home/prokka/bin/prokka line 29. BEGIN failed--compilation aborted at /home/prokka/bin/prokka line 29.
I ran cpan install XML::Simple
Then ran $HOME/prokka/bin/prokka --setupdb
and still have the same error. Any help, please?
Thanks
Have you run
cpan install XML::Simple
withsudo
? It may have installed the module to your local path and that path may not be in your perl path. Try either adding that local directory to your perl path or installing the package with sudo.Thanks for your comment, but
sudo cpan install XML::Simple
did not work!