I am using bash-3.2 shell through cygwin to try to install elinks browser on my system. I am following this documentation to install.

I am executing the following command:

./configure && make && make install

The setup fails saying:

error: C preprocessor "/lib/cpp" fails sanity check

What should I do?

3 Answers 3


This indicates a problem with your compiler install, probably glibc headers or GCC. Try reinstalling GCC and the cpp modules, as well as glibc, glibc-headers and glibc-devel.

  • What is the best way to install all of these?
    – Lazer
    Commented Jan 23, 2010 at 20:38
  • Well since these tools are required to install new packages, it will be faster to reinstall cygwin and select them from the list. They may not be named exactly as above, some may already be included in cygwin's glibc package.
    – user1931
    Commented Jan 23, 2010 at 20:46
  • okay. thanks. ill give it a try and let everyone know.
    – Lazer
    Commented Jan 23, 2010 at 20:55

Cygwin as an environment in not obligatory. Here is a Windows ready ELinks package without a need for Cygwin environment:


  • Download, unpack and run.

[ http://www.compmiscellanea.com/ru/konsolnye-prilozhenija-dlja-windows-veb-brauzery.htm#elinks ]


Dirk Paehl compiles Windows binaries. You can download from here:


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .