Hi<br><br>just starting out on haskell so thought I'd try and install a few packages.<br><br>from unix-2.3.2.0:<br><br>$ runhaskell Setup.hs configure <br><br>checking target system type... i686-pc-cygwin<br>configure: creating ./config.status<br>
config.status: creating unix.buildinfo<br>config.status: creating include/HsUnixConfig.h<br>Setup.hs: Missing dependency on a foreign library:<br>* Missing header file: HsUnix.h<br>* Missing C library: dl<br>This problem can usually be solved by installing the system package that<br>
provides this library (you may need the "-dev" version). If the library is<br>already installed but in a non-standard location then you can use the flags<br>--extra-include-dirs= and --extra-lib-dirs= to specify where it is.<br>
<br>The file is part of the pkg I'm trying to build:<br><br>$ find . -name HsUnix.h<br>./include/HsUnix.h<br><br>I would not expect to have to include $CWD/include normally when building a pkg but even using --extra-include-dirs does not work.<br>
<br>I've followed the setup guide here: <a href="http://hackage.haskell.org/trac/ghc/wiki/Building/Windows/Cygwin">http://hackage.haskell.org/trac/ghc/wiki/Building/Windows/Cygwin</a><br><br>Any help appreciated!<br><br>
Regards,<br><br clear="all">Ben<br>