Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Trouble in installing Packages (Daniel Fischer)


----------------------------------------------------------------------

Message: 1
Date: Sun, 5 Sep 2010 16:57:17 +0200
From: Daniel Fischer <daniel.is.fisc...@web.de>
Subject: Re: [Haskell-beginners] Trouble in installing Packages
To: beginners@haskell.org
Cc: Lorenzo Isella <lorenzo.ise...@gmail.com>
Message-ID: <201009051657.17935.daniel.is.fisc...@web.de>
Content-Type: text/plain;  charset="iso-8859-1"

On Sunday 05 September 2010 16:05:27, Lorenzo Isella wrote:
> Dear All,
> I am quite new to Haskell and have only very recently found out about
> cabal. I am interested in some haskell packages for scientific
> applications, but I am experiencing some problems in installing them on
> my machine (ubuntu 10.04, amd64 architecture).
> For instance, I pasted below the output of my attempts to install
> hmatrix-static.
> Any idea about how to fix this?
> Cheers
>
> Lorenzo

hmatrix-static hasn't been brought up to ghc-6.12. I think array-0.2.0.0 
doesn't build with 6.12, since some of the low-level IO stuff has been 
changed. The allowed versions of haskell-src-meta and hmatrix seem also not 
to work with 6.12.

What might work is
$ cabal install hmatrix
(will probably install hmatrix-0.9.3.0)
$ cabal unpack hmatrix-static
$ cd hmatrix-static-0.3
open the .cabal file in your favourite editor, change the build-depends 
from array==0.2.* to array >= 0.3 && < 0.4, from haskell-src-
meta>=0.0.3.1&&<0.0.7 to haskell-src-meta >= 0.1 && < 0.2 and from 
hmatrix==0.7* to hmatrix >= 0.9 && < 0.10, change the version of hmatrix-
static to 0.3.0.1, save the changed .cabal file and then
$ cabal install
(no arguments)

Or try to get the maintainer to do the work to get it to build with 6.12.


------------------------------

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 27, Issue 14
*****************************************

Reply via email to