LANL-Bioinformatics / GOTTCHA

Accurate read-based metagenome characterization using a hierarchical suite of unique signatures. Please visit our homepage:
http://lanl-bioinformatics.github.io/GOTTCHA
GNU General Public License v3.0
23 stars 6 forks source link

Installation failed due to YAML::XS #19

Open Tj-Idowu opened 5 months ago

Tj-Idowu commented 5 months ago

I am trying to install GOTTCHA using the quick start guide but I am running into some issues at the start with the ./INSTALL.sh. I get the message;

/bin/sh: ./ext/bin/..//bin/x86_64-conda-linux-gnu-gcc: No such file or directory make[1]: [api.o] Error 127 make[1]: Leaving directory `/home/people/12355656/.cpanm/work/1705343570.38011/YAML-LibYAML-0.88/LibYAML' make: [subdirs] Error 2 FAIL ! Installing YAML::XS failed. See /home/people/12355656/.cpanm/work/1705343570.38011/build.log for details. Retry with --force to force install it. Installation failed. Failed installing Perl dependencies.

I opened the build.log file and the message I see is;

Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching YAML::XS () on cpanmetadb ... --> Working on YAML::XS Fetching http://www.cpan.org/authors/id/I/IN/INGY/YAML-LibYAML-0.88.tar.gz -> OK Unpacking YAML-LibYAML-0.88.tar.gz Entering YAML-LibYAML-0.88 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.70) Configuring YAML-LibYAML-0.88 Running Makefile.PL -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.70) Building YAML-LibYAML-0.88 -> FAIL Installing YAML::XS failed. See /home/people/12355656/.cpanm/work/1705343570.38011/build.log for details. Retry with --force to force install it.

I don't know how to fix this and any help that is offered is much appreciated. I have tried installing YAML::XS separately with conda and I have also tried to install libYAML and that did not work either. What can I do to fix the error? I do not have sudo access on the system.

Thank you