Re: [Haskell-cafe] cabal errors

2008-02-29 Thread Ross Paterson
On Thu, Feb 28, 2008 at 07:10:03AM -0500, Kristofer Buffington wrote: > I installed ghc 6.8 from source and I've been installing packages from > hackage. I'm not sure when the problem started, but I've been getting > this error trying to install any cabal package.. accept apparently, > Cabal itsel

Re: [Haskell-cafe] .cabal problem

2008-03-01 Thread Adam Langley
2008/3/1 Galchin Vasili <[EMAIL PROTECTED]>: > I am trying to install a package on my Linux Ubuntu machine. It chokes > build-depends: base, directory because directory dependency is > unresolvable. Do I have to specify "extra-libs" so that correct library > space is searched? Actually I tried

Re: [Haskell-cafe] .cabal problem

2008-03-01 Thread Galchin Vasili
exactly .. I have version 6.6.1 ... question is how do I get the Unbuntu package for version 6.8? V. On Sat, Mar 1, 2008 at 8:02 PM, Adam Langley <[EMAIL PROTECTED]> wrote: > 2008/3/1 Galchin Vasili <[EMAIL PROTECTED]>: > > I am trying to install a package on my Linux Ubuntu machine. It > ch

[Haskell-cafe] CABAL: conditional executable?

2008-03-04 Thread Magnus Therning
I'm putting together a package consisting of 2 executables. Only one of them is pure Haskell and thus buildable on all platforms, the other relies on Windows API calls and can only be built on that platform. I found the “if os(...)” conditional in the CABAL docs but I'm having problems getting it

[Haskell-cafe] cabal-install failure

2008-06-13 Thread Darrin Thompson
Cabal-install is looking good. It now, for the record, has only two deps outside of Cabal-1.4. I installed cabal-install-0.5 on ubuntu with the haskell.org linux binary for ghc 6.8.2. I then tried cabal-install yi Got this output: ... many successful installs ... Registering vty-3.0.1... Reading

[Haskell-cafe] cabal on ubuntu

2008-08-14 Thread Martin DeMello
I'm running Ubuntu 8 (Hardy Heron), and while trying to install cabal ran into this bug: https://bugs.launchpad.net/ubuntu/+source/haskell-cabal/+bug/231099 I finally had to install cabal manually, but it took me a lot of googling to be sure that was the right thing to do. Could someone who knows

[Haskell-cafe] cabal update : getHostByName

2008-09-01 Thread minh thu
Hi, I've followed the instruction from the upcoming book Real World Haskell to install cabal. Now, when I enter "cabal update", it answers this: Downloading package list from server 'http://hackage.haskell.org/packages/archive' cabal: getHostByName: does not exist (no such host entry) What's th

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Don Stewart
wasserman.louis: > What, if anything, stands in the way of parallelizing Cabal installs, make -j > style? Parallelizing ghc --make http://vimeo.com/6572966 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinf

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Christopher Done
On 4 June 2010 00:05, Don Stewart wrote: > wasserman.louis: >> What, if anything, stands in the way of parallelizing Cabal installs, make -j >> style? > > Parallelizing ghc --make > >    http://vimeo.com/6572966 Unless Louis meant what's stopping cabal-install from installing dependancies in para

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Don Stewart
chrisdone: > On 4 June 2010 00:05, Don Stewart wrote: > > wasserman.louis: > >> What, if anything, stands in the way of parallelizing Cabal installs, make > >> -j > >> style? > > > > Parallelizing ghc --make > > > >    http://vimeo.com/6572966 > > Unless Louis meant what's stopping cabal-install

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Louis Wasserman
Heh, I'm interested in both, but I'm feeling like I needed a new project, and I thought this might make a good one =) Louis Wasserman wasserman.lo...@gmail.com http://profiles.google.com/wasserman.louis On Thu, Jun 3, 2010 at 5:42 PM, Don Stewart wrote: > chrisdone: > > On 4 June 2010 00:05, D

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Marc Weber
Excerpts from Christopher Done's message of Fri Jun 04 00:39:23 +0200 2010: > On 4 June 2010 00:05, Don Stewart wrote: > > wasserman.louis: > >> What, if anything, stands in the way of parallelizing Cabal installs, make > >> -j > >> style? > > > > Parallelizing ghc --make > > > >    http://vimeo.

