Search code examples
regexcygwindbm

Tokyo Cabinet and cygwin


I am trying to install Tokyo Cabinet under Windows Cygwin but when I run ./configure I get the following error:

configure: error: regex.h is required

Solution

  • From a stock Cygwin installation, this can be fixed by installing the gcc4-core package. Make sure to check Select required packages (RECOMMENDED).

    However if you are trying to cross compile you will need to install PCRE.