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 |
|