Re: [Haskell-cafe] Cabal -j

2010-06-03 Thread Evan Laforge
On Thu, Jun 3, 2010 at 3:05 PM, Don Stewart wrote: > wasserman.louis: >> What, if anything, stands in the way of parallelizing Cabal installs, make -j >> style? > > Parallelizing ghc --make > >    http://vimeo.com/6572966 Something I wondered from watching that talk, rather than trying to make gh

Re: [Haskell-cafe] Cabal -j

2010-06-07 Thread Louis Wasserman
Hmmm. Now that I've had a chance to rewatch the video, I am enlightened. Nevertheless, I will confess that I wouldn't mind the idea of just doing an external parallelism wrapper, running multiple sessions of GHC rather than making GHC internally parallel. Hm. Louis Wasserman wasserman.lo...

[Haskell-cafe] cabal, Setup.lhs example

2010-07-19 Thread Tom Hawkins
I have a script I'm using to generate some Haskell code for a library. How do I specify this flow in the cabal setup file? Would someone point me to a relevant library I can reference as an example? -Tom ___ Haskell-Cafe mailing list Haskell-Cafe@haske

[Haskell-cafe] Cabal LD errors

2010-08-01 Thread wren ng thornton
So I'm getting some weird linking errors from cabal-install when doing `cabal configure && cabal build` ld warning: atom sorting error for _postazm0zi2zi0_DataziMonoidziOrdziArgmax_Max_closure_tbl and _postazm0zi2zi0_DataziMonoidziOrdziArgmax_Min_closure_tbl in dist/build/Data/Monoid/Ord/Argm

[Haskell-cafe] cabal, haddock, hscolour

2010-08-13 Thread Johannes Waldmann
How is the "cabal" magic that would run hscolour? I am using "cabal haddock --executables --hyperlink-source" and this generates the API docs for all modules, and all have source links, but the actual html-ized source is only generated for the main module, and missing for all others. Thanks - J

[Haskell-cafe] Cabal-install prefix

