Saswat Anand <[EMAIL PROTECTED]> writes:
> I am trying to install ghc-5.00 from .hc files on windows NT. But I get the
> following error. It seems Package.hc is missing.
> Please help.
i'm having pb too:
- something is missing for Readline support
> ../../ghc/utils/hsc2hs/hsc2hs-inplace Readline.hsc
> make: ../../ghc/utils/hsc2hs/hsc2hs-inplace: Command not found
> pixel@no:~/rpm/BUILD/ghc-5.00/hslibs/util>ls Readline*
> Readline.hc Readline.hsc Readline_stub.c Readline_stub.h Readline_stub.o
- file Directory_hsc.h and Time_hsc.h are missing
> pixel@no:~/rpm/BUILD/ghc-5.00/ghc/lib/std>make all
> [...]
> gcc -x c Directory.hc -o Directory.raw_s -S -O -fno-defer-pop -fomit-frame-pointer
>-D__GLASGOW_HASKELL__=411 -O -I/home/pixel/rpm/BUILD/ghc-5.00/ghc/includes
>-I/home/pixel/rpm/BUILD/ghc-5.00/ghc/lib/std/cbits
>-I/home/pixel/rpm/BUILD/ghc-5.00/hslibs/lang/cbits
>-I/home/pixel/rpm/BUILD/ghc-5.00/hslibs/posix/cbits
>-I/home/pixel/rpm/BUILD/ghc-5.00/hslibs/util/cbits
>-I/home/pixel/rpm/BUILD/ghc-5.00/hslibs/text/cbits
>-I/home/pixel/rpm/BUILD/ghc-5.00/hslibs/hssource/cbits -I. `echo | sed
>'s/^$/-DSTOLEN_X86_REGS=4/'`
> Directory.hc:3:27: Directory_hsc.h: No such file or directory
% grep '#include' Directory.hsc > Directory_hsc.h
and something alike for Time_hsc.h from Time.hsc
makes it compile, but s_ISDIR is not defined afterwards, so no real solution.
- skipping directory 'driver' (is that nonsense?) and trying to make directly
'compiler' (after building ghc/lib and ghc/rts)
basicTypes/DataCon.o: In function `s720_1_alt':
basicTypes/DataCon.o(.text+0x299f): undefined reference to `PrelList_zdwlvl_fast3'
[...]
basicTypes/DataCon.o(.text+0x2c3c): more undefined references to
`PrelList_zdwlvl_fast3' follow
prelude/PrelRules.o: In function `sbfp_ret':
prelude/PrelRules.o(.text+0x33c7): undefined reference to `PrelWord_zdwa6_fast1'
[...]
prelude/PrelRules.o(.text+0x8940): more undefined references to `PrelWord_zdwa6_fast1'
follow
simplCore/Simplify.o: In function `sf73_1_alt':
simplCore/Simplify.o(.text+0x2456): undefined reference to `PrelList_zdwlvl_fast3'
absCSyn/PprAbsC.o: In function `sjtR_fast3':
absCSyn/PprAbsC.o(.text+0x18177): undefined reference to `PrelList_zdwlvl_fast3'
ghci/InteractiveUI.o: In function `__init_InteractiveUI':
ghci/InteractiveUI.o(.text+0xba): undefined reference to `__init_Readline'
ghci/InteractiveUI.o: In function `sjW4_srt':
ghci/InteractiveUI.o(.text+0xb6ec): undefined reference to
`Readline_zdwreadline_closure'
ghci/InteractiveUI.o: In function `skLW_dflt':
ghci/InteractiveUI.o(.text+0xb876): undefined reference to
`Readline_addzuhistory_closure'
ghci/InteractiveUI.o: In function `skLz_dflt':
ghci/InteractiveUI.o(.text+0xb954): undefined reference to `Readline_zdwreadline_fast2'
/home/pixel/rpm/BUILD/ghc-5.00/ghc/lib/std/libHSstd.a(Directory.o): In function
`s8KQ_entry':
Directory.o(.text+0x38c): undefined reference to `s_ISDIR'
[...]
collect2: ld returned 1 exit status
Please help, cu Pixel.
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs