[Yhc] Problem building on Mac OS X
Brent Fulgham
bfulg at pacbell.net
Tue Jul 4 01:10:48 EDT 2006
On Jul 2, 2006, at 10:20 PM, Goetz Isenmann wrote:
>> File "./build/tools/haskell.py", line 163:
>> haskellLibrary = SCons.Builder.Builder(action =
>> SCons.Defaults.ArAction,
>> Chaz:~/Projects/Yhc/yhc-devel brent$
>
> I had to change
>
> {
> hunk ./build/tools/haskell.py 163
> - haskellLibrary = SCons.Builder.Builder(action =
> SCons.Defaults.ArAction,
> + haskellLibrary = SCons.Builder.Builder(action =
> SCons.Action.Action("$ARCOM"),
> }
>
> to build with scons 0.96.92 (on freebsd).
> --
> Goetz Isenmann
Thank you -- this helped quite a bit.
I did get a bit further:
ghc -i./src/compiler98 -idepends/cpphs -c depends/cpphs/Text/
ParserCombinators/HuttonMeijer.hs -o depends/cpphs/Text/
ParserCombinators/HuttonMeijer.o
Getting dependencies for src/compiler98/Bind.hs.
An error ocurred running `ghc -M -optdep-f -optdepsrc/
compiler98/.Bind.hs.dep src/compiler98/Bind.hs`:
>Could not find module `RenameLib':
> use -v to see a list of the files searched for
> (imported from src/compiler98/Bind.hs)
>
Dependencies will not be calculated.
ghc -i./src/compiler98 -idepends/cpphs -c src/compiler98/Bind.hs -o
src/compiler98/Bind.o
src/compiler98/Bind.hs:11:0:
Failed to load interface for `State':
Could not find module `State': use -v to see a list of the
files searched for
scons: *** [src/compiler98/Bind.o] Error 1
scons: building terminated because of errors.
Chaz:~/Projects/Yhc/yhc-devel brent$
=======
Details:
Chaz:~/Projects/Yhc/yhc-devel brent$ ghc -v
Glasgow Haskell Compiler, Version 6.4.2, for Haskell 98, compiled by
GHC version 6.4.2
Using package config file: /opt/local/lib/ghc-6.4.2/package.conf
Using package config file: /Users/brent/.ghc/powerpc-darwin-6.4.2/
package.conf
Hsc static flags: -static
*** Deleting temp files
Deleting:
ghc-6.4.2: no input files
Usage: For basic information, try the `--help' option.
Chaz:~/Projects/Yhc/yhc-devel brent$
More information about the Yhc
mailing list