[Haskell-cafe] unix pkg on cygwin

Ben Fitzgerald benfitzg at gmail.com
Sun Oct 25 06:37:29 EDT 2009


just starting out on haskell so thought I'd try and install a few packages.

from unix-

$ runhaskell Setup.hs configure

checking target system type... i686-pc-cygwin
configure: creating ./config.status
config.status: creating unix.buildinfo
config.status: creating include/HsUnixConfig.h
Setup.hs: Missing dependency on a foreign library:
* Missing header file: HsUnix.h
* Missing C library: dl
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.

The file is part of the pkg I'm trying to build:

$ find . -name HsUnix.h

I would not expect to have to include $CWD/include normally when building a
pkg but even using --extra-include-dirs does not work.

I've followed the setup guide here:

Any help appreciated!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091025/28af8a8d/attachment.html

More information about the Haskell-Cafe mailing list