Re: cabal install network was: Re: ANNOUNCE: GHC 7.0.2 Release Candidate 2

2011-02-22 Thread 山本和彦
> Ah, yes this one works, although with: > > checking whether AI_NUMERICSERV is declared... no > > even if hsc2hs does not contain this isysroot stuff. Where does cabal > get its flags from? (hardcoded?) Ah, this also happened to me. checking whether AI_ADDRCONFIG is declared... yes checking

ghc-pkg regression (or deliberate change)?

2011-02-22 Thread Tyler Pirtle
Hi there, I'm using a system with an older version of GHC (6.8.3), and invoking ghc-pkg against a non-existing file in -f: $ haskell/ghc/v683/k8/lib/ghc-6.8.3/ghc-pkg.bin --global-conf haskell/ghc/v683/k8/lib/ghc-6.8.3/package.conf -f /tmp/nonexistent.Foo.package.conf register /tmp/Foo.package_sp

Re: ANNOUNCE: GHC 7.0.2 Release Candidate 1

2011-02-22 Thread paolino
Newest version I was able to compile is 2.3, 2.3.0.1 is failing with same error paolino@paolino-ssd32:~/reactivegas$ uname -a Linux paolino-ssd32 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux best paolino -- View this message in context: http://haskell.1045720

Re: ANNOUNCE: GHC 7.0.2 Release Candidate 1

2011-02-22 Thread paolino
Hi, I've a problem compiling last network package 2.3.0.2 [ 4 of 10] Compiling Network.Socket ( dist/build/Network/Socket.hs, dist/build/Network/Socket.o ) Network/Socket.hsc:1701:11: Ambiguous occurrence `closeFdWith' It could refer to either `Network.Socket.closeFdWith',

Re: cabal install network was: Re: ANNOUNCE: GHC 7.0.2 Release Candidate 2

2011-02-22 Thread Christian Maeder
Am 22.02.2011 14:47, schrieb Ian Lynagh: > On Tue, Feb 22, 2011 at 09:59:20AM +0100, Christian Maeder wrote: >> >> Where does cabal get its flags from? (hardcoded?) > > From the "C compiler flags", "Gcc Linker flags" and "Ld Linker flags" > entries in ghc --info's output. Ok, they are not in bin/

RE: Question about Haskell AST

2011-02-22 Thread Simon Peyton-Jones
I think the missing piece was Opt_Cpp. Data.List uses the C preprocessor S | -Original Message- | From: cvs-ghc-boun...@haskell.org [mailto:cvs-ghc-boun...@haskell.org] On | Behalf Of Ian Lynagh | Sent: 22 February 2011 15:09 | To: Jane Ren | Cc: cvs-...@haskell.org; glasgow-haskell-user

Re: Question about Haskell AST

2011-02-22 Thread Ian Lynagh
Hi Jane, On Mon, Feb 21, 2011 at 11:46:16PM -0800, Jane Ren wrote: > > Did you mean I have to include the dflags like below to get the parsetree of > a base library file like libraries/base/GHC/List.lhs > > I am stilling getting the same error > AstWalker: panic! (the 'impossible' happened)

Re: cabal install network was: Re: ANNOUNCE: GHC 7.0.2 Release Candidate 2

2011-02-22 Thread Ian Lynagh
On Tue, Feb 22, 2011 at 09:59:20AM +0100, Christian Maeder wrote: > > Where does cabal get its flags from? (hardcoded?) >From the "C compiler flags", "Gcc Linker flags" and "Ld Linker flags" entries in ghc --info's output. Thanks Ian ___ Glasgow-has

Re: cabal install network was: Re: ANNOUNCE: GHC 7.0.2 Release Candidate 2

2011-02-22 Thread Christian Maeder
Am 21.02.2011 19:16, schrieb Ian Lynagh: > On Mon, Feb 21, 2011 at 05:44:54PM +0100, Christian Maeder wrote: >>> >>> % cabal --version >>> cabal-install version 0.9.5 >>> using version 1.10.1.0 of the Cabal library >>> >>> With this the cabal-install command, you can install the network package. >