This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Vcftools Installation Error On Mac

After typing make in the folder of vcftools, I encounter the following errors.

make[1]: Nothing to be done for `all'.
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
...
...
...
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
make[1]: *** [install] Error 64
make: *** [install] Error 2

I am wondering if anybody knows what to do with this. Thanks. Any help would be appreciated.

Cathy

vcftools installation error

1 answer

The error might be raised long before, more information is required. Also I tried the build:

Seneca:vcftools_0.1.6 mdondrup$ make
g++ -O2 -Wall -Wextra vcftools.cpp vcf_file.cpp vcf_entry.cpp vcf_entry_getters.cpp vcf_entry_setters.cpp vcf_file_filters.cpp vcf_file_output.cpp vcf_file_format_convert.cpp vcf_file_diff.cpp parameters.cpp output_log.cpp -o vcftools -lz 
cp /Users/mdondrup/Downloads/vcftools_0.1.6/cpp/vcftools /Users/mdondrup/Downloads/vcftools_0.1.6//bin/vcftools

That is how the output looks for me, the binaries are in the bin subdirectory, so it works fine. Which version are you trying to build? What is you macos version. And paste the complete output.

Log in to answer this question.