
Hello, All of a sudden, the package regex-posix-0.94.2 failed to link after i installed a couple of other packages (http, json). When I try to reinstall it, I got the folowing errors: D:\projets\crete1941>cabal install --global --reinstall --enable-documentation regex-posix-0.94.2 Resolving dependencies... Configuring regex-posix-0.94.2... Preprocessing library regex-posix-0.94.2... Text\Regex\Posix\Wrap.hsc:107:19: regex.h: No such file or directory Text\Regex\Posix\Wrap.hsc: In function `main': Text\Regex\Posix\Wrap.hsc:149: error: `regoff_t' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:149: error: (Each undeclared identifier is reported only once Text\Regex\Posix\Wrap.hsc:149: error: for each function it appears in.) Text\Regex\Posix\Wrap.hsc:149: error: syntax error before "int" Text\Regex\Posix\Wrap.hsc:384: error: `REG_NOTBOL' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:385: error: `REG_NOTEOL' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:389: error: `REG_EXTENDED' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:390: error: `REG_ICASE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:391: error: `REG_NOSUB' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:392: error: `REG_NEWLINE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:398: error: `REG_NOMATCH' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:399: error: `REG_BADBR' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:400: error: `REG_BADPAT' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:401: error: `REG_BADRPT' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:402: error: `REG_ECOLLATE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:403: error: `REG_ECTYPE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:404: error: `REG_EESCAPE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:405: error: `REG_ESUBREG' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:406: error: `REG_EBRACK' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:407: error: `REG_EPAREN' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:408: error: `REG_EBRACE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:409: error: `REG_ERANGE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:410: error: `REG_ESPACE' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:447: error: `regex_t' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:481: error: syntax error before ')' token Text\Regex\Posix\Wrap.hsc:484: error: `regmatch_t' undeclared (first use in this function) Text\Regex\Posix\Wrap.hsc:510: error: syntax error before ')' token Text\Regex\Posix\Wrap.hsc:510: error: syntax error before "int" Text\Regex\Posix\Wrap.hsc:511: error: syntax error before ')' token Text\Regex\Posix\Wrap.hsc:511: error: syntax error before "int" Text\Regex\Posix\Wrap.hsc:525: error: syntax error before ')' token compiling dist\build\Text\Regex\Posix\Wrap_hsc_make.c failed command was: D:\Program Files\Haskell Platform\2010.2.0.0\mingw\bin\gcc.exe -c -D__GLASGOW_HASKELL__=612 -DHAVE_REGEX_H -DSPLIT_BASE =1 -ID:\Program Files\Haskell Platform\2010.2.0.0\lib\bytestring-0.9.1.7\include -ID:\Program Files\Haskell Platform\2010.2.0.0\lib\ base-4.2.0.2\include -ID:\Program Files\Haskell Platform\2010.2.0.0\lib/include -ID:\Program Files\Haskell Platform\2010.2.0.0\lib/i nclude -ID:/Program Files/Haskell Platform/2010.2.0.0/lib/include/ dist\build\Text\Regex\Posix\Wrap_hsc_make.c -o dist\build\Text\Re gex\Posix\Wrap_hsc_make.o cabal: Error: some packages failed to install: regex-posix-0.94.2 failed during the building phase. The exception was: ExitFailure 1 I am really clueless about the failure and what caused it. Thanks for your help, Arnaud Bailly