GuoliangLi-HZAU / BatMeth2

BS-seq analysis pipeline
38 stars 13 forks source link

BatMeth2 installation error on ubuntu 17.10 #7

Open AbRawoof opened 5 years ago

AbRawoof commented 5 years ago

Dear GuoliangLi, I am getting error while installing BatMeth2 on ubuntu 17.10. Please let me know if I am missing any dependencies. I followed instructions as follows: u@u:~/Downloads/BatMeth2-master$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working volatile... yes checking for ptrdiff_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for vprintf... yes checking for _doprnt... no checking for floor... no checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for pow... no checking for socket... yes checking for sqrt... no checking for strchr... yes checking for strdup... yes checking for strtoul... yes checking Checking for SIMD support and for a gcc bug...... OK... configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating scripts/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands ########################### u@u:~/Downloads/BatMeth2-master$ make

After running make i am getting error (a part of which I have pested as below)

g++ -Wall -fmessage-length=50 -o batDMR batDMR.cpp regression.o combine_pvals.o merge.o /home/u/Downloads/BatMeth2-master/src/batDMR/GenomicRegion.o /home/u/Downloads/BatMeth2-master/src/batDMR/MethpipeFiles.o -I/home/u/Downloads/BatMeth2-master/src/batDMR -I./ -lgsl -lgslcblas -lm In file included from /usr/include/c++/7/ext/hash_map:60:0, from batDMR.cpp:25: /usr/include/c++/7/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]

warning \

^~~ batDMR.cpp: In function ‘int main(int, const char**)’: batDMR.cpp:812:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (!design_file) ^~ batDMR.cpp:815:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ string table_filename = (outTmp +"_combined.file.temp.txt") ; ^~ batDMR.cpp:970:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (!bed_file) ^~ batDMR.cpp:972:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ cerr << "Definding DMR." << end l; #######################

Kindly let me know the issues.

Thank you,

Sincere Regards, Abdul

ZhouQiangwei commented 5 years ago

Dear Abdul,

It is just a warning message. The program can be used normally.

Best Regards

AbRawoof commented 5 years ago

Dear GuoliangLi, Thank you very much for your response. One more thing is that can I use this package for the samples without replicate ??

Thank you,

Sincere Regards, Abdul Rawoof

ZhouQiangwei commented 5 years ago

Dear Prof. Abdul,

Sure! BatMeth2 can be used when there is no replication.

Best Regards