Re: ghci finding include files exported from other packages?

2009-03-17 Thread Simon Marlow
Duncan Coutts wrote: On Mon, 2009-03-16 at 12:13 +, Simon Marlow wrote: This sounds like a chicken and egg problem. To know which package include directories to use GHCi needs to know which packages your module uses. However to work out which packages it needs it has to load the module

Re: ghci finding include files exported from other packages?

2009-03-17 Thread Duncan Coutts
On Tue, 2009-03-17 at 08:53 +, Simon Marlow wrote: Duncan Coutts wrote: On Mon, 2009-03-16 at 12:13 +, Simon Marlow wrote: Yes, if we know we're using it. If we specify -package blah on the command line then we do know we're using it and everything works (because ghc uses the

Under Solaris: GHC 6.10.2 Release Candidate 1

2009-03-17 Thread Christian Maeder
GHC 6.10.2 will have a problem with cabal-install-0.6.2! When I tried to install cabal-install-0.6.2 for ghc-6.10.1.20090314 I needed to change #!/bin/sh to #!/bin/bash in bootstrap.sh to avoid the following errors: -bash-3.00$ ./bootstrap.sh Checking installed packages for

Developer Wiki Buildbots

2009-03-17 Thread Philip K.F.
Dear all, It seems that the front page of the developer wiki is rather out-of-date. Considering that 6.10.2 is now at rc1-stage, I was rather hoping to find some updated notes on release plans for 6.10.2 and what will be in 6.12, but those notices are still at 6.8.3 and 6.10, resp. On another

Re: Under Solaris: GHC 6.10.2 Release Candidate 1

2009-03-17 Thread Karel Gardas
Christian Maeder wrote: Testsuite results are bad for ghc-6.10.1.20090314, see http://hackage.haskell.org/trac/ghc/ticket/3106 Patch for the cygpath not found issue is attached to the ticket. Please (Windows/Cygwin/Mingw users especially) test it. Thanks, Karel

Re: Developer Wiki Buildbots

2009-03-17 Thread Simon Marlow
Philip K.F. Hölzenspies wrote: It seems that the front page of the developer wiki is rather out-of-date. Considering that 6.10.2 is now at rc1-stage, I was rather hoping to find some updated notes on release plans for 6.10.2 and what will be in 6.12, but those notices are still at 6.8.3 and

Re: testing 6.10.2-candidate

2009-03-17 Thread Simon Marlow
Serge D. Mechveliani wrote: I have tested ghc-6.10.1.20090314 on Debian Linux, i386-unknown, on making from source by ghc-6.10.1, making itself from source, DoCon. It looks all right. Thanks Serge! Simon ___ Glasgow-haskell-users mailing

Solaris 8 and libm.so.2

2009-03-17 Thread Ralph Crawford
Hi everyone. I'm trying to build GHC 6.8.3 on a Solaris 8 machine. I'd love to upgrade Solaris to 10, which I believe would solve the problem I'm having by making /usr/lib/libm.so.2 available, but that's not an option at this time. Here's the output of uname -a on the system. SunOS bwddev1 5.8

Re: Solaris 8 and libm.so.2

2009-03-17 Thread Christian Maeder
Ralph Crawford wrote: ln -s /usr/lib/libm.so.1 $BOS_ROOT/lib/libm.so.2 You need an actual libm.so.2 library that contains the missing symbols. To this library you set a link libm.so in a directory that is in the front of your LD_LIBRARY_PATH, so that libm.so.2 instead of libm.so.1 is found via

Re: Solaris 8 and libm.so.2

2009-03-17 Thread Brandon S. Allbery KF8NH
On 2009 Mar 17, at 10:36, Christian Maeder wrote: Ralph Crawford wrote: ln -s /usr/lib/libm.so.1 $BOS_ROOT/lib/libm.so.2 You need an actual libm.so.2 library that contains the missing symbols. To this library you set a link libm.so in a directory that is in the front of your

Bootstrapping the compiler

2009-03-17 Thread Colin Paul Adams
I have just downloaded a darcs snapshot, pulled patches and followed the instructions at http://hackage.haskell.org/trac/ghc/wiki/Building/QuickStart When I got to do make it didn't work. The tail of the output looks like this: [55 of 55] Compiling Main ( cabal-bin.hs,

Re: Under Solaris: GHC 6.10.2 Release Candidate 1

2009-03-17 Thread Duncan Coutts
On Tue, 2009-03-17 at 11:09 +0100, Christian Maeder wrote: GHC 6.10.2 will have a problem with cabal-install-0.6.2! When I tried to install cabal-install-0.6.2 for ghc-6.10.1.20090314 I needed to change #!/bin/sh to #!/bin/bash in bootstrap.sh to avoid the following errors: -bash-3.00$

Re: Under Solaris: GHC 6.10.2 Release Candidate 1

2009-03-17 Thread Brandon S. Allbery KF8NH
On 2009 Mar 17, at 20:28, Duncan Coutts wrote: On Tue, 2009-03-17 at 11:09 +0100, Christian Maeder wrote: Under Solaris sh is not bash! Indeed. According to the OpenGroup that syntax should be fine: http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_02 It