Re: [Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'

2011-11-08 Thread Erik Hesselink
On Tue, Nov 8, 2011 at 12:16, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 8 November 2011 22:10, Erik Hesselink hessel...@gmail.com wrote: This is because hSimpleDB doesn't specify version ranges on its dependencies, when it should. Since hxt changed its module structure going

Re: [Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'

2011-11-08 Thread dokondr
Thanks, Alas adding '--constraint=hxt==9.0.\*' after cabal-install command does not help. I get the same error. On Tue, Nov 8, 2011 at 2:10 PM, Erik Hesselink hessel...@gmail.com wrote: This is because hSimpleDB doesn't specify version ranges on its dependencies, when it should. Since hxt

Re: [Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'

2011-11-08 Thread dokondr
On Tue, Nov 8, 2011 at 2:31 PM, Audun Skaugen audunskau...@gmail.comwrote: Erik Hesselink wrote: On Tue, Nov 8, 2011 at 12:16, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: On 8 November 2011 22:10, Erik Hesselink hessel...@gmail.com wrote: This is because hSimpleDB doesn't

Re: [Haskell-cafe] cabal install: Could not find module `Text.XML.HXT.Arrow'

2011-11-08 Thread dokondr
Package Text.XML.HXT.Arrow existed only in 8.5.2 version of hxt: http://hackage.haskell.org/packages/archive/hxt/8.5.2/doc/html/Text-XML-HXT-Arrow.html Yet trying to install with this version produce even more problems: ~cabal --constraint=hxt==8.5.2 install hSimpleDB Resolving dependencies...

Re: [Haskell-cafe] Cabal install problem

2011-11-06 Thread Joachim Breitner
Hi, Am Samstag, den 05.11.2011, 16:21 +0100 schrieb Daniel Fischer: On Saturday 05 November 2011, 16:00:40, Ivan Lazar Miljenovic wrote: On 6 November 2011 01:52, Victor Miller victorsmil...@gmail.com wrote: Lately whenever I try to install a cabal package it fails with the following

[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

Re: [Haskell-cafe] Cabal install problem

2011-11-05 Thread Ivan Lazar Miljenovic
On 6 November 2011 01:52, Victor Miller victorsmil...@gmail.com wrote: 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'?

Re: [Haskell-cafe] Cabal install problem

2011-11-05 Thread Daniel Fischer
On Saturday 05 November 2011, 16:00:40, Ivan Lazar Miljenovic wrote: On 6 November 2011 01:52, Victor Miller victorsmil...@gmail.com wrote: Lately whenever I try to install a cabal package it fails with the following error message: Could not find module `Control.Monad.State':

[Haskell-cafe] cabal-install to produce a dependency tree

2011-09-14 Thread Ozgur Akgun
Dear Cafe, What would be the easiest way of generating the following output, given a package name optionally with additional constraints? $- foo X 3 X 3 depends on A-2.2, B-1.0, C-1.2 A-2.2 depends on D-1.2.3 ... I assume cabal-install internally does this anyway while creating the

[Haskell-cafe] cabal install yesod gives an error on ghc 7.02

2011-03-12 Thread Vagif Hagverdiyev
cabal install yesod gives an error on ghc 7.02: http://hackage.haskell.org/trac/ghc/ticket/5004 One of the commenters on that ticcket says: found that providing an unstripped version of libHsghc-7.0.2.a allows for successful linking. Where can i get that unstripped version of libHsghc-7.0.2.a

Re: [Haskell-cafe] cabal install yesod gives an error on ghc 7.02

2011-03-12 Thread Michael Snoyman
Quick idea: I wonder if the linking with hint is causing the trouble. Could you try building with cabal install yesod -fproduction? I haven't had a chance to install GHC 7.02 locally yet /shame. Michael On Sat, Mar 12, 2011 at 7:26 PM, Vagif Hagverdiyev vagif.ve...@gmail.com wrote: cabal

Re: [Haskell-cafe] cabal install yesod gives an error on ghc 7.02

2011-03-12 Thread Vagif Hagverdiyev
Yes, -fproduction installs fine. On Sat, Mar 12, 2011 at 9:31 AM, Michael Snoyman mich...@snoyman.comwrote: Quick idea: I wonder if the linking with hint is causing the trouble. Could you try building with cabal install yesod -fproduction? I haven't had a chance to install GHC 7.02 locally

[Haskell-cafe] cabal install / upgrade (was: Re: some problem with Cabal)

2011-03-08 Thread Evan Laforge
Generally, it shouldn't (and doesn't), but here some packages have to be reinstalled because they have to be built against different dependencies. I'd prefer cabal install to refuse here (overridable with a --force flag) because reinstalling boot libs (containers, filepath, directory,

Re: [Haskell-cafe] `cabal install darcs` fail !

2011-02-18 Thread Daniel Fischer
On Friday 18 February 2011 04:17:49, z_axis wrote: cabal update cabal install darcs .. Installing library in /home/sw2wolf/.cabal/lib/hashed-storage-0.5.5/ghc-6.10.4 Registering hashed-storage-0.5.5... Reading package info from dist/installed-pkg-config ... done. Writing new package

[Haskell-cafe] `cabal install darcs` fail !

2011-02-17 Thread z_axis
cabal update cabal install darcs .. Installing library in /home/sw2wolf/.cabal/lib/hashed-storage-0.5.5/ghc-6.10.4 Registering hashed-storage-0.5.5... Reading package info from dist/installed-pkg-config ... done. Writing new package config file... done. cabal: Error: some packages failed to

[Haskell-cafe] Cabal-install is broken

2010-11-22 Thread Permjacov Evgeniy
current cabal-install (0.8.2) cannot be compiled with ghc-7.0.1 set of boot libraries. It requires cabal 1.8.* wich fails to compile. Does anyone worked this out ? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Cabal-install is broken

2010-11-22 Thread Antoine Latter
On Mon, Nov 22, 2010 at 4:16 PM, Permjacov Evgeniy permea...@gmail.com wrote: current cabal-install (0.8.2) cannot be compiled with ghc-7.0.1 set of boot libraries. It requires cabal 1.8.* wich fails to compile. Does anyone worked this out ? On some of my development environments I've been

[Haskell-cafe] Cabal-install prefix

2010-09-22 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

Re: [Haskell-cafe] Cabal-install prefix

2010-09-22 Thread Ivan Lazar Miljenovic
On 22 September 2010 15:55, N. Raghavendra ra...@mri.ernet.in wrote: 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

Re: [Haskell-cafe] cabal-install profiling libraries

2010-08-20 Thread Duncan Coutts
On 20 August 2010 14:20, Johannes Waldmann waldm...@imn.htwk-leipzig.de wrote: Here's another instance of the machine (*) telling me what to do, instead of doing it (or am I missing something): I have a large set of cabal packages installed with ghc. Then suddenly I need some package Foo with

Re: [Haskell-cafe] cabal-install profiling libraries

2010-08-20 Thread Daniel Fischer
On Friday 20 August 2010 15:20:41, Johannes Waldmann wrote: Here's another instance of the machine (*) telling me what to do, instead of doing it (or am I missing something): I have a large set of cabal packages installed with ghc. Then suddenly I need some package Foo with profiling. So I

Re: [Haskell-cafe] cabal-install

2010-05-19 Thread Serguey Zefirov
2010/5/19 Ivan Lazar Miljenovic ivan.miljeno...@gmail.com: Serguey Zefirov sergu...@gmail.com 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

Re: [Haskell-cafe] cabal-install

2010-05-19 Thread Ivan Lazar Miljenovic
Serguey Zefirov sergu...@gmail.com 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. --

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 sergu...@gmail.com 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.

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 very

[Haskell-cafe] cabal-install

2010-05-18 Thread Serguey Zefirov
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 wget), Firefox works like charm

Re: [Haskell-cafe] cabal-install

2010-05-18 Thread Ivan Lazar Miljenovic
Serguey Zefirov sergu...@gmail.com 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

Re: [Haskell-cafe] Cabal-install: bus error

2010-05-04 Thread Martijn van Steenbergen
On 5/3/10 23:46, Jason Dagit wrote: This happened to a co-worker on her mac. We used gdb to track the bus errors to the network library. Once we tracked it down to there, we did some combination of deleting $HOME/.cabal, building/installing the latest version of Network and then relinking

[Haskell-cafe] Cabal-install: bus error

2010-05-03 Thread Chris Eidhof
Hey everyone, After I upgraded to a newer cabal-install my cabal-install broke again: I get a Bus Error when doing cabal update or cabal install something. The version that was bundled with the Haskell platform worked fine, but now it's broken again. I'm not sure what it was that went wrong or

Re: [Haskell-cafe] Cabal-install: bus error

2010-05-03 Thread Jason Dagit
On Mon, May 3, 2010 at 2:21 PM, Chris Eidhof ch...@eidhof.nl wrote: Hey everyone, After I upgraded to a newer cabal-install my cabal-install broke again: I get a Bus Error when doing cabal update or cabal install something. The version that was bundled with the Haskell platform worked fine,

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 reference, the

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

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

Re: [Haskell-cafe] Cabal-install

2010-03-08 Thread Andrew Coppin
Peter Robinson wrote: On 8 March 2010 17:51, Andrew Coppin andrewcop...@btinternet.com 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

[Haskell-cafe] Cabal-install

2010-03-08 Thread Andrew Coppin
OK, so apparently my Google skills are lacking. I can't find anything but the most terse documentation of the cabal-install tool online. Somewhere there surely must be something which explains how to control this thing. Anyway, can anybody tell me how I can change the default settings so that

Re: [Haskell-cafe] Cabal-install

2010-03-08 Thread Peter Robinson
On 8 March 2010 17:51, Andrew Coppin andrewcop...@btinternet.com 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...) #

