TheJacksonLaboratory / SVE

GNU General Public License v3.0
51 stars 12 forks source link

src/HisMaker.hh:11:20: fatal error: TFrame.h: No such file or directory #30

Open Babita004 opened 5 years ago

Babita004 commented 5 years ago

Hello,

I tried following command to install SVE:

export ROOTSYS=/home/programs export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib

git clone --recursive https://github.com/TheJacksonLaboratory/SVE.git cd SVE make

I have got following error:

g++ -std=c++11 -m64 -O3 -DCNVNATOR_VERSION=\"v0.3\" -I/home/Programs/include -Isrc/samtools -c src/cnvnator.cpp -o src/obj/cnvnator.o In file included from src/cnvnator.cpp:8:0: src/HisMaker.hh:11:20: fatal error: TFrame.h: No such file or directory

include

                ^

compilation terminated. make[3]: [src/obj/cnvnator.o] Error 1 make[2]: [cnvnator-multi] Error 2 make[1]: [all] Error 2 make: [speedseq] Error 2

Can you suggest me what I am doing wrong.

Thanks in advance

Babita004 commented 5 years ago

After compilation, I have got following error:

gcc -g -Wall -O2 -o bcftools call1.o main.o ../kstring.o ../bgzf.o ../knetfile.o ../bedidx.o -L. -lbcf -lm -lz -lpthread make[5]: Nothing to be done for `all'. g++ -std=c++11 -m64 -O3 -DCNVNATOR_VERSION=\"v0.3\" -o bin/cnvnator-multi src/obj/cnvnator.o src/obj/HisMaker.o src/obj/AliParser.o src/obj/Genotyper.o src/obj/Interval.o src/obj/Genome.o src/obj/TreeBuilder.o src/samtools/libbam.a -lz -pthread -L/home/samir/Programs/root/builddir/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lMatrix -lPhysics -lMathCore -lThread -lGui /usr/bin/ld: cannot find -lCint collect2: error: ld returned 1 exit status make[3]: [cnvnator-multi] Error 1 make[2]: [cnvnator-multi] Error 2 make[1]: [all] Error 2 make: [speedseq] Error 2

Please help me

lslochov commented 5 years ago

Hi @Babita004 , there's no need to use "-lCint" to compile CNVnator, so you can safely remove that option from the Makefile. The TFrame error happens if CNVnator can't find your ROOT installation.

Babita004 commented 5 years ago

Can you please suggest me, which makefile used for removing -lCint option. Thanks

On Tuesday, September 3, 2019, 9:21:35 PM GMT+5:30, lslochov <notifications@github.com> wrote:  

Hi @Babita004 , there's no need to use "-lCint" to compile CNVnator, so you can safely remove that option from the Makefile. The TFrame error happens if CNVnator can't find your ROOT installation.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

lslochov commented 5 years ago

This is on line 5 of the Makefile under "src/speedseq/src/cnvnator/Makefile"

Babita004 commented 5 years ago

Hello Sir, I have already post this error previously but here I want to given complete details for understanding the problem. Firstly, I have given following command for root environment and then run make command.

export ROOTSYS=/home/Programs/root/build

export PATH=$PATH:$ROOTSYS/bin

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib

After running, I have got following error;

make

cp src/lumpy-sv/scripts/pairend_distro.py bin cp src/lumpy-sv/bin/lumpy bin cp src/lumpy-sv/bin/lumpyexpress bin cp src/lumpy-sv/scripts/vcfToBedpe bin cp src/sambamba bin make -C src/samblaster make[3]: Nothing to be done for SAMBLASTER'. cp src/samblaster/samblaster bin cp src/vawk/vawk bin cp src/bamkit/bamtofastq.py bin cp src/bamkit/bamheadrg.py bin cp src/bamkit/bamgroupreads.py bin cp src/bamkit/bamfilterrg.py bin cp src/bamkit/bamcleanheader.py bin cp src/bamkit/bamlibs.py bin make -C src/tabix gcc -g -Wall -O2 -fPIC -o tabix main.o -L. -ltabix -lm -lz cp src/tabix/tabix bin cp src/tabix/bgzip bin cp src/svtyper/svtyper bin make -C src/cnvnator make -C src/samtools make[6]: Nothing to be done forlib'. make[6]: Nothing to be done for lib'. make[6]: Nothing to be done forlib'. gcc -g -Wall -O2 -o samtools bam_tview.o bam_plcmd.o sam_view.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o kaln.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o bam_tview_curses.o bam_tview_html.o libbam.a -Lbcftools -lbcf -lcurses -lm -lz -lpthread gcc -g -Wall -O2 -o bcftools call1.o main.o ../kstring.o ../bgzf.o ../knetfile.o ../bedidx.o -L. -lbcf -lm -lz -lpthread make[5]: Nothing to be done for `all'. g++ -std=c++11 -m64 -O3 -DCNVNATOR_VERSION=\"v0.3\" -o bin/cnvnator-multi src/obj/cnvnator.o src/obj/HisMaker.o src/obj/AliParser.o src/obj/Genotyper.o src/obj/Interval.o src/obj/Genome.o src/obj/TreeBuilder.o src/samtools/libbam.a -lz -pthread -L/home/Programs/root/build/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lMatrix -lPhysics -lMathCore -lThread -lGui /usr/bin/ld: cannot find -lCint collect2: error: ld returned 1 exit status make[3]: [cnvnator-multi] Error 1 make[2]: [cnvnator-multi] Error 2 make[1]: [all] Error 2 make: [speedseq] Error 2

I have also removed removed "-lCint" options from src/speedseq/src/cnvnator/Makefile. Unfortunately, I have got similar error.

Please give me suggestions and help me. I don't know what I am doing wrong

Thanks in advance

lslochov commented 5 years ago

Hi, I think what's going on is that running "make" will attempt to install a fresh copy of CNVnator, so you also need to modify a line in the top level Makefile (the one in the SVE folder) so that it uses the existing copy.

On line 109, change this line:

@cd $(SVE_DIR)/$(SRC) && tar -zxvf CNVnator_v0.3.3.tar.gz

to:

@cd $(SVE_DIR)/$(SRC) # && tar -zxvf CNVnator_v0.3.3.tar.gz

Then go to the CNVnator Makefile under Speedseq and remove "-lCint" again. Then trying compiling the whole thing with "make"

Babita004 commented 5 years ago

Hello lslochov Thank you so much for your suggestions. Sorry for delay response. I have make changes in the both Makefile and then run the again make command. After your suggestions, previous error is solved but unfortunately following error come again;

Score floating point type: double -- Performing Test CXX11_FLAG0 -- Performing Test CXX11_FLAG0 - Success -- C++11 support enabled via -std=c++11 -- Performing Test CXX11_STDLIB_FLAG0 -- Performing Test CXX11_STDLIB_FLAG0 - Success -- Sufficient C++11 library support found with flag ' ' -- Configuring done -- Generating done -- Build files have been written to: /home/Programs/SVE/src/breakdancer-1.4.5 make[1]: Entering directory /home/Programs/SVE/src/breakdancer-1.4.5/build' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory/home/Programs/SVE/src/breakdancer-1.4.5/build' make: *** [breakdancer] Error 2

Please help me and give the suggestions. Thanks in advance

Babita004 commented 5 years ago

Hello,

Please help me and give the suggestions. I don't know what I am doing wrong

Thank You