Thanks Aaron,
I installed gcc compiler using :$ sudo apt-get install build-
essential
but when I again did make all it gave me errors as shown below,
Can you please help me solve this problem and install Bedtools.
Thanks again,
Poorva.
Building BEDTools:
=========================================================
- Building in src/utils/lineFileUtilities
* compiling lineFileUtilities.cpp
- Building in src/utils/bedFile
* compiling bedFile.cpp
In file included from bedFile.h:16,
from bedFile.cpp:12:
../../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from bedFile.h:16,
from bedFile.cpp:12:
../../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a
type
make[1]: *** [../../../obj//bedFile.o] Error 1
- Building in src/utils/bedGraphFile
* compiling bedGraphFile.cpp
In file included from bedGraphFile.h:15,
from bedGraphFile.cpp:12:
../../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from bedGraphFile.h:15,
from bedGraphFile.cpp:12:
../../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a
type
make[1]: *** [../../../obj//bedGraphFile.o] Error 1
- Building in src/utils/tabFile
* compiling tabFile.cpp
In file included from tabFile.h:15,
from tabFile.cpp:13:
../../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from tabFile.h:15,
from tabFile.cpp:13:
../../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a
type
make[1]: *** [../../../obj//tabFile.o] Error 1
- Building in src/utils/genomeFile
* compiling genomeFile.cpp
- Building in src/utils/gzstream
g++ -I. -O -Wall -c -o ../../../obj//gzstream.o gzstream.C
In file included from gzstream.C:29:
./gzstream.h:35:18: error: zlib.h: No such file or directory
In file included from gzstream.C:29:
./gzstream.h:50: error: ‘gzFile’ does not name a type
gzstream.C: In member function ‘gzstreambuf* gzstreambuf::open(const
char*, int)’:
gzstream.C:61: error: ‘file’ was not declared in this scope
gzstream.C:61: error: ‘gzopen’ was not declared in this scope
gzstream.C: In member function ‘gzstreambuf* gzstreambuf::close()’:
gzstream.C:72: error: ‘file’ was not declared in this scope
gzstream.C:72: error: ‘gzclose’ was not declared in this scope
gzstream.C:72: error: ‘Z_OK’ was not declared in this scope
gzstream.C: In member function ‘virtual int gzstreambuf::underflow()’:
gzstream.C:90: error: ‘file’ was not declared in this scope
gzstream.C:90: error: ‘gzread’ was not declared in this scope
gzstream.C: In member function ‘int gzstreambuf::flush_buffer()’:
gzstream.C:107: error: ‘file’ was not declared in this scope
gzstream.C:107: error: ‘gzwrite’ was not declared in this scope
make[1]: *** [../../../obj//gzstream.o] Error 1
- Building in src/utils/fileType
* compiling fileType.cpp
- Building in src/utils/bedFilePE
* compiling bedFilePE.cpp
In file included from ../../utils//bedFile/bedFile.h:16,
from bedFilePE.h:12,
from bedFilePE.cpp:15:
../../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../../utils//bedFile/bedFile.h:16,
from bedFilePE.h:12,
from bedFilePE.cpp:15:
../../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a
type
make[1]: *** [../../../obj//bedFilePE.o] Error 1
- Building in src/utils/sequenceUtilities
* compiling sequenceUtils.cpp
- Building in src/utils/BamTools
* compiling BamReader.cpp
In file included from BamReader.cpp:22:
BGZF.h:26:18: error: zlib.h: No such file or directory
In file included from BamReader.cpp:22:
BGZF.h: In static member function ‘static bool
BamTools::BgzfData::CheckBlockHeader(char*)’:
BGZF.h:165: error: ‘Z_DEFLATED’ was not declared in this scope
make[1]: *** [../../../obj//BamReader.o] Error 1
- Building in src/bamToBed
* compiling bamToBed.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from ../utils//BamTools/BamAncillary.h:12,
from bamToBed.cpp:14:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from ../utils//BamTools/BamAncillary.h:12,
from bamToBed.cpp:14:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//bamToBed.o] Error 1
- Building in src/bedToBam
* compiling bedToBam.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from bedToBam.cpp:13:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from bedToBam.cpp:13:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//bedToBam.o] Error 1
- Building in src/bedToIgv
* compiling bedToIgv.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from bedToIgv.cpp:13:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from bedToIgv.cpp:13:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//bedToIgv.o] Error 1
- Building in src/bed12ToBed6
* compiling bed12ToBed6.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from bed12ToBed6.cpp:13:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from bed12ToBed6.cpp:13:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//bed12ToBed6.o] Error 1
- Building in src/closestBed
* compiling closestMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from closestBed.h:15,
from closestMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from closestBed.h:15,
from closestMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//closestMain.o] Error 1
- Building in src/complementBed
* compiling complementMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from complementBed.h:12,
from complementMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from complementBed.h:12,
from complementMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//complementMain.o] Error 1
- Building in src/coverageBed
* compiling coverageMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from coverageBed.h:15,
from coverageMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from coverageBed.h:15,
from coverageMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//coverageMain.o] Error 1
- Building in src/fastaFromBed
* compiling fastaFromBedMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from fastaFromBed.h:15,
from fastaFromBedMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from fastaFromBed.h:15,
from fastaFromBedMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//fastaFromBedMain.o] Error 1
- Building in src/genomeCoverageBed
* compiling genomeCoverageMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from genomeCoverageBed.h:12,
from genomeCoverageMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from genomeCoverageBed.h:12,
from genomeCoverageMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//genomeCoverageMain.o] Error 1
- Building in src/groupBy
* compiling groupBy.cpp
In file included from ../utils//tabFile/tabFile.h:15,
from groupBy.cpp:29:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//tabFile/tabFile.h:15,
from groupBy.cpp:29:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//groupBy.o] Error 1
- Building in src/intersectBed
* compiling intersectMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from intersectBed.h:15,
from intersectMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from intersectBed.h:15,
from intersectMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//intersectMain.o] Error 1
- Building in src/linksBed
* compiling linksMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from linksBed.h:12,
from linksMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from linksBed.h:12,
from linksMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//linksMain.o] Error 1
- Building in src/maskFastaFromBed
* compiling maskFastaFromBedMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from maskFastaFromBed.h:14,
from maskFastaFromBedMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from maskFastaFromBed.h:14,
from maskFastaFromBedMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//maskFastaFromBedMain.o] Error 1
- Building in src/mergeBed
* compiling mergeMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from mergeBed.h:12,
from mergeMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from mergeBed.h:12,
from mergeMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//mergeMain.o] Error 1
- Building in src/overlap
* compiling overlap.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from overlap.cpp:19:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from overlap.cpp:19:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//overlap.o] Error 1
- Building in src/pairToBed
* compiling pairToBedMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from pairToBed.h:20,
from pairToBedMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from pairToBed.h:20,
from pairToBedMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//pairToBedMain.o] Error 1
- Building in src/pairToPair
* compiling pairToPairMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from pairToPair.h:15,
from pairToPairMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from pairToPair.h:15,
from pairToPairMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//pairToPairMain.o] Error 1
- Building in src/shuffleBed
* compiling shuffleBedMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from shuffleBed.h:12,
from shuffleBedMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from shuffleBed.h:12,
from shuffleBedMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//shuffleBedMain.o] Error 1
- Building in src/slopBed
* compiling slopBedMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from slopBed.h:13,
from slopBedMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from slopBed.h:13,
from slopBedMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//slopBedMain.o] Error 1
- Building in src/sortBed
* compiling sortMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from sortBed.h:12,
from sortMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from sortBed.h:12,
from sortMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//sortMain.o] Error 1
- Building in src/subtractBed
* compiling subtractMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from subtractBed.h:15,
from subtractMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from subtractBed.h:15,
from subtractMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//subtractMain.o] Error 1
- Building in src/unionBedGraphs
* compiling unionBedGraphs.cpp
In file included from ../utils//bedGraphFile/bedGraphFile.h:15,
from unionBedGraphs.cpp:19:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedGraphFile/bedGraphFile.h:15,
from unionBedGraphs.cpp:19:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//unionBedGraphs.o] Error 1
- Building in src/windowBed
* compiling windowMain.cpp
In file included from ../utils//bedFile/bedFile.h:16,
from windowBed.h:20,
from windowMain.cpp:12:
../utils//gzstream/gzstream.h:35:18: error: zlib.h: No such file or
directory
In file included from ../utils//bedFile/bedFile.h:16,
from windowBed.h:20,
from windowMain.cpp:12:
../utils//gzstream/gzstream.h:50: error: ‘gzFile’ does not name a type
make[1]: *** [../../obj//windowMain.o] Error 1