[Haskell-cafe] cabal install darcs fails on Mac OS X Snow Leopard

2010-03-07 Thread George Colpitts
I'm unable to install darcs using cabal. It seems to be getting an error configuring haskeline.Can anybody help? Thanks cabal -V cabal-install version 0.6.4 using version 1.6.0.3 of the Cabal library bash-3.2$ ghc -V The Glorious Glasgow Haskell Compilation System, version 6.10.4 bash-3.2$

Re: [Haskell-cafe] cabal install darcs fails on Mac OS X Snow Leopard

2010-03-07 Thread Ben Millwood
On Sun, Mar 7, 2010 at 3:44 PM, George Colpitts george.colpi...@gmail.com wrote: /usr/bin/hsc2hs: line 16: unexpected EOF while looking for matching `' /usr/bin/hsc2hs: line 17: syntax error: unexpected end of file Sounds like a problem with hsc2hs itself. When I installed ghc on Snow Leopard

Re: [Haskell-cafe] cabal install darcs fails on Mac OS X Snow Leopard

2010-03-07 Thread George Colpitts
That was it, dropped a double quote, thanks so much ! On Sun, Mar 7, 2010 at 12:13 PM, Ben Millwood hask...@benmachine.co.ukwrote: On Sun, Mar 7, 2010 at 3:44 PM, George Colpitts george.colpi...@gmail.com wrote: /usr/bin/hsc2hs: line 16: unexpected EOF while looking for matching `'

