hello Aur:<br>:) You get the point, the author of that package said that he has no enough time to check for the problem. then I have to solve it myself.<br><br>For these kind of packages, maybe the best way to use it is re-write it myself...<br>
<br>I have see a lot of packages that comes from "master thesis" or some. if you miss the season, then you miss the successful build :).<br><br><div class="gmail_quote">在 2011年10月15日 下午6:48,Aur Saraf <span dir="ltr"><<a href="mailto:sonoflilit@gmail.com">sonoflilit@gmail.com</a>></span>写道:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Did you at least receive this? :-)<br>
<br>
<br>
---------- Forwarded message ----------<br>
From: <<a href="mailto:libraries-owner@haskell.org">libraries-owner@haskell.org</a>><br>
Date: Fri, Oct 14, 2011 at 10:47 PM<br>
Subject: Re: [Haskell-cafe] Cabal's dependence mechanism can be more available<br>
To: <a href="mailto:sonoflilit@gmail.com">sonoflilit@gmail.com</a><br>
<br>
<br>
You are not allowed to post to this mailing list, and your message has<br>
been automatically rejected. If you think that your messages are<br>
being rejected in error, contact the mailing list owner at<br>
<a href="mailto:libraries-owner@haskell.org">libraries-owner@haskell.org</a>.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
---------- Forwarded message ----------<br>
From: Aur Saraf <<a href="mailto:sonoflilit@gmail.com">sonoflilit@gmail.com</a>><br>
To: 吴兴博 <<a href="mailto:wuxb45@gmail.com">wuxb45@gmail.com</a>><br>
Date: Fri, 14 Oct 2011 22:47:27 +0200<br>
Subject: Re: [Haskell-cafe] Cabal's dependence mechanism can be more available<br>
That a package builds with a certain version of another package does<br>
not mean that the code is correct.<br>
<br>
I once had to maintain code that used "CSV > 0.0.0.1", and it turned<br>
out that in CSV-0.0.0.2 there wasn't a newline appended to the end of<br>
the string anymore (in the old version there was), so the packages<br>
compiled great together but I had a huge bug (because I was generating<br>
a text file of empty-line separated CSV blocks for a perl script to<br>
turn into an Excell file, and the perl now thought that it was all one<br>
big CSV block).<br>
<br>
Trusting the author is the best that can be done in these cases.<br>
Sometimes the author is wrong, and then we must ask him to correct his<br>
packages - which I do a lot. But that's life.<br>
<br>
<br>
Cheers,<br>
Aur<br>
<br>
On Thu, Oct 13, 2011 at 4:05 PM, 吴兴博 <<a href="mailto:wuxb45@gmail.com">wuxb45@gmail.com</a>> wrote:<br>
> [[ My point is on cabal, but I had to give some examples. I'm very sorry<br>
> for the authors of the packages listed below. ]]<br>
> The story is :<br>
> I was trying to install a package from hackage [holumbus-mapreduce]. I use<br>
> ghc-7.2.1 and had a hard time to install the packages that depends on.<br>
> [holumbus-mapreduce] depends on [holumbus-distribution].<br>
> [holumbus-distribution] depends on [hxt] and [hxt-regex-xmlschema]. etc..<br>
> There are tens of depends that drive me into an infinite 'step in'.<br>
> If the dependence mechanism of cabal packages is good enough and the<br>
> author of the package built it, the success can be repeat. but it not.<br>
> a example:<br>
> 1.<br>
> There are hxt packages with version 9.* in hackage now.<br>
> [holumbus-distribution] says that it depends on "hxt >= 8.2".<br>
> But I had to add "< 9" to make it compiled. Maybe when<br>
> holumbus-distribution was released, there was no hxt 9.*.<br>
> 2.<br>
> some packages depends on "haskell98 <2"<br>
> I just removed this line, and it compiled, and id I use "haskell98",<br>
> the newer "haskell98-2.*" will clash with new "base"<br>
> 3.<br>
> here is a piece of message from `runhaskell Setup configure`<br>
> """<br>
> Configuring Holumbus-Distribution-0.1.1...<br>
> Warning: This package indirectly depends on multiple versions of the<br>
> same<br>
> package readline-1.0.1.0 requires process-1.0.1.5<br>
> package hslogger-1.1.5 requires process-1.0.1.5<br>
> package haskell98-2.0.0.0 requires process-1.1.0.0<br>
> """<br>
> but finally I found that "readline" does not refuse to be compiled with<br>
> newer "process" at all, I use --reinstall to adjust "readline" and<br>
> "hslogger" play with "process-1.1.0.0"<br>
> It is like C++'s multi-deriving or something like that, I'm not sure of<br>
> the technique word. A what to contain B,C ; B contains D' and C contains<br>
> D'' ; but there can be only One D in A.<br>
><br>
> All I did is download the all packages, edit its depends: and compile and<br>
> install it.<br>
><br>
> If Cabal can remember some certain package-version combination of the<br>
> successful builds, Sure It will make hackage more available to users.<br>
> based on some success build, it can also try to make promotion to<br>
> depends-packages, and provides newest & can build packages.<br>
><br>
> Cheers!<br>
><br>
> --<br>
><br>
> Wu Xingbo<br>
><br>
><br>
> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br> 吴兴博 Wu Xingbo<br><br>