2010-09-21 Thread N. Raghavendra
I am new to Haskell, and am trying to install a package (scan) using cabal-install. I want it to install all files under the directory ${HOME}/nonvc, like in ~/nonvc/share and ~/nonvc/bin. So I specified install-dirs user -- prefix: /home/raghu/nonvc in ~/.cabal/config. But when I do `cabal

[Haskell-cafe] cabal mystery (#562?)

2010-10-28 Thread Conor McBride
Hi I've just installed cabal-install (just as a user: I am nowhere near root) on our unix server at work. That went fine. Clearly, the sensible thing to do next is get hold of an up-to-date package list. So, I tried co...@cafe:~$ cabal update Downloading the latest package list from hackage.has

[Haskell-cafe] : cabal install SDL

2009-12-27 Thread Lie Ryan
C:\Windows\system32>cabal install SDL Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\LIERYA~1\AppData\Local\Temp\SDL-0.5.93108\SDL-0.5.9\Setup.lhs, C:\Users\LIERYA~1\AppData\Local\Temp\SDL-0.5.93108\SDL-0.

Re: [Haskell-cafe] Cabal bug?

2010-01-11 Thread Ivan Lazar Miljenovic
"Henk-Jan van Tuyl" writes: > I had a strange response from Cabal: > >cabal upgrade hlint I thought upgrade was disabled... what version of cabal-install do you have? > Resolving dependencies... > cabal: cannot configure containers-0.3.0.0. It requires base >=4.2 && <6 > For the depende

Re: [Haskell-cafe] Cabal bug?

2010-01-11 Thread Duncan Coutts
On Mon, 2010-01-11 at 13:33 +0100, Henk-Jan van Tuyl wrote: > L.S., > > > I had a strange response from Cabal: >>cabal upgrade hlint >Resolving dependencies... >cabal: cannot configure containers-0.3.0.0. It requires base >=4.2 && <6 >For the dependency on base >=4.2 && <6 there a

[Haskell-cafe] cabal install glfw

2010-01-19 Thread Ozgur Akgun
Dear Cafe and Paul, I am constantly having problems with cabal install in Snow Leopard. Some I solve, some I cannot unfortunately. When I run sudo cabal install glfw -v2 in Snow Leopard, I get the following. glfw/lib/macosx/macosx_enable.c:1:0: error: bad value (apple) for -march= switch

[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-inst

[Haskell-cafe] cabal install time

2010-02-08 Thread Ozgur Akgun
I hate sending such messages to cafe, but... When I try to install "time" I get the following error: > sudo cabal install time ld: duplicate symbol ___hscore_d_name in /Users/username/.cabal/lib/unix-2.4.0.0/ghc-6.10.4/libHSunix-2.4.0.0.a(dirUtils.o) and /Library/Frameworks/GHC.framework/Versio

[Haskell-cafe] Cabal update problem

2010-02-19 Thread Maciej Podgurski
Hi, after updating to cabal-install-0.8.0/Cabal-1.8.0.2 with GHC 6.10.4, I always get an error when updating the package list: > cabal update Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: premature end of compressed stream Is there a way

[Haskell-cafe] Cabal dependency hell

2010-03-08 Thread Maciej Piechotka
While I love Haskell it's packaging system have some problems - especially with parsec. Currently I'm not able to install an practically anything using cabal due to version mismatches (or at least packages linking to both version of parsec). I found the following problems in various cabal package

Re: [Haskell-cafe] Cabal-install

2010-03-08 Thread Peter Robinson
On 8 March 2010 17:51, Andrew Coppin wrote: > Anyway, can anybody tell me how I can change the default settings so that I > get profiling libraries built by default, and Haddock documentation built by > default? > > (I'm on Windows, in case that makes a difference...) # cabal install --help shows

Re: [Haskell-cafe] Cabal-install

2010-03-08 Thread Miguel Mitrofanov
MigMit:~ MigMit$ cabal --help This program is the command line interface to the Haskell Cabal infrastructure. See http://www.haskell.org/cabal/ for more information. ^ | + On 8 Mar 2010, at 19:51, Andrew Coppin wrote: OK, so apparent

Re: [Haskell-cafe] Cabal-install

2010-03-08 Thread Andrew Coppin
Miguel Mitrofanov wrote: See http://www.haskell.org/cabal/ for more information. ^ | + Oh, sure, like I haven't already tried *that*. ;-) ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.o

Re: [Haskell-cafe] Cabal-install

2010-03-08 Thread Andrew Coppin
Peter Robinson wrote: On 8 March 2010 17:51, Andrew Coppin wrote: Anyway, can anybody tell me how I can change the default settings so that I get profiling libraries built by default, and Haddock documentation built by default? (I'm on Windows, in case that makes a difference...) # c

[Haskell-cafe] Cabal source installation

2010-03-23 Thread Chris Dornan
I am using Cabal on Windows and Haskell Platform 2009.2.0.2 and have been trying get it to install the package source code with no success, so I am considering writing a script to unpack the tar archive and install it in my own package source repository. Is there an easier way to do this? C

[Haskell-cafe] cabal through PHPProxy

2010-03-31 Thread Dupont Corentin
Hello, i'm using PHPProxy to go on the internet (www.phpproxy.fr). How can i tell cabal to use this? Cheers, Corentin ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Cabal-install

2010-04-11 Thread Duncan Coutts
On Mon, 2010-03-08 at 17:33 +, Andrew Coppin wrote: > Miguel Mitrofanov wrote: > > See http://www.haskell.org/cabal/ for more information. > > ^ > > | > > + > > Oh, sure, like I haven't already tried *that*. ;-) BTW, for future refer

[Haskell-cafe] cabal: other-modules

2010-04-15 Thread Johannes Waldmann
What is the purpose of the "Other-Modules" section in a cabal file? (I.e., can we drop it?) If it's just the set of dependencies of the "Exported-Modules", then a reasonable build system should be able to figure this out on its own. The current situation is that I have to manage this list manuall

Re: [Haskell-cafe] cabal-install

2010-05-18 Thread Ivan Lazar Miljenovic
Serguey Zefirov writes: > Why there is no switch to turn off any use of proxy in cabal-install? > Or to supply username/password pair in command line. > > I have a strange situation: wget works like charm ignoring proxy (I > downloaded Cabal and cabal-install to investigate the problem using > wg

Re: [Haskell-cafe] cabal-install

2010-05-18 Thread Serguey Zefirov
2010/5/19 Ivan Lazar Miljenovic : > Serguey Zefirov writes: >> Why there is no switch to turn off any use of proxy in cabal-install? >> Or to supply username/password pair in command line. >> I have a strange situation: wget works like charm ignoring proxy (I >> downloaded Cabal and cabal-install

Re: [Haskell-cafe] cabal-install

2010-05-19 Thread Ivan Lazar Miljenovic
Serguey Zefirov writes: >> export http_proxy="http://${username}:${passwo...@${proxy_url}"; > > I tried it and it didn't work. I don't know reason, though, maybe it > was because my current password not entirely alphanumeric. Shouldn't matter as long as you put it within quotes. -- Ivan Lazar M

Re: [Haskell-cafe] cabal-install

2010-05-19 Thread Brandon S. Allbery KF8NH
On May 19, 2010, at 04:49 , Ivan Lazar Miljenovic wrote: Serguey Zefirov writes: export http_proxy="http://${username}:${passwo...@${proxy_url}"; I tried it and it didn't work. I don't know reason, though, maybe it was because my current password not entirely alphanumeric. Shouldn't matter

Re: [Haskell-cafe] cabal-install

2010-05-19 Thread Serguey Zefirov
>>> I tried it and it didn't work. I don't know reason, though, maybe it >>> was because my current password not entirely alphanumeric. >> Shouldn't matter as long as you put it within quotes. > I imagine things will go wrong if it includes an @... urlencoding is > probably a smart idea. Thank you

Re: [Haskell-cafe] cabal issue

2012-05-09 Thread Graham Berks
Have solved the issue with help from JP Moresmau. Used the command cabal install --dry-run --verbose=3 --global build wrapper And this gave enough detailed info to enable me to remove the conflict and resolve the issue. Thanks goes to JP ! On Wednesday, 9 May 2012 at 09:55, Graham Berks wro

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Yuras Shumovich
On Sat, 2012-10-06 at 17:02 +0200, José Lopes wrote: > Hello, Hello > > I'm trying to understand Cabal dependencies. > Why does the following situation happen? xmobar-0.15 depends on mtl-2.0.* and needs parsec All packages that will be broken, depends on parsec. But parsec is compiled with mtl-2

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread José Lopes
OK. But, wouldn't it be possible for xmobar to use mtl-2.0.1.0 and for parsec to use mtl-2.1.1, while xmobar would use this parsec version? In this case, I am assuming that mtl-2.0.1.0 and mtl-2.1.1 are considered two different libraries. Thanks, José On 06-10-2012 17:17, Yuras Shumovich wro

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Duncan Coutts
On 6 October 2012 17:25, José Lopes wrote: > OK. > > But, wouldn't it be possible for xmobar to use mtl-2.0.1.0 and for parsec to > use mtl-2.1.1, while xmobar would use this parsec version? > In this case, I am assuming that mtl-2.0.1.0 and mtl-2.1.1 are considered > two different libraries. Pos

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Yuras Shumovich
On Sat, 2012-10-06 at 18:25 +0200, José Lopes wrote: > OK. > > But, wouldn't it be possible for xmobar to use mtl-2.0.1.0 and for > parsec to use mtl-2.1.1, while xmobar would use this parsec version? > In this case, I am assuming that mtl-2.0.1.0 and mtl-2.1.1 are > considered two different lib

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread José Lopes
OK. Got it! Do you have any suggestions to install xmobar in this particular case? Thanks, José On 06-10-2012 19:08, Yuras Shumovich wrote: On Sat, 2012-10-06 at 18:25 +0200, José Lopes wrote: OK. But, wouldn't it be possible for xmobar to use mtl-2.0.1.0 and for parsec to use mtl-2.1.1, whi

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Yuras Shumovich
On Sat, 2012-10-06 at 22:40 +0200, José Lopes wrote: > OK. Got it! > > Do you have any suggestions to install xmobar in this particular case? In case of executables I usually rm -rf ~/.ghc, cabal install, and rm -rf ~/.ghc again. Executables are still here (in ~/.cabal/bin), but all libraries are

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread José Lopes
Thanks! On 06-10-2012 23:07, Yuras Shumovich wrote: On Sat, 2012-10-06 at 22:40 +0200, José Lopes wrote: OK. Got it! Do you have any suggestions to install xmobar in this particular case? In case of executables I usually rm -rf ~/.ghc, cabal install, and rm -rf ~/.ghc again. Executables are s

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Andres Löh
>>> Do you have any suggestions to install xmobar in this particular case? >> >> In case of executables I usually rm -rf ~/.ghc, cabal install, >> and rm -rf ~/.ghc again. Executables are still here (in ~/.cabal/bin), >> but all libraries are lost. Warning: it may break your development >> environm

[Haskell-cafe] cabal-install-1.16.0.2

2012-10-15 Thread Johan Tibell
Hi all, I've created bug fix release candidates for Cabal and cabal-install to address the bugs found after the release. If everyone could take some time to try them out, especially those who had issues with the previous releases. To install the release candidates run: cabal install http://jo

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

2012-11-19 Thread Johan Tibell
Hi Greg, On Mon, Nov 19, 2012 at 1:25 PM, Gregory Guthrie 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 trying > to

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 P

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

2012-11-19 Thread Johan Tibell
On Mon, Nov 19, 2012 at 2:55 PM, Greg Fitzgerald 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 recall, the e

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

2012-11-19 Thread Gregory Guthrie
n.tib...@gmail.com] Cc: haskell-cafe@haskell.org; Andres Löh 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\Cab

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

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
Date: Tue, 20 Nov 2012 01:03:20 -0500 From: "Albert Y. C. Lai" 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

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. Jus

Re: [Haskell-cafe] cabal install...

2012-11-20 Thread Brandon Allbery
On Tue, Nov 20, 2012 at 4:10 PM, Gregory Guthrie wrote: > Hmm, > > Now when I tried to run Leksah, I get not only some broken packages (which > I can avoid for my current project), but: > > ** ** > > : cannot satisfy -package-id > base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917: > >

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

Re: [Haskell-cafe] cabal install...

2012-11-20 Thread Johan Tibell
On Tue, Nov 20, 2012 at 1:10 PM, Gregory Guthrie wrote: > Hmm, > > Now when I tried to run Leksah, I get not only some broken packages (which > I can avoid for my current project), but: > > ** ** > > : cannot satisfy -package-id > base-4.5.1.0-7c83b96f47f23db63c42a56351dcb917: > >

Re: [Haskell-cafe] cabal install...

2012-11-20 Thread Eric Velten de Melo
I have a dream of one day being able to install leksah without having to downgrade ghc. Right now I can't even install cabal-dev with cabal. It will break ghc if I do. 2012/11/20 Johan Tibell : > On Tue, Nov 20, 2012 at 1:10 PM, Gregory Guthrie wrote: >> >> Hmm, >> >> Now when I tried to run Leks

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 commen

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

2012-11-20 Thread Johan Tibell
On Tue, Nov 20, 2012 at 5:14 PM, Albert Y. C. Lai 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... The impl

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 Tib

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 p

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

2012-11-20 Thread Johan Tibell
On Tue, Nov 20, 2012 at 5:34 PM, 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. Talk to an internet cafe > owner for a special deal to run one's own programs. Rent virtual machine > time in t

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

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 ru

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 technica

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 trou

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

2012-11-21 Thread Mike Meyer
On Tue, Nov 20, 2012 at 7:34 PM, Albert Y. C. Lai 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 household has a

Re: [Haskell-cafe] cabal install...

2012-11-21 Thread Sturdy, Ian
...@haskell.org] on behalf of Eric Velten de Melo [ericvm...@gmail.com] Sent: Tuesday, November 20, 2012 7:54 PM To: Johan Tibell Cc: Gregory Guthrie; haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] cabal install... I have a dream of one day being able to install leksah without having to downgrade ghc

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 a

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

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

2012-11-23 Thread kudah
On Sat, 24 Nov 2012 13:46:37 +1100 Erik de Castro Lopo 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 proper > > window

[Haskell-cafe] cabal update error

2010-11-13 Thread Daniel Díaz
Hi all, I just installed the Haskell Platform, and when I try "cabal update", I have the following output: > Downloading the latest package list from hackage.haskell.org > cabal: failed This error does not give me information about what is wrong. Has anyone had this error before? I would apprec

[Haskell-cafe] Cabal message problem.

2010-12-15 Thread Magicloud Magiclouds
Hi, I see this kind of information a lot when I using cabal to install package. Or sometimes same packages both exist in global and user space, which is a "shadowed by" message. How to resolve that? Thanks. Resolving dependencies... : cannot satisfy -package Cabal-1.10.0.0: Cabal-1.10.0.0-

[Haskell-cafe] Cabal proxy configuration

2011-01-27 Thread Azeem -ul-Hasan
My university requires the students to use internet through an authenticated http proxy. How do I configure cabal for that? I am using Ubuntu. Please be detailed about it. Thanks Azeem ___ Haskell-Cafe mailin

[Haskell-cafe] Cabal && license combinations

2011-02-07 Thread Vivian McPhail
Dear All, There was recently a discussion on haskell-cafe ( http://www.mail-archive.com/haskell-cafe@haskell.org/msg86472.html) about licenses of libraries such as hmatrix and the combination of various different licences. One question was about per-package versus by-file licenses: In Haskell th

Re: [Haskell-cafe] Cabal things

2011-02-23 Thread Antoine Latter
On Wed, Feb 23, 2011 at 8:48 AM, Volker Wysk wrote: > Hello > > I'm new to Cabal, and I'm trying to Cabalize my library HsShellScript, with > help by Howard Golden. I'm using the Simple Build Infrastructure. > > 1. I'm irritated by the fact, that calling the Cabal with "runhaskell > configure; run

Re: [Haskell-cafe] cabal-latest

2011-05-13 Thread Jason Dagit
On Thu, May 12, 2011 at 7:24 AM, Guy wrote: > http://www.haskell.org/cabal/release/cabal-latest/ points to version > 1.8.0.4. Is this correct? > Replying to this on Haskell-Cafe and cabal-dev lists. The latest version is 1.10.x and ships with the HP. I bet that link is just needs to be updated

[Haskell-cafe] Cabal upload failure

2011-05-24 Thread Emil Axelsson
Hello! I'm trying to upload a new version of syntactic, but Hackage gives the error: 500 Internal Server Error : hWaitForInput: invalid argument (Invalid or incomplete multibyte or wide character) In fact, I get the same error if I use the "Check" functionality on the earlier version that

Re: [Haskell-cafe] Cabal uninstall

2011-07-09 Thread Tom Murphy
Seconded. This would have been very useful to me many times. I tried forwarding this to cabal-de...@haskell.org (Cabal development discussion), but it's a members-only list. Can someone in the in-crowd pass along the suggestion? Thanks, Tom On 7/9/11, Andrew Pennebaker wrote: > Please add an a

Re: [Haskell-cafe] Cabal uninstall

2011-07-09 Thread Ivan Lazar Miljenovic
On 10 July 2011 09:12, Tom Murphy wrote: > Seconded. This would have been very useful to me many times. > > I tried forwarding this to cabal-de...@haskell.org (Cabal development > discussion), but it's a members-only list. Can someone in the in-crowd > pass along the suggestion? They know about t

[Haskell-cafe] cabal license check?

2011-10-10 Thread Eric Y. Kow
Hi all, I'd like a tool that takes a .cabal file as input and produces a list of all dependencies (recursive, all the way to 'base') and some metadata for each (most importantly, LICENSE) Does this already exist, or will I to write it myself? I notice that there's a patch by Trevor Elliot to eit

[Haskell-cafe] Cabal install problem

2011-11-05 Thread Victor Miller
Lately whenever I try to install a cabal package it fails with the following error message: Could not find module `Control.Monad.State': Perhaps you haven't installed the profiling libraries for package `mtl-2.0.1.0'? Use -v to see a list of the files searched for. The strange thing is

Re: [Haskell-cafe] Cabal issue

2011-12-09 Thread Alexander Kjeldaas
Not what you asked for, but.. Although the documentation looks somewhat cryptic, and I have not use it at all, a nix + cabal option seems to be in the works. Search google for "nix haskell". I am guessing that their Hydra continuous build system which is built on top of nix also could do wonders

Re: [Haskell-cafe] Cabal issue

2011-12-09 Thread Antoine Latter
On Fri, Dec 9, 2011 at 5:20 AM, Kevin Jardine wrote: > I understand that this may have been addressed before on this list in some > form, so I'll be brief: > > Had problem with deprecated package, was told my only option was to wipe my > Haskell install and start over. Is this true and if so, does

Re: [Haskell-cafe] Cabal issue

2011-12-09 Thread Brandon Allbery
On Fri, Dec 9, 2011 at 06:20, Kevin Jardine wrote: > Had problem with deprecated package, was told my only option was to wipe > my Haskell install and start over. Is this true and if so, doesn't this > mean that Cabal (or the package management system that it is a part of) is > broken? > http://

[Haskell-cafe] cabal-install bootstrap.sh

2012-01-19 Thread cwr
I've just spent most of a morning trying to get bootstrap.sh from the cabal-install package to work. The trick is to use "ghc-pkg init pathname" to initialise the package file - simply adding an empty package file or directory doesn't work. Whoever is responsible for cabal-install, could you plea

[Haskell-cafe] cabal-dev add-source

2013-02-08 Thread JP Moresmau
Hello, I'm trying to understand cabal-dev, and I seem to be missing some basic point, because I can't get dependencies between projects working properly. I have two projects, let's call them P1 and P2. P2 depends on P1, as indicated by its cabal file build-depends field. I run cabal-dev add-source

Re: [Haskell-cafe] cabal install oddities

2013-03-12 Thread Brandon Allbery
On Tue, Mar 12, 2013 at 3:21 PM, Tycho Andersen wrote: > Below is some sample output from a failing package: > > ps168825:~/playground$ cabal install network > Resolving dependencies... > Configuring network-2.4.1.2... > configure: WARNING: unrecognized options: --with-compiler, --with-gcc > chec

Re: [Haskell-cafe] cabal install oddities

2013-03-12 Thread Tycho Andersen
On Tue, Mar 12, 2013 at 03:28:08PM -0400, Brandon Allbery wrote: > > "cabal install" unpacks a package into /tmp in order to build it. My guess > is your OS has /tmp mounted noexec. I don't know offhand how you override > this in cabal. Yep, you're exactly right. Thank you! I also couldn't figure

Re: [Haskell-cafe] cabal install oddities

2013-03-12 Thread Manuel Gómez
On Tue, Mar 12, 2013 at 3:10 PM, Tycho Andersen wrote: > On Tue, Mar 12, 2013 at 03:28:08PM -0400, Brandon Allbery wrote: >> >> "cabal install" unpacks a package into /tmp in order to build it. My guess >> is your OS has /tmp mounted noexec. I don't know offhand how you override >> this in cabal.

Re: [Haskell-cafe] cabal install pandoc

2013-03-28 Thread Mark Fredrickson
To side step the issue, Pandoc is available via the ArchHaskell repos (package name `haskell-pandoc`): https://wiki.archlinux.org/index.php/Haskell_package_guidelines -M ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailm

Re: [Haskell-cafe] cabal install pandoc

2013-03-28 Thread Roger Mason
hello, On 03/28/2013 04:11 PM, Mark Fredrickson wrote: To side step the issue, Pandoc is available via the ArchHaskell repos (package name `haskell-pandoc`): https://wiki.archlinux.org/index.php/Haskell_package_guidelines -M Yes, I know. I wanted to avoid having a mixture of packages insta

Re: [Haskell-cafe] cabal install pandoc

2013-03-28 Thread Patrick Wheeler
So I printed off the requirements for pandoc on a empty ghc-7.6.2 install you can find it at: http://hpaste.org/84794 I do not see any odd package versions listed in what you posted so far. No promise I will be able to help afterwards but it might help to see the full log, and then again with ver

<    1   2   3   4   5   6   7   8   9   10   >