Hello there, I'm trying to install KmerGenie following the README file. I downloaded the kmergeni-1.6892.tar.gz, unzipped it and did make under the folder, but it didn't work. It shows like the following
julibio@DESKTOP-OTF949V ~/curso-bio/kmergenie/kmergenie-1.7051/kmergenie-1.7051
$ make
cd ntCard && ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
./configure: line 3043: test: syntax error: `-std=c++17' unexpected
checking for gawk... (cached) gawk
checking for x86_64-conda-linux-gnu-gcc... /home/julibio/miniconda3/envs/kmergenie/bin/x86_64-conda-linux-gnu-cc
checking whether the C compiler works... no
configure: error: in `/home/julibio/curso-bio/kmergenie/kmergenie-1.7051/kmergenie-1.7051/ntCard':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [makefile:75: ntCard/ntcard] Error 77
Please helpp, how do I install Kmergenie? :(((
It looks like you have some sort of kmergenie conda environment with gcc that make is trying to use. Theoretically you could just install kmergenie in its entirety using conda without dealing with building from source. If there's no particular reason conda doesn't work for this use case I would just go that route.
Remove
--dry-run
if everything looks good and you want to actually create the environment.You can then active the environment and start using it when you're ready.
If you have docker installed it's also available as a docker container from biocontainers. Here's a little example command that will download the container and run
kmergenie --help
.Hi, I have tried the command you recommended but I keep getting other errors when I try to use Kmergenie
What should I do? :(