Re: [Haskell-cafe] cabal fun (not)

2010-02-06 Thread Peter Robinson
On 6 February 2010 03:33, Ivan Miljenovic ivan.miljeno...@gmail.com wrote: If you upgrade a library, it will break all other libraries that depend upon it.  ghc-pkg list will tell you which libraries are broken and need to be rebuilt. I think you mean ghc-pkg check. Peter

Re: [Haskell-cafe] cabal fun (not)

2010-02-06 Thread Ivan Miljenovic
On 6 February 2010 19:23, Peter Robinson thaldy...@gmail.com wrote: I think you mean ghc-pkg check. Yes, I do. Whoops :s -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com Charles de Gaulle - The better I get to know men, the more I find myself loving dogs. -

[Haskell-cafe] cabal fun (not)

2010-02-05 Thread Johannes Waldmann
while trying to live with different versions of packages, I found cabal-install's behaviour strange because: you can cabal install a package without any complaint but the next ghc-pkg list is all red because of conflicts. and it's too late then - there's no way to get back. even if you re-install

Re: [Haskell-cafe] cabal fun (not)

2010-02-05 Thread Ivan Miljenovic
On 6 February 2010 01:05, Johannes Waldmann waldm...@imn.htwk-leipzig.de wrote: so please please please have cabal install fail with some error message if (that is, before) the install would break anything. - J. If you upgrade a library, it will break all other libraries that depend upon it.

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-07-04 Thread Andrew Coppin
Antoine Latter wrote: Personally, I've never used runhaskell Setup sdist and I've only ever used cabal sdist. But I'm not sure where I learned that. I think cabal-install is a pretty standard util for people to have, and it ships with the Haskell platform now. So the big hurdle is

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Andrew Coppin
Derek Elkins wrote: On Sun, Jun 28, 2009 at 4:11 PM, Antoine Latteraslat...@gmail.com wrote: On Sun, Jun 28, 2009 at 3:42 PM, Andrew Coppinandrewcop...@btinternet.com wrote: Ah. Apparently it's fixed: http://hackage.haskell.org/trac/hackage/ticket/40 Except that it isn't fixed.

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Antoine Latter
On Mon, Jun 29, 2009 at 1:03 PM, Andrew Coppinandrewcop...@btinternet.com wrote: This was not at all clear to me from reading the ticker. OK, so I need to find another seperate tool in order to do this. I guess not every single Haskell user tries to release stuff to Hackage, while presumably

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Andrew Coppin
Antoine Latter wrote: Personally, I've never used runhaskell Setup sdist and I've only ever used cabal sdist. But I'm not sure where I learned that. I think cabal-install is a pretty standard util for people to have, and it ships with the Haskell platform now. So the big hurdle is

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Andrew Coppin
Andrew Coppin wrote: Indeed. I've heard a few people claim that cabal-install is the best thing since sliced bread, but I've never touched it. I don't even know where to get it. (Presumably this will become fairly obvious once I go look for it...) Fortunately, it turns out that a trivial

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Jason Dagit
On Mon, Jun 29, 2009 at 11:57 AM, Andrew Coppin andrewcop...@btinternet.com wrote: Andrew Coppin wrote: Indeed. I've heard a few people claim that cabal-install is the best thing since sliced bread, but I've never touched it. I don't even know where to get it. (Presumably this will become

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Antoine Latter
On Mon, Jun 29, 2009 at 2:12 PM, Jason Dagitda...@codersbase.com wrote: I can't say for certain, but just reading the output it looks like it created a tarball in a temporary folder (that worked) and then when it tried to clean it up it failed.  Sounds like a bug report is in order. You may

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Andrew Coppin
Jason Dagit wrote: On Mon, Jun 29, 2009 at 11:57 AM, Andrew Coppin andrewcop...@btinternet.com mailto:andrewcop...@btinternet.com wrote: Rather less fortunately, it still doesn't actually fix my problem: E:\Haskell\AOC-HalfIntegercabal configure Resolving dependencies...

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Ross Mellgren
I presume that many of the developers do not have windows machines (presumably because windows sucks). Maybe you could help them by trying to track down where the error in the code is, and even better yet submitting a patch? This is all free by the virtue of people giving what time they

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Andrew Coppin
Ross Mellgren wrote: I presume that many of the developers do not have windows machines (presumably because windows sucks). Maybe you could help them by trying to track down where the error in the code is, and even better yet submitting a patch? This is all free by the virtue of people

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-29 Thread Jason Dagit
On Mon, Jun 29, 2009 at 12:55 PM, Andrew Coppin andrewcop...@btinternet.com wrote: This is an exercise in pure frustration! Sometimes it seems as if *everything* is broken on Windows. In my opinion you're right, Windows, and things built on it, tend to be very broken. Maybe that's why so

[Haskell-cafe] Cabal fun [Half-integer]

2009-06-28 Thread Andrew Coppin
Max Rabkin wrote: On Sun, Jun 28, 2009 at 9:29 PM, Andrew Coppinandrewcop...@btinternet.com wrote: Which versions of base have you tested it with? :-) Whichever one GHC 6.10.3 ships with... ghc-pkg list base will tell you which version you have installed. Which tells me

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-28 Thread Andrew Coppin
Andrew Coppin wrote: Alrighty then, so how I just do Setup configure, and now Setup sdist, and then I can upload the result to Ha-- oh, don't be silly. That would simply be too easy. ;-) E:\Haskell\AOC-HalfIntegerrunhaskell Setup sdist Building source dist for AOC-HalfInteger-1.0...

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-28 Thread Antoine Latter
On Sun, Jun 28, 2009 at 3:42 PM, Andrew Coppinandrewcop...@btinternet.com wrote: Andrew Coppin wrote: Alrighty then, so how I just do Setup configure, and now Setup sdist, and then I can upload the result to Ha-- oh, don't be silly. That would simply be too easy. ;-)

Re: [Haskell-cafe] Cabal fun [Half-integer]

2009-06-28 Thread Derek Elkins
On Sun, Jun 28, 2009 at 4:11 PM, Antoine Latteraslat...@gmail.com wrote: On Sun, Jun 28, 2009 at 3:42 PM, Andrew Coppinandrewcop...@btinternet.com wrote: Andrew Coppin wrote: Alrighty then, so how I just do Setup configure, and now Setup sdist, and then I can upload the result to Ha-- oh,