Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install haskell cabal w/o manual dependency resolution

I see there's a nice package system called Cabal that handles dependency resolution. So I'm trying to install that so I can get it to install the Haskell OpenGL modules for me. However, Cabal itself has lots of dependencies. Is there a way to install Cabal without manually resolving all of its dependencies? I tried running the bootstrap, but that doesn't seem to do it, because it reports missing modules parsec and network (which in turn have their own dependencies).

Manually building the dep's got me about 3 deep before the mtl module install crapped out on me:

user@machine:~/haskell/mtl-1.1.0.2$ runghc Setup build
Preprocessing library mtl-1.1.0.2...
Building mtl-1.1.0.2...

Control/Monad/Cont.hs:74:7:
    Could not find module `Control.Monad':
      Perhaps you haven't installed the profiling libraries for package base?
      Use -v to see a list of the files searched for.
like image 535
nont Avatar asked Aug 09 '09 19:08

nont


1 Answers

You should install the Haskell Platform ("batteries included")

like image 122
yairchu Avatar answered Nov 17 '22 16:11

yairchu