Hi all,
I'm trying to install the latest version of vcf-tools but i'm facing with this error:
g++ -O2 -Wall -Wextra vcftools.cpp vcffile.cpp vcfentry.cpp vcfentrygetters.cpp vcfentrysetters.cpp vcffilefilters.cpp vcffileoutput.cpp vcffileformatconvert.cpp vcffilediff.cpp parameters.cpp vcffileindex.cpp outputlog.cpp -o vcftools -lz /tmp/ccvTYIPP.o: In function
vcf_file::output_as_LDhat_unphased(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': vcf_file_format_convert.cpp:(.text+0x18d3): warning: the use of
tmpnam' is dangerous, better usemkstemp' /tmp/cccloweC.o: In function
vcffile::open()': vcffile.cpp:(.text+0xed2): undefined reference togzbuffer' collect2: ld returned 1 exit status make[1]: *** [vcftools] Error 1 make[1]: Leaving directory
/opt/NGS/VCFTOOLS/vcftools_latest/cpp' cd: 2: can't cd to perl make: * [install] Error 2
How can solve it? Any suggestions?
Matteo