Skip to content
GitLab
Projects Groups Snippets
  • /
  • 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 5,398
    • Issues 5,398
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 592
    • Merge requests 592
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #60
Closed
Open
Issue created Mar 26, 2002 by mdorr@trac-mdorr

Missing posix package building on WinXP

I installed Cygwin, ghc 5.02.2, happy 1.11, and ghc-
5.02.2-src-1.tar on an XP system. Lacking lndir or 
similar executables, I mad a copy (cp -r) of the 
source tree to a new directory fptools and worked my 
way through the build instructions, ultimately doing:
$ ./configure
    :
$ make
    :
==fptools== make boot - --unix -wr;
 in /home/Martin/haskell/fptools/ghc/compiler
------------------------------------------------------
------------------
../../glafp-utils/mkdependC/mkdependC -f .depend -
D__GLASGOW_HASKELL__=502 -I../includes    -- -optc-O -
-  parser/hschooks.c 
/cygdrive/d/ghc/ghc-5.02.2/bin/ghc -M -optdep-f -
optdep.depend  -osuf o -I../includes   -cpp -fglasgow-
exts -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -
iutils:basicTypes:types:hsSyn:prelude:rename:typecheck
:deSugar:coreSyn:specialise:simplCore:stranal:stgSyn:s
implStg:codeGen:absCSyn:main:profiling:parser:usageSP:
cprAnalysis:javaGen:compMan:nativeGen -package 
concurrent -package posix -package text -package 
util -recomp -Rghc-timing -H16M -O 
utils/Bag.lhsrename/ParseIface.hs 
parser/Parser.hs ... [many *.hs removed] ... 
main/ParsePkgConf.hs
WARNING: error while reading directory d:/ghc/ghc-
5.02.2/imports/posix
main/SysTools.lhs: can't locate import `Posix'
<<ghc: 1154284904 bytes, 77 GCs, 112288/112288 
avg/max bytes residency (1 samples), 16M in use, 0.01 
INIT (0.00 elapsed), 12.17 MUT (33.35 elapsed), 0.14 
GC (0.15 elapsed) :ghc>>
make[2]: *** [depend] Error 1
make[1]: *** [boot] Error 1
make[1]: Leaving directory 
`/home/Martin/haskell/fptools/ghc'
make: *** [all] Error 1

I also tried to just build sub-trees with similar 
errors.

Seems the windows binaries don't include the posix 
package. Is this just missing? Is there a way around 
this and build the compiler and utilities on XP?  I 
thought needing Cygwin anyway, there should be no 
problem to have posix support available. 
Trac metadata
Trac field Value
Version 5.02
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
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