Re: [Haskell-cafe] Cabal failures...

2012-11-23 Thread kudah
Personally, I successfully use Wine to build, ship and test for Windows. There are some pitfalls related to -optl-mwindows and encodings, but, if you launch your program with $LANG set to proper windows encoding like cp1251 and the std handles closed with 0- 1- 2-, it should crash on related

Re: [Haskell-cafe] Cabal failures...

2012-11-23 Thread Erik de Castro Lopo
kudah wrote: Personally, I successfully use Wine to build, ship and test for Windows. There are some pitfalls related to -optl-mwindows and encodings, but, if you launch your program with $LANG set to proper windows encoding like cp1251 and the std handles closed with 0- 1- 2-, it should

Re: [Haskell-cafe] Cabal failures...

2012-11-23 Thread kudah
On Sat, 24 Nov 2012 13:46:37 +1100 Erik de Castro Lopo mle...@mega-nerd.com wrote: kudah wrote: Personally, I successfully use Wine to build, ship and test for Windows. There are some pitfalls related to -optl-mwindows and encodings, but, if you launch your program with $LANG set to

Re: [Haskell-cafe] Cabal failures...

2012-11-21 Thread Niklas Larsson
I just want to say that Windows support is much better than one could get the impression from this thread. I use Haskell on Windows as well as OSX and Linux. I think it works very well now, previously one had to know a bit of trickery to get things done. I don't think I have run into any more

Re: [Haskell-cafe] Cabal failures...

2012-11-21 Thread Mike Meyer
On Tue, Nov 20, 2012 at 7:34 PM, Albert Y. C. Lai tre...@vex.net wrote: On 12-11-20 08:20 PM, Johan Tibell wrote: This logic is flawed. More than 90% of computers having Windows doesn't imply that 90% of all computers in a given household runs Windows. What's the probability that your

Re: [Haskell-cafe] Cabal failures...

2012-11-21 Thread Richard O'Keefe
Let's put some numbers on this. (1) In this country, you can buy a second-hand dual core desktop for NZD 200 (roughly USD 165, EUR 130). You can buy a new laptop for NZD 400 (roughly USD 330, EUR 260). Not fancy machines, but more than adequate to compile and build stuff. Shipping

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Andres Löh
Hi Johan. I haven't looked in detail at the overall problem, but: Flags chosen: base3=True, base4=True Why is Cabal setting both base3 and base4 to True? This looks completely fine to me. The Cabal .cabal file is stating: if flag(base4) { build-depends: base = 4 } else { build-depends:

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Gregory Guthrie
:03:20 -0500 From: Albert Y. C. Lai tre...@vex.net Subject: Re: [Haskell-cafe] Cabal failures... At least I paid my 3 hours to explain some cabal stuff at http://www.vex.net/~trebla/haskell/sicp.xhtml

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Alexander Solla
Thanks to all for the comparisons between apt cabal. Your reply basically explains why it is broken, and gives a rationale (cost and trouble to do it), but no prognosis for repair. It's an open problem. I make do with disposable sand-boxes, using cabal-dev to build them. In this way, I can

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Albert Y. C. Lai
On 12-11-20 08:48 AM, Gregory Guthrie wrote: It was also interesting to note a comment that most developers don't have access to a Windows machine for testing. With Windows at 90% of the computing market (Linux = 1.6%), this seems like a problem which might limit growth of Haskell usage.

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Gregory Guthrie
could limit the availability of Haskell to the largest market share of users. --- Subject: Re: [Haskell-cafe] Cabal failures... To: haskell-cafe@haskell.org On 12-11-20 08:48 AM, Gregory Guthrie wrote: It was also interesting to note a comment

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Albert Y. C. Lai
On 12-11-20 05:37 PM, Gregory Guthrie wrote: No; the first sentence says that someone else had reported that testing on Windows was hard to do because of (a perceived) lack of access to Windows by Haskell developers... The implication is that Haskell developers (only/mainly) use *nix. I

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Johan Tibell
On Tue, Nov 20, 2012 at 5:14 PM, Albert Y. C. Lai tre...@vex.net wrote: On 12-11-20 05:37 PM, Gregory Guthrie wrote: No; the first sentence says that someone else had reported that testing on Windows was hard to do because of (a perceived) lack of access to Windows by Haskell developers...

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Darren Grant
Why not? Either way, I am chiming in as a programmer of many years. Unless using osx I stick with windows to avoid half-day forays into nettling technical issues that are not related to the work I am paid to perform. I would love for Haskell to work better there. On Nov 20, 2012 5:21 PM, Johan

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Albert Y. C. Lai
On 12-11-20 08:20 PM, Johan Tibell wrote: This logic is flawed. More than 90% of computers having Windows doesn't imply that 90% of all computers in a given household runs Windows. What's the probability that your household has a Windows computer if you're a programmer that don't live with your

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Johan Tibell
On Tue, Nov 20, 2012 at 5:34 PM, Albert Y. C. Lai tre...@vex.net wrote: This counter-argument is flawed. Why limit oneself to one's own household? (Garage? Basement?) Get out more! Visit a friend. Talk to an internet cafe owner for a special deal to run one's own programs. Rent virtual machine

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Erik de Castro Lopo
Albert Y. C. Lai wrote: Clearly, since 90% of computers have Windows, it should be trivial to find one to test on, if a programmer wants to. Surely every programmer is surrounded by Windows-using family and friends? (Perhaps to the programmer's dismay, too, because the perpetual I've got a

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Erik de Castro Lopo
Albert Y. C. Lai wrote: This counter-argument is flawed. Why limit oneself to one's own household? (Garage? Basement?) Get out more! Visit a friend. If that friend is not a coder, they are unlikely to have the dev tools installed. Talk to an internet cafe owner for a special deal to run

Re: [Haskell-cafe] Cabal failures...

2012-11-20 Thread Clark Gaebel
+1 to this. The friction of finding, setting up, and using Windows isn't even comparable to just sshing into another unix box and testing something quickly. As a university student, I also find it relatively rare that I get to test on a Windows machine. My personal computer runs linux, my

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Johan Tibell
Hi Greg, On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie guth...@mum.edu wrote: I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Greg Fitzgerald
cabal install -v cabal-install Not sure if you're running into this one, but a configuration that wasn't working for me: 1) Install Haskell Platform 2) Install GHC 7.6.1 3) cabal install cabal-install As I recall, the error had something to do with a Cabal-generated 'Paths' file assuming the

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Johan Tibell
On Mon, Nov 19, 2012 at 2:55 PM, Greg Fitzgerald gari...@gmail.com wrote: cabal install -v cabal-install Not sure if you're running into this one, but a configuration that wasn't working for me: 1) Install Haskell Platform 2) Install GHC 7.6.1 3) cabal install cabal-install As I

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Gregory Guthrie
Subject: Re: [Haskell-cafe] Cabal failures... I'm not quite sure what's going on. I've CCed Andres, who wrote the new constraint solver. One especially confusing part is this: C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-12392\Cabal-1.16.0.3\dist\set up\setup.exe configure --verbose=2 --ghc

Re: [Haskell-cafe] Cabal failures...

2012-11-19 Thread Albert Y. C. Lai
On 12-11-19 04:25 PM, Gregory Guthrie wrote: I am not exert in the area, but I wonder how /why/ this is different than other package managers, like apt in Linux, I have never had any problems with it, and I would think that their dependencies are of at least similar complexities. I feel very