installed include/HsVersions.h wants to #include "../includes/ghcautoconf.h"
The header file ${PREFIX}/lib/ghc-7.6.3/ghc-7.6.3/include/HsVersions.h
of a GHC installation, contains the following #include
/* Pull in the autoconf defines (HAVE_FOO), but don't include
* ghcconfig.h, because that will include ghcplatform.h which has the
* wrong platform settings for the compiler (it has the platform
* settings for the target plat instead). */
#include "../includes/ghcautoconf.h"
however, there is no ../includes/
folder; the ghcautoconf.h
does actually exist, but is located in the same folder as HsVersions.h
.
This makes it impossible to use HsVersion.hs
without patching the GHC installation.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHC API |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |