Skip to content

HsFFI.h import doesn't work as installed

After building GHC head I tried to install the 'network' package (version in darcs head).

I got compile errors from including HsFFI.h trying to include 'stg/Types.h' which wasn't installed by the installer (that is, "make install").

I then copied the 'includes/stg' directory from the build directory over into the directory where GHC had been installed, and everything started working.

This was running on Linux, amd64.

Trac metadata
Trac field Value
Version 6.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC aslatter@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information