How to fix this error when installing bcftools in MAC? C: [ploidy.o] Error 1How can I fix this PostgreSQL...

Is there a working SACD iso player for Ubuntu?

Does a 'pending' US visa application constitute a denial?

Fear of getting stuck on one programming language / technology that is not used in my country

Pre-mixing cryogenic fuels and using only one fuel tank

Why did the HMS Bounty go back to a time when whales are already rare?

Intuition of generalized eigenvector.

In Qur'an 7:161, why is "say the word of humility" translated in various ways?

Strong empirical falsification of quantum mechanics based on vacuum energy density

Biological Blimps: Propulsion

How could a planet have erratic days?

Longest common substring in linear time

Is it improper etiquette to ask your opponent what his/her rating is before the game?

How to explain what's wrong with this application of the chain rule?

Non-trope happy ending?

Loading commands from file

Is there a name for this algorithm to calculate the concentration of a mixture of two solutions containing the same solute?

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

When were female captains banned from Starfleet?

Where does the bonus feat in the cleric starting package come from?

Is it better practice to read straight from sheet music rather than memorize it?

It grows, but water kills it

Is the U.S. Code copyrighted by the Government?

What prevents the use of a multi-segment ILS for non-straight approaches?

Is this toilet slogan correct usage of the English language?



How to fix this error when installing bcftools in MAC? C: [ploidy.o] Error 1


How can I fix this PostgreSQL installation error on Mac?Error when installing cpanminus on Mac OS XError installing GCC on FedoraHow to fix Macports configuration error like this?How can I fix this configure error?gcc configure --disable-shared fails to disable shared libraries during compilation, libgmp and libmpc conflictWhat's this error when installing Arch Linux?How to fix error: Could not symlink lib/gcc/4.9?Error when installing metasploit-framework on Mac YosemiteError when installing KDE













0















I am trying to install bcftools on the Mac for the handling of VCF files, but I have some problems when performing a correct installation of this, specifically when doing 'make'.



The instructions for the installation of bfctools appear in the following link, I try to follow the steps but doing 'make' is where the problem arises.



Also installing samstools and HTSlib the same problems arise.



Other links for installation are the following:




  • https://samtools.github.io/bcftools/howtos/install.html

  • http://www.htslib.org/download/


This is what happens when trying to install



MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ make
echo '#define BCFTOOLS_VERSION "1.9-117-g9e81e92"' > version.h
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o main.o main.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfindex.o vcfindex.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tabix.o tabix.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfstats.o vcfstats.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfisec.o vcfisec.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfmerge.o vcfmerge.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfquery.o vcfquery.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcffilter.o vcffilter.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o filter.o filter.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfsom.o vcfsom.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfnorm.o vcfnorm.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfgtcheck.o vcfgtcheck.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfview.o vcfview.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfannotate.o vcfannotate.c
vcfannotate.c: In function ‘setter_info_str’:
vcfannotate.c:854:59: warning: request for implicit conversion from ‘void *’ to ‘struct kh_str2int_t *’ not permitted in C++ [-Wc++-compat]
if ( !col->mm_str_hash ) col->mm_str_hash = khash_str2int_init();
^
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfroh.o vcfroh.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconcat.o vcfconcat.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcall.o vcfcall.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o mcall.o mcall.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcmp.o vcmp.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o gvcf.o gvcf.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o reheader.o reheader.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o convert.o convert.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconvert.o vcfconvert.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tsv2vcf.o tsv2vcf.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcnv.o vcfcnv.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o HMM.o HMM.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -DPLUGINPATH='"/usr/local/libexec/bcftools"' -c -o vcfplugin.o vcfplugin.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o consensus.o consensus.c
gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o ploidy.o ploidy.c
In file included from /usr/include/Availability.h:232:0,
from /usr/include/stdlib.h:61,
from ../htslib/htslib/khash.h:128,
from ../htslib/htslib/khash_str2int.h:28,
from ploidy.c:25:
/usr/include/AvailabilityInternal.h:33:18: error: missing binary operator before token "("
#if __has_include(<AvailabilityInternalPrivate.h>)
^
In file included from /usr/include/stdlib.h:61:0,
from ../htslib/htslib/khash.h:128,
from ../htslib/htslib/khash_str2int.h:28,
from ploidy.c:25:
/usr/include/Availability.h:493:18: error: missing binary operator before token "("
#if __has_include(<AvailabilityProhibitedInternal.h>)
^
make: *** [ploidy.o] Error 1


