Hi Haskell-art users,
 
Thanks in advance.
 
I am using GHCi (6.12.3) on Windows XP.
 
May I request you to assist me for the following please.
 
I am trying to install packages related to Music. What are the packages I can 
install and how? Please provide me detailed information (packages, 
documentation, literature or tutorial).
 
I have tried like this:
 
A. Check for cabal update:
 
I have tried with at ghc command prompt:
 
ghc>cabal update -v
 
But the the message remains the same as before:
 
Downloading the latest package list from hackage.haskell.org
cabal: failed
 
I couldn’t figure out the problem here.
 
B: Tried to install a package (mtl-1.1.1.0 as an example) manually.
 
1. I have installed ghc in F:\ghc drive.
 
2. As a trial, I have downloaded the package mtl 
from http://hackage.haskell.org/package/mtl-1.1.1.0
 
3. I have used cygwin to unpack the files.
 
4. At DOS prompt (F:\Haskell\Literature\Packages\mtl-1.1.1.0\cabal install)
 
    - It looks like installing in C:\Documents and Settings\userID\Application  
      Data\cabal\mtl-1.1.1.0
 
      At Prelude I have issued a command (Prelude> :show packages), it does not 
show the  
      package mtl. But it shows these packages: 
 
      packages currently loaded:
      base
      ffi-1.0
      ghc-prim
      integer-gmp
       rts
 
       I think the package mtl-1.1.1.0 should be in F:\ghc\lib\mtl-1.1.1.0
 
       After installation of a package, how one can test that using an example.
 
Once again, thank you very much for the time you have given.
 
Regards,
 
Deb
 


      
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to