masurca
masurca copied to clipboard
error during installation 'freq->tri[ii] > 0' and subsequent issue with runCA
Dear all,
I am using Fedora 34, and while I was trying to install it I got this warning
libtool: install: warning: relinking `swig/perl5/mummer.la'
src/AS_MER/merTrim.C:566:2: aviso: #warning ASSUMING SANGER QV ENCODING [-Wcpp]
566 | #warning ASSUMING SANGER QV ENCODING
| ^~~~~~~
src/AS_MER/merTrim.C:2137:2: aviso: #warning unfinished verify [-Wcpp]
2137 | #warning unfinished verify
| ^~~~~~~
src/AS_GKP/fastqAnalyze.C: En la función ‘void doStats(char*, char*)’:
src/AS_GKP/fastqAnalyze.C:195:23: error: ordered comparison of pointer with integer zero (‘uint64 (*)[7]’ {aka ‘long unsigned int (*)[7]’} and ‘int’)
195 | if (freq->tri[ii] > 0)
| ~~~~~~~~~~~~~~^~~
make[1]: *** [Makefile:4101: src/AS_GKP/fastqAnalyze.o] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make: *** [Makefile:848: install-special] Error 2
Then I using some data to test it I run
[MaSuRCA-4.0.6] ./bin/masurca -i ../test-data/reads1.fastq,../test-data/reads2.fastq
Use of uninitialized value $threads in int at ./bin/masurca line 131.
Verifying PATHS...
jellyfish OK
Error: runCA not found or failed to run
bash: ./assemble.sh: No existe el fichero o el directorio
I tried to do make and compile again runCA inside the global-1/CA8 folder but got an error similar to the one above...
[CA8] make
CXX src/AS_GKP/fastqAnalyze.o
src/AS_GKP/fastqAnalyze.C: En la función ‘void doStats(char*, char*)’:
src/AS_GKP/fastqAnalyze.C:195:23: error: ordered comparison of pointer with integer zero (‘uint64 (*)[7]’ {aka ‘long unsigned int (*)[7]’} and ‘int’)
195 | if (freq->tri[ii] > 0)
| ~~~~~~~~~~~~~~^~~
make: *** [Makefile:4101: src/AS_GKP/fastqAnalyze.o] Error 1
Is there any way to fix this? Thank you very much for your help.
FYI same issue on SLES using gcc 11.3.0 gcc 10.3.0 compiles without problems.