Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,827
    • Issues 4,827
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 450
    • Merge requests 450
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #3639

Closed
Open
Created Nov 04, 2009 by spookylukey@trac-spookylukey

GHC 6.10.1 fails to build with "../includes/ghcautoconf.h: No such file or directory"

I am attempting to build GHC 6.10.1 on a CentOS 4.5 machine.

At the 'make install' stage, I get this error:

/home/build/build/ghc-6.10.1/libraries/cabal-bin /home/build/local/bin/ghc /home/build/build/ghc-6.10.1/libraries/bootstrapping.conf build     --distpref dist-stage1 --ghc-option=-H32m --ghc-option=-O  --ghc-option=-H32m  --ghc-option=-O
Preprocessing executables for ghc-bin-6.10.1...
Building ghc-bin-6.10.1...

In file included from Main.hs:13:0:

/home/build/local/lib/ghc-6.10.4/ghc-6.10.4/include/HsVersions.h:23:0:
     ../includes/ghcautoconf.h: No such file or directory
make[2]: *** [build.stage.1] Error 1
make[1]: *** [build.stage.1] Error 2
make: *** [stage1] Error 1

This was also reported here http://www.haskell.org/pipermail/glasgow-haskell-bugs/2008-November/015981.html but with no follow up.

I am building using GHC 6.10.4 (which I cannot use for other purposes because of bug #3179 (closed)). I have to compile from source because of #2211 (closed)

I already have GHC 6.8.3 built, so I will uninstall 6.10.4 to try to build 6.10.1 with 6.8.3 instead, and report back here if I have success.

Otherwise, as GHC 6.10.1 is apparently the only version of GHC that I can use (library dependencies rule out 6.8.*), I would really appreciate help on fixing this or a workaround!

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