Open sclirl opened 8 years ago
I am having the same issue. Have others found a solution?
This error message ("refreader.h:6:1: warning: null character(s) ignored") implies that the refreader.h file has been corrupted somehow (for example, by opening/editing it with a Windows application or whatever).
My first recommendation would be to clone the latest Pindel version, under OSX or (preferably) Linux/Unix: (git clone https://github.com/genome/pindel) and try install again
If you get the same "null character" warning, I'd open the file on which the problem is reported in an editor and copy-paste its contents to a new file, deleting the old file and giving the new file the name of the old file. Or perhaps by copy-pasting it from Github directly. In any case, this seems to be a file corruption problem of unknown origin.
If none of this seems to work, please let us know!
My install steps are:
The fail result: path is now: /home/sclirl/Tools/htslib-develop/ make: * No rule to make target' argument given to 'delete', expected pointer
make[1]: * [reader.o] Error 1
make[1]: Leaving directory`/home/sclirl/Tools/pindel-master/src'
make: *\ [pindel] Error 2
Makefile.local', needed by
pindel'. Stop. If this is the first time you're running this install script please wait a moment as we create the Makefile.local make -C src pindel make[1]: Entering directory/home/sclirl/Tools/pindel-master/src' make[1]: Leaving directory
/home/sclirl/Tools/pindel-master/src' make[1]: Entering directory `/home/sclirl/Tools/pindel-master/src' g++ -I/home/sclirl/Tools/htslib-develop/include -Wall -g -c -O3 -fopenmp pindel.cpp -o pindel.o g++ -I/home/sclirl/Tools/htslib-develop/include -Wall -g -c -O3 -fopenmp reader.cpp -o reader.o In file included from reader.cpp:40: refreader.h:6:1: warning: null character(s) ignored reader.cpp: In function 'void GetOneChrSeq(std::ifstream&, std::string&, bool)': reader.cpp:168: error: 'RefReader' was not declared in this scope reader.cpp:168: error: 'rr' was not declared in this scope reader.cpp:168: error: expected type-specifier before 'RefReader' reader.cpp:168: error: expected ';' before 'RefReader' reader.cpp:170: error: type 'INSTALL failed Possible reasons:
For further help, see the FAQ file included in this directory Or contact us on kaiye@xjtu.edu.cn