pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ghc-6.8.3 fail to install.



Hello,

On Mon, Aug 22, 2011 at 5:11 PM, Matthias Rampke <matthias%rampke.de@localhost> wrote:


On Montag, 22. August 2011 at 11:14, Loïc Maury wrote:

> checking for perl... /usr/pkgsrc/lang/ghc/work/.tools/bin/perl
> configure: error: your version of perl probably won't work, try upgrading it
> *** Error code 1
>
> I think I have the last version of perl (v5.14.1)

Have a look at lang/ghc/patches/patch-at, it already fixes up the configure script for use with perl 5.10 and 5.12 – you *should* be able to just turn [02] into [024], regenerate the checksums ("make mps" from lang/ghc) and be done. Sorry I can't test this because ghc doesn't work on DragonFly. 

In the medium term, wouldn't it make sense to just throw out this whole perl version check, as we can enforce a recent enough perl version through pkgsrc easily?

In the long term, lang/ghc is in desparate need of a version upgrade and DESTDIR support.

Yes I have installed 6.8.3(binary), and the last is 7.2.1

Now I try to install cabal-install, but I have this error :  Distribution/Compat/FilePerms.hs:33:4 - Not in scope: `throwErrnoPathIfMinus1_', and I don't know how I can fix it.

Thank you for the help

Loïc


-m.



Home | Main Index | Thread Index | Old Index