[Haskell-cafe] cabal install pandoc

2013-03-28 Thread Roger Mason
Hello, I installed ghc (7.6.2) on an Arch Linux machine. I'm trying to install pandoc via cabal but it fails: ... Configuring text-0.11.2.3... Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package

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

Re: [Haskell-cafe] cabal install pandoc

2013-03-29 Thread Roger Mason
Thank you for your response. 'ghc-pkg check' shows some problems: http://pastebin.ca/2344794 On 03/28/2013 08:01 PM, Patrick Wheeler wrote: 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

Re: [Haskell-cafe] cabal install pandoc

2013-03-29 Thread Roger Mason
Hello, On 03/29/2013 06:47 AM, Henk-Jan van Tuyl wrote: On Thu, 28 Mar 2013 19:08:46 +0100, Roger Mason rma...@mun.ca wrote: I installed ghc (7.6.2) on an Arch Linux machine. I'm trying to install pandoc via cabal but it fails: ... Configuring text-0.11.2.3... Warning: This package

Re: [Haskell-cafe] cabal install pandoc [solved]

2013-03-29 Thread Roger Mason
Hello, On 03/29/2013 08:13 AM, Roger Mason wrote: Hello, It appears in my case that cabal may be looking in a strange place for installed pacckages. At least, that is how I interpret the output I just pasted here: http://pastebin.ca/2344794 Thanks, Roger ghc-pkg check showed

Re: [Haskell-cafe] cabal install pandoc

2013-04-01 Thread Roger Mason
Hello Brent, On 03/31/2013 04:53 PM, Brent Yorgey wrote: It looks like your entire Haskell Platform installation is completely hosed. Sad to say, but I think your best bet is to simply reinstall the Haskell Platform. -Brent ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Cabal install pandoc

2013-04-02 Thread Roger Mason
Hello Albert, On 04/01/2013 11:41 PM, Albert Y. C. Lai wrote: On 13-04-01 06:26 AM, Roger Mason wrote: It turned out that there was a stale version of 'array' lurking in the ghc package db. In spite of reinstalling ghc it did not go away until I unregistered it. I think it was persisting

[Haskell-cafe] parsing a CSV file

2013-05-21 Thread Roger Mason
Hello, I'm attempting to write a parser for files that look like this: Bruker Nano GmbH Berlin, Germany Esprit 1.9 Date: 02/05/2013 10:06:49 AM Real time: 15000 Energy Counts -0.4740 . The line before the ellipsis is repeated many times (such lines represents a spectrum). I need to

Re: [Haskell-cafe] parsing a CSV file

2013-05-21 Thread Roger Mason
Hi Roman, On 05/21/2013 12:36 PM, Roman Cheplyaka wrote: Clearly, my naiive implementation of endHeader is no good. Hi Roger, Not in scope means that that thing is not defined. So it's not a problem with your implementation, but with the way you load it. If you copy-paste your ghci session

Re: [Haskell-cafe] parsing a CSV file

2013-05-21 Thread Roger Mason
Thank you. Roger On 05/21/2013 03:15 PM, Roman Cheplyaka wrote: So this is the real error. If you read it carefully, it says that it expected [[String]] but got Char (i.e. [[[String]]]) as a result of the headerLines parser. I don't have time right now to look closer at your code,

[Haskell-cafe] Compiling haskell-platform-2013.2.0.0 fails

2013-07-15 Thread Roger Mason
Hello, I'm attempting to compile haskell-platform on an Arch Linux system. It fails very soon after invoking 'make': Configuring HUnit-1.2.5.2... Setup: Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with Cabal. Use the flag --package-db to specify a package database (it