Re: [Haskell-cafe] ghc 6.8.2 issue

2008-06-03 Thread Duncan Coutts
On Mon, 2008-06-02 at 23:11 -0500, Galchin, Vasili wrote: at this point rebuild and install the unix package ... [EMAIL PROTECTED]:~/FTP/Haskell/bytestring-mmap-0.2.0$ runhaskell Setup.lhs clean cleaning... [EMAIL PROTECTED]:~/FTP/Haskell/bytestring-mmap-0.2.0$ runhaskell Setup.lhs

Re: [Haskell-cafe] ghc 6.8.2 issue

2008-06-03 Thread Duncan Coutts
On Tue, 2008-06-03 at 00:04 -0500, Galchin, Vasili wrote: Duncan, By installing localling, I runhaskell Setup.hs configure --prefix=$HOME plus add local path to LD_LIBRARY_PATH and LD_RUN_PATH? On Linux, does ghc use .so's or is it linked statically? ghc is linked statically but when

Re: [Haskell-cafe] ghc 6.8.2 issue

2008-06-03 Thread Galchin, Vasili
Something like that yes. You're running runhaskell Setup.lhs and that loads and runs code from the Cabal library. The Cabal library depends on the process library which depends on the unix library. So by replacing the same version of the unix package you're breaking everything else which

Re: [Haskell-cafe] ghc 6.8.2 issue

2008-06-03 Thread Brandon S. Allbery KF8NH
On 2008 Jun 3, at 16:40, Galchin, Vasili wrote: 1) How do I get the local package.conf built and populated? 2) How do I get a test case to link against this experimental local version of unix? Is there a --prefix or something like that I pass on runhaskell Setup.hs build? both

Re: [Haskell-cafe] ghc 6.8.2 issue

2008-06-02 Thread Duncan Coutts
On Mon, 2008-06-02 at 00:07 -0500, Galchin, Vasili wrote: Hello, I have been developing new code for the unix package. I have run into what I think are ghc 6.8.2 anomalies but couldn't see a pattern. Possibly now I do. I have been using the 32-bit x86 ghc binary that I downloaded

Re: [Haskell-cafe] ghc 6.8.2 issue

2008-06-02 Thread Galchin, Vasili
Hi Duncan, Not sure I agree the behavior is ok. E.g. here is a build of mmap: [EMAIL PROTECTED]:~/FTP/Haskell/bytestring-mmap-0.2.0$ runhaskell Setup.lhs clean cleaning... [EMAIL PROTECTED]:~/FTP/Haskell/bytestring-mmap-0.2.0$ runhaskell Setup.lhs configure Configuring

Re: [Haskell-cafe] ghc 6.8.2 issue

2008-06-02 Thread Galchin, Vasili
Duncan, By installing localling, I runhaskell Setup.hs configure --prefix=$HOME plus add local path to LD_LIBRARY_PATH and LD_RUN_PATH? On Linux, does ghc use .so's or is it linked statically? Vasili On Mon, Jun 2, 2008 at 5:38 AM, Duncan Coutts [EMAIL PROTECTED] wrote: On Mon,

[Haskell-cafe] ghc 6.8.2 issue

2008-06-01 Thread Galchin, Vasili
Hello, I have been developing new code for the unix package. I have run into what I think are ghc 6.8.2 anomalies but couldn't see a pattern. Possibly now I do. I have been using the 32-bit x86 ghc binary that I downloaded from http://www.haskell.org and running on Ubuntu Linux. I am pretty