Open GoogleCodeExporter opened 9 years ago
I have the exact same problem. And I am using v2.7.4 on Mac OS X 10.9.2
Original comment by varsha.r...@gmail.com
on 23 Apr 2014 at 10:01
Same problem on ubuntu 14.10
Original comment by trustn...@gmail.com
on 20 May 2014 at 6:50
I have the same problem with bsmap-2.87 on Mac OS X 10.9.3.
And the solution are:
1. replace main.cpp in bsmap file with the attached main.cpp
2. replace param.cpp in bsmap file with the attached param.cpp
3. download the newest samtools from
http://sourceforge.net/projects/samtools/files/samtools/0.1.19/samtools-0.1.19.t
ar.bz2/download
4. install samtools as instruction
5. replace bsmap/samtools file with the newest installed samtools file
After those try to install bsmap again and it should work!
Original comment by Wanlu....@gmail.com
on 9 Jul 2014 at 10:44
Attachments:
I had a similar problem and followed the 5 instructions listed in the previous
comment and I received the following error, can you suggest a next step?:
NWCDM04072992:bsmap-2.87 mackenzie.gavery$ make
g++ -DMAXHITS=10000 -DTHREAD -funroll-loops -Lsamtools -Isamtools -Lgzstream
-Igzstream -O3 -m64 -c main.cpp -o main.o
clang: warning: argument unused during compilation: '-Lsamtools'
clang: warning: argument unused during compilation: '-Lgzstream'
main.cpp:295:60: warning: comparison of unsigned expression < 0 is always false
[-Wtautological-compare]
...if(param.report_repeat_hits>2||param.report_repeat_hits<0) {
~~~~~~~~~~~~~~~~~~~~~~~~^~
main.cpp:301:50: warning: comparison of unsigned expression < 0 is always false
[-Wtautological-compare]
...if(param.verbose_level>2||param.verbose_level<0) {
~~~~~~~~~~~~~~~~~~~^~
2 warnings generated.
g++ -DMAXHITS=10000 -DTHREAD -funroll-loops -Lsamtools -Isamtools -Lgzstream
-Igzstream -O3 -m64 -c pairs.cpp -o pairs.o
clang: warning: argument unused during compilation: '-Lsamtools'
clang: warning: argument unused during compilation: '-Lgzstream'
g++ -DMAXHITS=10000 -DTHREAD -funroll-loops -Lsamtools -Isamtools -Lgzstream
-Igzstream -O3 -m64 -c param.cpp -o param.o
clang: warning: argument unused during compilation: '-Lsamtools'
clang: warning: argument unused during compilation: '-Lgzstream'
param.cpp:8:20: error: use of undeclared identifier '_SC_NPROCESSORS_ONLN'
num_procs=sysconf(_SC_NPROCESSORS_ONLN);
^
param.cpp:85:25: warning: comparison of unsigned expression < 0 is always false
[-Wtautological-compare]
if((dp=ds.find('-'))<0) {
~~~~~~~~~~~~~~~~~^~
1 warning and 1 error generated.
make: *** [param.o] Error 1
Original comment by mgav...@uw.edu
on 22 Oct 2014 at 7:02
Original issue reported on code.google.com by
ed.d...@gmail.com
on 29 Oct 2013 at 3:06