[Haskell-beginners] Compiling afrob from Yampa

Nathan Huesken haskell at lonely-star.org
Sat Jun 12 15:11:37 EDT 2010


Hi,

I am trying to learn yampa and downloaded the package, also containing
afrob from the homepage. I installed arrows and HGL over cabal.
Now I go into the afrob directory and type make, I get:

make -C src
make[1]: Entering directory `/home/ls/tmp/Yampa-0.9.1/afrob-0.2/src'
make -C Common
make[2]: Entering directory
`/home/ls/tmp/Yampa-0.9.1/afrob-0.2/src/Common' ghc -M -optdep-f
-optdep.hs_dependences
-optdep--exclude-directory=/usr/local/lib/ghc/imports/arrow:/usr/local/lib/ghc/imports/afrp
-fglasgow-exts -O -package lang
-i/usr/local/lib/ghc/imports/arrow:/usr/local/lib/ghc/imports/afrp
AFrob.hs AFrobDiagnostics.hs AFrobPhysicalDimensions.hs AFrobRobotIO.hs
AFrobRobotSimFake.hs   		 || (rm -f .hs_dependences ;
exit 1)

on the commandline:
    Warning: -optdep-f is deprecated: Use -dep-makefile instead
<command line>: unknown package: lang
ghc -c  -fglasgow-exts -O -package lang
-i/usr/local/lib/ghc/imports/arrow:/usr/local/lib/ghc/imports/afrp  -o
AFrob.o AFrob.hs <command line>: unknown package: lang make[2]: ***
[AFrob.o] Error 1 make[2]: Leaving directory
`/home/ls/tmp/Yampa-0.9.1/afrob-0.2/src/Common' make[1]: *** [Common]
Error 2 make[1]: Leaving directory
`/home/ls/tmp/Yampa-0.9.1/afrob-0.2/src' make: *** [src] Error 2

So I suppose I am missing the "lang" package ?!? How do I get it?

Thanks!
Nathan


More information about the Beginners mailing list