[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

Re: [Haskell-cafe] cabal install glfw

2010-01-20 Thread Ozgur Akgun
Sorry, I cannot install GHC 6.12 right now, so I won't be able to try it. Thanks anyway. 2010/1/19 Paul L nine...@gmail.com The problem you mentioned has long been fixed in the darcs version, but then there is also another problem: you need GHC 6.12 in order to compile GLFW for Snow Leopard.

[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

Re: [Haskell-cafe] cabal install glfw

2010-01-19 Thread Paul L
The problem you mentioned has long been fixed in the darcs version, but then there is also another problem: you need GHC 6.12 in order to compile GLFW for Snow Leopard. Here is a detail description of why prior versions of GHC fails to work: http://hackage.haskell.org/trac/ghc/ticket/3522 I've

[Haskell-cafe] cabal install vacuum-cairo

2010-01-17 Thread Ozgur Akgun
Cafe, I've been trying to install vacuum-cairo using cabal but I couldn't have it installed because of the missing packages cairo, svg and gtkcairo. What should I do to install vacuum-cairo? Thanks for any help in advance, -- Ozgur Akgun ___

Re: [Haskell-cafe] cabal install vacuum-cairo

2010-01-17 Thread Gwern Branwen
On Sun, Jan 17, 2010 at 9:55 AM, Ozgur Akgun ozgurak...@gmail.com wrote: Cafe, I've been trying to install vacuum-cairo using cabal but I couldn't have it installed because of the missing packages cairo, svg and gtkcairo. What should I do to install vacuum-cairo? Thanks for any help in

[Haskell-cafe] : cabal install SDL

2009-12-27 Thread Lie Ryan
C:\Windows\system32cabal 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,

Re: [Haskell-cafe] : cabal install SDL

2009-12-27 Thread Stephen Tetley
2009/12/27 Lie Ryan lie.1...@gmail.com: [SNIP...] (i.e. can I use the resultant SDL-binding outside Cygwin?) Hi The short answers is yes - once you have the Haskell binding installed will need only the .exe of your (Haskell) application compiled by GHC and the SDL.dll [1]. The long answer

[Haskell-cafe] cabal-install binary for FreeBSD

2009-11-28 Thread Michael Snoyman
Hi all, I'm trying out NearlyFreeSpeech.net for hosting my Haskell apps. They use FreeBSD 7.2, but I can't get cabal-install to compile since it runs out of memory during the link phase. So far I haven't had trouble manually installing packages, but it would be nice to just do cabal install...

Re: [Haskell-cafe] cabal-install binary for FreeBSD

2009-11-28 Thread Duncan Coutts
On Sat, 2009-11-28 at 19:39 +0200, Michael Snoyman wrote: Hi all, I'm trying out NearlyFreeSpeech.net for hosting my Haskell apps. They use FreeBSD 7.2, but I can't get cabal-install to compile since it runs out of memory during the link phase. So far I haven't had trouble manually

Re: [Haskell-cafe] cabal-install binary for FreeBSD

2009-11-28 Thread Michael Snoyman
On Sat, Nov 28, 2009 at 7:56 PM, Duncan Coutts duncan.cou...@googlemail.com wrote: On Sat, 2009-11-28 at 19:39 +0200, Michael Snoyman wrote: Hi all, I'm trying out NearlyFreeSpeech.net for hosting my Haskell apps. They use FreeBSD 7.2, but I can't get cabal-install to compile since it

RE: [Haskell-cafe] Cabal install on Windows 7

2009-09-15 Thread Regis Saint-Paul
- use windows API for requesting elevation during the process (ugly) If it really has to be done, then this seems like the best approach. In principle there's no problem with calling funky win32 functions in Cabal, it's mostly a matter of working out what bahaviour we want and what UAC

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-15 Thread Peter Verswyvelen
It is possible for an executable with less privileges to shellexecute an executable that requires admin rights? Won't this immediately raise an access denied or other security exception again? Don't know, it might be possible, but it's worth to check it out before going this route (which is rather

Re[2]: [Haskell-cafe] Cabal install on Windows 7

2009-09-15 Thread Bulat Ziganshin
Hello Peter, Tuesday, September 15, 2009, 1:24:26 PM, you wrote: in order to protect from viruses and so now windows programs should be split into two parts - one that doesn't need admin privileges and one that needs them. as far as your actions doesn't need second part, you are running first

Re: Re[2]: [Haskell-cafe] Cabal install on Windows 7

2009-09-15 Thread Peter Verswyvelen
Yes, I'm aware of that, but not the details, so thanks for the info. Anyway, I quickly tested Regis's idea in C#, and it works as he said. http://hpaste.org/fastcgi/hpaste.fcgi/view?id=9392#a9392 - When trying to create a folder in ProgramFiles, you get an access denied exception, unless the

RE: [Haskell-cafe] Cabal install on Windows 7

2009-09-14 Thread Duncan Coutts
On Thu, 2009-09-10 at 15:18 +0200, Regis Saint-Paul wrote: One way in which cabal can be made UAC aware (and therefore request for elevation privileges instead of just failing) would be to embed a manifest in the cabal.exe. This can be done by changing the default manifest (an XML file) that

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Peter Verswyvelen
Actually, this UAC was already present in Vista no? On Thu, Sep 10, 2009 at 4:18 AM, Jeff Wheeler j...@nokrev.com wrote: On Wed, Sep 9, 2009 at 2:19 PM, Sebastian Sylvansebastian.syl...@gmail.com wrote: I think it's morally right to run as user by default. Yes, the windows culture has some

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Peter Verswyvelen
Interestingly, a sudo for Windows does seem to exist. It's called the runas command. At first sight it existed already since Windows XP Also on Sourceforge an open source sudo command for Windows is hosted: http://sourceforge.net/projects/sudowin On Thu, Sep 10, 2009 at 11:21 AM, Peter

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Duncan Coutts
On Wed, 2009-09-09 at 20:19 +0100, Sebastian Sylvan wrote: On Wed, Sep 9, 2009 at 1:28 PM, Duncan Coutts duncan.cou...@worc.ox.ac.uk wrote: If the Windows users can come to a consensus on whether the default should be global or user, then we can easily switch

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Sebastian Sylvan
On Thu, Sep 10, 2009 at 10:58 AM, Duncan Coutts duncan.cou...@worc.ox.ac.uk wrote: On Wed, 2009-09-09 at 20:19 +0100, Sebastian Sylvan wrote: On Wed, Sep 9, 2009 at 1:28 PM, Duncan Coutts duncan.cou...@worc.ox.ac.uk wrote: If the Windows users can come to a consensus on

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Duncan Coutts
On Wed, 2009-09-09 at 21:18 -0500, Jeff Wheeler wrote: On Wed, Sep 9, 2009 at 2:19 PM, Sebastian Sylvansebastian.syl...@gmail.com wrote: I think it's morally right to run as user by default. Yes, the windows culture has some legacy that may, on occasion, make it slightly harder to use

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Deniz Dogan
2009/9/10 Sebastian Sylvan sebastian.syl...@gmail.com: On Thu, Sep 10, 2009 at 10:58 AM, Duncan Coutts duncan.cou...@worc.ox.ac.uk wrote: On Wed, 2009-09-09 at 20:19 +0100, Sebastian Sylvan wrote: On Wed, Sep 9, 2009 at 1:28 PM, Duncan Coutts duncan.cou...@worc.ox.ac.uk wrote:  

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Peter Verswyvelen
No Windows XP did not have support for roaming profiles yet I think. But it wouldn't be too difficult to use %LOCALAPPDATA% first, and when it doesn't exist, use %APPDATA%? This article explains a lot about the differences; I didn't have time yet to read it in detail

RE: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Regis Saint-Paul
One way in which cabal can be made UAC aware (and therefore request for elevation privileges instead of just failing) would be to embed a manifest in the cabal.exe. This can be done by changing the default manifest (an XML file) that is embedded at link time by GHC. This is supported by GHC

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Matthijs Kooijman
Hi Regis, - use windows API for requesting elevation during the process (ugly) Why is this ugly? This seems like an elegant solution, to get privileges only when you actually need them? Gr. Matthijs signature.asc Description: Digital signature ___

Re[2]: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Bulat Ziganshin
Hello Matthijs, Thursday, September 10, 2009, 5:24:57 PM, you wrote: - use windows API for requesting elevation during the process (ugly) Why is this ugly? This seems like an elegant solution, to get privileges only when you actually need them? afaik you need to run special COM server with

RE: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Regis Saint-Paul
builds down to more work and more platform specific code. Cheers, Regis -Original Message- From: Matthijs Kooijman [mailto:matth...@stdin.nl] Sent: Thursday, 10 September 2009 3:25 PM To: Regis Saint-Paul Cc: haskell-cafe@haskell.org; 'Duncan Coutts' Subject: Re: [Haskell-cafe] Cabal

RE: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Regis Saint-Paul
One last note as it may be confusing in previous message...I mention to use windows API, but there is no API per-se that can elevate a process already running. It takes to create another process which, at startup time, will popup the elevation dialog. The win32 function to call is therefore just

Re[2]: [Haskell-cafe] Cabal install on Windows 7

2009-09-10 Thread Bulat Ziganshin
Hello Regis, Thursday, September 10, 2009, 6:05:19 PM, you wrote: One last note as it may be confusing in previous message...I mention to use windows API, but there is no API per-se that can elevate a process already running. It takes to create another process which, at startup time, will

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-09 Thread Duncan Coutts
On Tue, 2009-09-08 at 09:58 -0500, Jeff Wheeler wrote: On Tue, Sep 8, 2009 at 9:17 AM, Peter Verswyvelenbugf...@gmail.com wrote: Ouch, right, I forgot the default is global. It works fine with cabal install --user. And of course I could have edited the default config file, setting

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-09 Thread Peter Verswyvelen
Yes, it's true that most people tended to be administrators on their own Windows desktops, but since Vista, this has changed. Now in Vista, some people still forced admin rights, to get rid of the many annoying dialog boxes that popped up for every tiny task that might be a security breach. But

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-09 Thread Duncan Coutts
On Wed, 2009-09-09 at 16:59 +0200, Peter Verswyvelen wrote: Yes, it's true that most people tended to be administrators on their own Windows desktops, but since Vista, this has changed. Now in Vista, some people still forced admin rights, to get rid of the many annoying dialog boxes that

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-09 Thread Sebastian Sylvan
On Wed, Sep 9, 2009 at 1:28 PM, Duncan Coutts duncan.cou...@worc.ox.ac.ukwrote: On Tue, 2009-09-08 at 09:58 -0500, Jeff Wheeler wrote: On Tue, Sep 8, 2009 at 9:17 AM, Peter Verswyvelenbugf...@gmail.com wrote: Ouch, right, I forgot the default is global. It works fine with cabal

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-09 Thread Jeff Wheeler
On Wed, Sep 9, 2009 at 2:19 PM, Sebastian Sylvansebastian.syl...@gmail.com wrote: I think it's morally right to run as user by default. Yes, the windows culture has some legacy that may, on occasion, make it slightly harder to use well behaved programs, but it's fairly minor these days. I

[Haskell-cafe] Cabal install on Windows 7

2009-09-08 Thread Peter Verswyvelen
I tried the cabal install command on Windows 7, and I had to run it with administrative privileges, otherwise I got access denied (it failed to create the Haskell folder in C:\Program Files) Not sure if this is also the case on Vista. Is this the intended behavior?

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-08 Thread Jeff Wheeler
On Tue, Sep 8, 2009 at 9:17 AM, Peter Verswyvelenbugf...@gmail.com wrote: Ouch, right, I forgot the default is global. It works fine with cabal install --user. And of course I could have edited the default config file, setting user-install: True Well, maybe for newbies this might be a bit

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-08 Thread Peter Verswyvelen
Ouch, right, I forgot the default is global. It works fine with cabal install --user. And of course I could have edited the default config file, setting user-install: True Well, maybe for newbies this might be a bit confusing. Typically, under Windows Vista or 7 when you try to install something

Re: [Haskell-cafe] Cabal install on Windows 7

2009-09-08 Thread John Van Enk
Might it make sense to try and get the concept of global and user working in Windows? (It may already, but I noticed that the default seems to be global.) I don't know what technical challenges there are, but the ApplicationData directory (or AppData, or whatever) seems like a good place to stick

Re: [Haskell-cafe] Cabal install specific version of a package

2009-09-07 Thread Duncan Coutts
On Wed, 2009-09-02 at 21:12 +0400, Grigory Sarnitskiy wrote: How to install specific version of a package (derive 0.1.4)? For other examples see the --help output: $ cabal install --help [..snip..] Examples: cabal install Package in the current directory cabal install

[Haskell-cafe] Cabal install specific version of a package

2009-09-02 Thread Grigory Sarnitskiy
How to install specific version of a package (derive 0.1.4)? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Cabal install specific version of a package

2009-09-02 Thread Job Vranish
cabal install derive-0.1.4 On Wed, Sep 2, 2009 at 1:12 PM, Grigory Sarnitskiy sargrig...@ya.ru wrote: How to install specific version of a package (derive 0.1.4)? ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] 'cabal install lhs2tex' fails for me on os x -- help please

2009-07-27 Thread Conal Elliott
Fails during configuration: bash-3.2$ cabal install lhs2tex Resolving dependencies... [1 of 1] Compiling Main ( /tmp/lhs2tex-1.1423397/lhs2tex-1.14/Setup.hs, /tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/Main.o ) Linking

Re: [Haskell-cafe] 'cabal install lhs2tex' fails for me on os x -- help please

2009-07-27 Thread Don Stewart
conal: Fails during configuration: bash-3.2$ cabal install lhs2tex Resolving dependencies... [1 of 1] Compiling Main ( /tmp/lhs2tex-1.1423397/lhs2tex-1.14/ Setup.hs, /tmp/lhs2tex-1.1423397/lhs2tex-1.14/dist/setup/Main.o ) Linking

Re: [Haskell-cafe] 'cabal install lhs2tex' fails for me on os x -- help please

2009-07-27 Thread Brandon S. Allbery KF8NH
On Jul 27, 2009, at 14:23 , Conal Elliott wrote: Note that the the first module to be compiled is Main. On my linux machine, Main is the *last* of several modules to be compiled. It's compiling the setup program which is presumably used by cabal to do the work a configure script normally

Re: [Haskell-cafe] 'cabal install lhs2tex' fails for me on os x -- help please

2009-07-27 Thread Conal Elliott
Via cabal: --constraint='base4' or replace Control.Exception with Control.OldException or add 'base 4' to the depends in the .cabal file. Thanks, Don. Trying your first suggestion, I get the same result for the first and third method, and a ghc panic on cat_evals for the second

Re: [Haskell-cafe] 'cabal install lhs2tex' fails for me on os x -- help please

2009-07-27 Thread Conal Elliott
Yo ho! I just installed ghc-6.10.4 over my 6.10.3. Now 'cabal install lhs2tex' works. Phew! On Mon, Jul 27, 2009 at 11:44 AM, Conal Elliott co...@conal.net wrote: Via cabal: --constraint='base4' or replace Control.Exception with Control.OldException or add 'base 4' to the depends

[Haskell-cafe] cabal install vs. profiling

2009-04-15 Thread David F. Place
Hi, Suppose I have installed a number of libraries and have written a program using them. Now, I want to profile my program. What is the best way to get the profiling versions of the libraries installed? Thanks, David ___ Haskell-Cafe mailing list

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

2009-04-15 Thread Gwern Branwen
On Wed, Apr 15, 2009 at 11:21 AM, David F. Place d...@vidplace.com wrote: Hi, Suppose I have installed a number of libraries and have written a program using them.  Now, I want to profile my program.  What is the best way to get the profiling versions of the libraries installed? Thanks, David

Re: [Haskell-cafe] cabal-install 0.6.2 does not bootstrap with ghc-6.10.1 debian distribution

2009-03-08 Thread Duncan Coutts
On Sat, 2009-03-07 at 17:51 -0800, Ahn, Ki Yung wrote: Dear Haskellers and especially who are working on cabal-install and debian packaging, I sometimes clean up .ghc and .cabal in my home directory to start from scratch because of dependency loopholes (cabal-install does not have remove

Re: [Haskell-cafe] cabal-install 0.6.2 does not bootstrap with ghc-6.10.1 debian distribution

2009-03-08 Thread Jochem Berndsen
Ahn, Ki Yung wrote: If anyone who are not using debian distribution ghc-6.10.1 (e.g., general linux binary ghc-6.10.1 or source compiled one) can try bootstrapping cabal-install 0.6.2 from scratch also finds the same problem, I think someone should make a ticket for cabal-install. I remember

Re: [Haskell-cafe] cabal-install 0.6.2 does not bootstrap with ghc-6.10.1 debian distribution

2009-03-08 Thread Ahn, Ki Yung
Duncan Coutts 쓴 글: On Sat, 2009-03-07 at 17:51 -0800, Ahn, Ki Yung wrote: Dear Haskellers and especially who are working on cabal-install and debian packaging, I sometimes clean up .ghc and .cabal in my home directory to start from scratch because of dependency loopholes (cabal-install does

Re: [Haskell-cafe] cabal-install 0.6.2 does not bootstrap with ghc-6.10.1 debian distribution

2009-03-08 Thread Duncan Coutts
On Sun, 2009-03-08 at 15:33 -0700, Ahn, Ki Yung wrote: I am using Debian unstable. The version of GHC debian package is 6.10.1+dfsg1-13, and installed Haskell libraries (debian packages) are: kya...@kyavaio:~$ ghc-pkg list /usr/lib/ghc-6.10.1/./package.conf: packedstring-0.1.0.1,

[Haskell-cafe] cabal-install 0.6.2 does not bootstrap with ghc-6.10.1 debian distribution

2009-03-07 Thread Ahn, Ki Yung
Dear Haskellers and especially who are working on cabal-install and debian packaging, I sometimes clean up .ghc and .cabal in my home directory to start from scratch because of dependency loopholes (cabal-install does not have remove option yet, so it's hard to fix when such loophole happens).

[Haskell-cafe] cabal install profiling and documentation

2009-02-25 Thread Ben
i've gone and cabal installed a lot of packages, but now i want to go back and install their profiling libraries and documentation. is there an easy way of doing this, short of reinstalling all of them (in the proper dependency order)? ben ___

Re: [Haskell-cafe] Cabal Install Links to Source from Haddock Docs

2008-12-23 Thread Duncan Coutts
On Mon, 2008-12-22 at 17:58 -0800, R Hayes wrote: Thank you. As it turns out, I was aware of that recipe. What I wanted was to be able to use cabal install's nice dependency following features and still get source links in my documentation. Due to popular demand we quickly added the

Re: [Haskell-cafe] Cabal Install Links to Source from Haddock Docs

2008-12-22 Thread R Hayes
Thank you. As it turns out, I was aware of that recipe. What I wanted was to be able to use cabal install's nice dependency following features and still get source links in my documentation. Personally, I feel that inclusion of source and docs should be the DEFAULT for cabal, as well

Re: [Haskell-cafe] Cabal Install Links to Source from Haddock Docs

2008-12-21 Thread Thomas Hartman
the answer: not cabal install, just cabal. thart...@thartman-laptop:~/haskellInstalls/smallInstalls/pureMD5-0.2.3 thart...@thartman-laptop:~/haskellInstalls/smallInstalls/pureMD5-0.2.3cabal --help | grep -i doc haddock Generate Haddock HTML documentation.

[Haskell-cafe] Cabal Install Links to Source from Haddock Docs

2008-12-20 Thread R Hayes
Is there a way I can get Haddock Docs WITH links to source (local) from modules installed with cabal install xxx? Getting the docs themselves is pretty easy by changing either ~/.cabal/ config or using --enable-documentation. Automatically generating the source (colourised or not) and

[Haskell-cafe] cabal install HaXml installs wrong version unless I specify the version number

2008-11-15 Thread Thomas Hartman
I was upgrading happstutorial.com to ghc 6.10.1 when I came across a cabal install issue. Somewhere in day 1 (probably as a HAppS dependency), HaXml 1.13.1 got installed. On day 2, I wanted the latest version of HaXml (1.19.4), a dependency for for xml-parsec. cabal install HaXml gave me:

[Haskell-cafe] cabal-install question

2008-10-21 Thread Ken98
Hello, I recently started using cabal-install to install packages. However, ran into a problem today trying to install ftphs where the current HUnit dependency required base (==4). I'm using ghc-6.8.2 on ubuntu. To get around this, I looked through previous versions of HUnit and found that

Re: [Haskell-cafe] cabal-install question

2008-10-21 Thread Svein Ove Aas
On Tue, Oct 21, 2008 at 11:37 PM, Ken98 [EMAIL PROTECTED] wrote: Hello, I recently started using cabal-install to install packages. However, ran into a problem today trying to install ftphs where the current HUnit dependency required base (==4). I'm using ghc-6.8.2 on ubuntu. Right, that's

<    1   2   3   >