I attach the dependencies that I have installed with brew:



MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ brew list
atk icu4c
autoconf isl
automake jpeg
cairo libepoxy
fontconfig libffi
freetype libmpc
fribidi libpng
gdbm libtiff
gdk-pixbuf mpfr
gettext ncurses
git-flow-avh openssl
glib pango
gmp pcre
gnu-getopt pixman
graphite2 pkg-config
gsettings-desktop-schemas python
gtk+ readline
gtk+3 sqlite
harfbuzz xz
hicolor-icon-theme zlib


I was already consulting with some friends and do not have this problem with the same version of MAC: Mojave: 10.14.3.




  • Note: Xcode version: Xcode-select version 2354


My last option is to install a virtual machine but, I repeat, some users with similar characteristics have already installed bcftools









share







New contributor




Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I am trying to install bcftools on the Mac for the handling of VCF files, but I have some problems when performing a correct installation of this, specifically when doing 'make'.



    The instructions for the installation of bfctools appear in the following link, I try to follow the steps but doing 'make' is where the problem arises.



    Also installing samstools and HTSlib the same problems arise.



    Other links for installation are the following:




    • https://samtools.github.io/bcftools/howtos/install.html

    • http://www.htslib.org/download/


    This is what happens when trying to install



    MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ make
    echo '#define BCFTOOLS_VERSION "1.9-117-g9e81e92"' > version.h
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o main.o main.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfindex.o vcfindex.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tabix.o tabix.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfstats.o vcfstats.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfisec.o vcfisec.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfmerge.o vcfmerge.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfquery.o vcfquery.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcffilter.o vcffilter.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o filter.o filter.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfsom.o vcfsom.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfnorm.o vcfnorm.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfgtcheck.o vcfgtcheck.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfview.o vcfview.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfannotate.o vcfannotate.c
    vcfannotate.c: In function ‘setter_info_str’:
    vcfannotate.c:854:59: warning: request for implicit conversion from ‘void *’ to ‘struct kh_str2int_t *’ not permitted in C++ [-Wc++-compat]
    if ( !col->mm_str_hash ) col->mm_str_hash = khash_str2int_init();
    ^
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfroh.o vcfroh.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconcat.o vcfconcat.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcall.o vcfcall.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o mcall.o mcall.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcmp.o vcmp.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o gvcf.o gvcf.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o reheader.o reheader.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o convert.o convert.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconvert.o vcfconvert.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tsv2vcf.o tsv2vcf.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcnv.o vcfcnv.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o HMM.o HMM.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -DPLUGINPATH='"/usr/local/libexec/bcftools"' -c -o vcfplugin.o vcfplugin.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o consensus.o consensus.c
    gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o ploidy.o ploidy.c
    In file included from /usr/include/Availability.h:232:0,
    from /usr/include/stdlib.h:61,
    from ../htslib/htslib/khash.h:128,
    from ../htslib/htslib/khash_str2int.h:28,
    from ploidy.c:25:
    /usr/include/AvailabilityInternal.h:33:18: error: missing binary operator before token "("
    #if __has_include(<AvailabilityInternalPrivate.h>)
    ^
    In file included from /usr/include/stdlib.h:61:0,
    from ../htslib/htslib/khash.h:128,
    from ../htslib/htslib/khash_str2int.h:28,
    from ploidy.c:25:
    /usr/include/Availability.h:493:18: error: missing binary operator before token "("
    #if __has_include(<AvailabilityProhibitedInternal.h>)
    ^
    make: *** [ploidy.o] Error 1


    I attach the dependencies that I have installed with brew:



    MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ brew list
    atk icu4c
    autoconf isl
    automake jpeg
    cairo libepoxy
    fontconfig libffi
    freetype libmpc
    fribidi libpng
    gdbm libtiff
    gdk-pixbuf mpfr
    gettext ncurses
    git-flow-avh openssl
    glib pango
    gmp pcre
    gnu-getopt pixman
    graphite2 pkg-config
    gsettings-desktop-schemas python
    gtk+ readline
    gtk+3 sqlite
    harfbuzz xz
    hicolor-icon-theme zlib


    I was already consulting with some friends and do not have this problem with the same version of MAC: Mojave: 10.14.3.




    • Note: Xcode version: Xcode-select version 2354


    My last option is to install a virtual machine but, I repeat, some users with similar characteristics have already installed bcftools









    share







    New contributor




    Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I am trying to install bcftools on the Mac for the handling of VCF files, but I have some problems when performing a correct installation of this, specifically when doing 'make'.



      The instructions for the installation of bfctools appear in the following link, I try to follow the steps but doing 'make' is where the problem arises.



      Also installing samstools and HTSlib the same problems arise.



      Other links for installation are the following:




      • https://samtools.github.io/bcftools/howtos/install.html

      • http://www.htslib.org/download/


      This is what happens when trying to install



      MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ make
      echo '#define BCFTOOLS_VERSION "1.9-117-g9e81e92"' > version.h
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o main.o main.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfindex.o vcfindex.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tabix.o tabix.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfstats.o vcfstats.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfisec.o vcfisec.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfmerge.o vcfmerge.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfquery.o vcfquery.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcffilter.o vcffilter.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o filter.o filter.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfsom.o vcfsom.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfnorm.o vcfnorm.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfgtcheck.o vcfgtcheck.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfview.o vcfview.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfannotate.o vcfannotate.c
      vcfannotate.c: In function ‘setter_info_str’:
      vcfannotate.c:854:59: warning: request for implicit conversion from ‘void *’ to ‘struct kh_str2int_t *’ not permitted in C++ [-Wc++-compat]
      if ( !col->mm_str_hash ) col->mm_str_hash = khash_str2int_init();
      ^
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfroh.o vcfroh.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconcat.o vcfconcat.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcall.o vcfcall.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o mcall.o mcall.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcmp.o vcmp.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o gvcf.o gvcf.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o reheader.o reheader.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o convert.o convert.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconvert.o vcfconvert.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tsv2vcf.o tsv2vcf.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcnv.o vcfcnv.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o HMM.o HMM.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -DPLUGINPATH='"/usr/local/libexec/bcftools"' -c -o vcfplugin.o vcfplugin.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o consensus.o consensus.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o ploidy.o ploidy.c
      In file included from /usr/include/Availability.h:232:0,
      from /usr/include/stdlib.h:61,
      from ../htslib/htslib/khash.h:128,
      from ../htslib/htslib/khash_str2int.h:28,
      from ploidy.c:25:
      /usr/include/AvailabilityInternal.h:33:18: error: missing binary operator before token "("
      #if __has_include(<AvailabilityInternalPrivate.h>)
      ^
      In file included from /usr/include/stdlib.h:61:0,
      from ../htslib/htslib/khash.h:128,
      from ../htslib/htslib/khash_str2int.h:28,
      from ploidy.c:25:
      /usr/include/Availability.h:493:18: error: missing binary operator before token "("
      #if __has_include(<AvailabilityProhibitedInternal.h>)
      ^
      make: *** [ploidy.o] Error 1


      I attach the dependencies that I have installed with brew:



      MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ brew list
      atk icu4c
      autoconf isl
      automake jpeg
      cairo libepoxy
      fontconfig libffi
      freetype libmpc
      fribidi libpng
      gdbm libtiff
      gdk-pixbuf mpfr
      gettext ncurses
      git-flow-avh openssl
      glib pango
      gmp pcre
      gnu-getopt pixman
      graphite2 pkg-config
      gsettings-desktop-schemas python
      gtk+ readline
      gtk+3 sqlite
      harfbuzz xz
      hicolor-icon-theme zlib


      I was already consulting with some friends and do not have this problem with the same version of MAC: Mojave: 10.14.3.




      • Note: Xcode version: Xcode-select version 2354


      My last option is to install a virtual machine but, I repeat, some users with similar characteristics have already installed bcftools









      share







      New contributor




      Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am trying to install bcftools on the Mac for the handling of VCF files, but I have some problems when performing a correct installation of this, specifically when doing 'make'.



      The instructions for the installation of bfctools appear in the following link, I try to follow the steps but doing 'make' is where the problem arises.



      Also installing samstools and HTSlib the same problems arise.



      Other links for installation are the following:




      • https://samtools.github.io/bcftools/howtos/install.html

      • http://www.htslib.org/download/


      This is what happens when trying to install



      MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ make
      echo '#define BCFTOOLS_VERSION "1.9-117-g9e81e92"' > version.h
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o main.o main.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfindex.o vcfindex.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tabix.o tabix.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfstats.o vcfstats.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfisec.o vcfisec.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfmerge.o vcfmerge.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfquery.o vcfquery.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcffilter.o vcffilter.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o filter.o filter.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfsom.o vcfsom.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfnorm.o vcfnorm.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfgtcheck.o vcfgtcheck.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfview.o vcfview.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfannotate.o vcfannotate.c
      vcfannotate.c: In function ‘setter_info_str’:
      vcfannotate.c:854:59: warning: request for implicit conversion from ‘void *’ to ‘struct kh_str2int_t *’ not permitted in C++ [-Wc++-compat]
      if ( !col->mm_str_hash ) col->mm_str_hash = khash_str2int_init();
      ^
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfroh.o vcfroh.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconcat.o vcfconcat.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcall.o vcfcall.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o mcall.o mcall.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcmp.o vcmp.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o gvcf.o gvcf.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o reheader.o reheader.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o convert.o convert.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfconvert.o vcfconvert.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o tsv2vcf.o tsv2vcf.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o vcfcnv.o vcfcnv.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o HMM.o HMM.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -DPLUGINPATH='"/usr/local/libexec/bcftools"' -c -o vcfplugin.o vcfplugin.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o consensus.o consensus.c
      gcc -g -Wall -Wc++-compat -O2 -I. -I../htslib -c -o ploidy.o ploidy.c
      In file included from /usr/include/Availability.h:232:0,
      from /usr/include/stdlib.h:61,
      from ../htslib/htslib/khash.h:128,
      from ../htslib/htslib/khash_str2int.h:28,
      from ploidy.c:25:
      /usr/include/AvailabilityInternal.h:33:18: error: missing binary operator before token "("
      #if __has_include(<AvailabilityInternalPrivate.h>)
      ^
      In file included from /usr/include/stdlib.h:61:0,
      from ../htslib/htslib/khash.h:128,
      from ../htslib/htslib/khash_str2int.h:28,
      from ploidy.c:25:
      /usr/include/Availability.h:493:18: error: missing binary operator before token "("
      #if __has_include(<AvailabilityProhibitedInternal.h>)
      ^
      make: *** [ploidy.o] Error 1


      I attach the dependencies that I have installed with brew:



      MacBook-Pro-de-Carlos:bcftools carlosvasquezguerra$ brew list
      atk icu4c
      autoconf isl
      automake jpeg
      cairo libepoxy
      fontconfig libffi
      freetype libmpc
      fribidi libpng
      gdbm libtiff
      gdk-pixbuf mpfr
      gettext ncurses
      git-flow-avh openssl
      glib pango
      gmp pcre
      gnu-getopt pixman
      graphite2 pkg-config
      gsettings-desktop-schemas python
      gtk+ readline
      gtk+3 sqlite
      harfbuzz xz
      hicolor-icon-theme zlib


      I was already consulting with some friends and do not have this problem with the same version of MAC: Mojave: 10.14.3.




      • Note: Xcode version: Xcode-select version 2354


      My last option is to install a virtual machine but, I repeat, some users with similar characteristics have already installed bcftools







      linux macos xcode gcc





      share







      New contributor




      Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 mins ago









      Vásquez CarlosVásquez Carlos

      1




      1




      New contributor




      Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Vásquez Carlos is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Vásquez Carlos is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1416839%2fhow-to-fix-this-error-when-installing-bcftools-in-mac-c-ploidy-o-error-1%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Vásquez Carlos is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Vásquez Carlos is a new contributor. Be nice, and check out our Code of Conduct.













          Vásquez Carlos is a new contributor. Be nice, and check out our Code of Conduct.












          Vásquez Carlos is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1416839%2fhow-to-fix-this-error-when-installing-bcftools-in-mac-c-ploidy-o-error-1%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...