Re: Is GHC 6.8.2 on solaris 32 bits or 64 bits

2008-01-31 Thread Christian Maeder
hsing-chou chen wrote: Thank you for porting GHC 6.8.2 to solaris, I am assigned a job to make sure GHC run 64 bits on solaris. Good, I was waiting for (someone like) you! I'm interested in a true 64 bits GHC on solaris, too, but I have no idea how to build one. I hope Ian or Simon can help

Re: Is GHC 6.8.2 on solaris 32 bits or 64 bits

2008-02-04 Thread Christian Maeder
Simon Marlow wrote: hsing-chou chen wrote: Thank you for porting GHC 6.8.2 to solaris, I am assigned a job to make sure GHC run 64 bits on solaris. Is your solaris port 64 bits. Or it only 32 BITS. I know 32 bits GHC can still run on 64 bits solaris. However company want to run really 64

Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page

2008-02-13 Thread Christian Maeder
Chris Kuklewicz wrote: The ./setup build causes a segmentation fault. This is for every project I try (including ones with very default Setup.hs contents). I can at least reproduce the segmentation fault by running my PPC-Tiger binary on an i386-Leopard, by compiling with additional options

Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page

2008-02-14 Thread Christian Maeder
Could you create a ticket for this (or is there one already)? I'm willing to recompile ghc-6.8.2 with different options or patches on PPC Tiger, but even compiling via-C does not work (not to mention bootstrapping from hc sources). http://hackage.haskell.org/trac/ghc/ticket/2012 (Only few seem

Re: problems with ghc-6.8.2-powerpc-apple-darwin.tar.bz2 from GHC home page

2008-02-14 Thread Christian Maeder
Manuel M T Chakravarty wrote: ld: atom sorting error for _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuStream_closure_tbl and _fastcgizm3001zi0zi1_NetworkziFastCGI_FCGXzuRequest_closure_tbl in dist/build/Network/FastCGI.o According to Wolfgang Thaller's answer to a previous post by yourself,

Re: Tiger installer [was: Re: ANN: Mac installer pkg for GHC - 6.8.2.20080211 trial release (Leopard, Intel)]

2008-02-19 Thread Christian Maeder
Manuel M T Chakravarty wrote: $ ./HelloWorld-Tiger Hello World! $ ./HelloWorld-Leopard Bus error only setting export MACOSX_DEPLOYMENT_TARGET=10.4 on Leopard during compilation should make it run on a Tiger, too. HTH Christian ___

Re: Tiger installer [was: Re: ANN: Mac installer pkg for GHC - 6.8.2.20080211 trial release (Leopard, Intel)]

2008-02-20 Thread Christian Maeder
Manuel M T Chakravarty wrote: Christian Maeder: export MACOSX_DEPLOYMENT_TARGET=10.4 Specifically, I am seeing dyld: bind: ghc-6.9.20080219:_fcntl$UNIX2003$lazy_ptr = libSystem.B.dylib:_fcntl$UNIX2003, *0x0108a413 = 0x92c7b7bc what tells you that this is Leopard specific? on running

Re: GHC build failures on Mac OS X Leopard: ppc

2008-02-20 Thread Christian Maeder
Chris Kuklewicz wrote: As far as I know -- and I wish to be wrong -- there is no known way to get a fully working ghc-6.8.x on OS 10.5.y on the PowerPC (PPC) architecture. One problem left was: m29:fastcgi-3001.0.1 maeder$ ./Setup build Segmentation fault I could work around this by using

timer_create

2008-03-06 Thread Christian Maeder
Hi, my binary distribution http://www.haskell.org/ghc/dist/6.8.2/maeder/ghc-6.8.2-i386-unknown-linux.tar.bz2 creates binaries that fail on some i386 linux boxes with: timer_create: Invalid argument I've built the distribution with gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) and the

Re: ANN: ghc 6.8.2 from MacPorts

2008-03-13 Thread Christian Maeder
Gregory Wright wrote: Leopard/ppc are out of luck until for now, for reason discussed earlier on this list. I was able to build ghc 6.8.2 on Leopard/ppc using the patch from http://hackage.haskell.org/trac/ghc/ticket/1958 (also below) Could you try if it works for you, too? Cheers Christian

Re: ANN: ghc 6.8.2 from MacPorts

2008-03-13 Thread Christian Maeder
Christian Maeder wrote: Gregory Wright wrote: Leopard/ppc are out of luck until for now, for reason discussed earlier on this list. I was able to build ghc 6.8.2 on Leopard/ppc using the patch from http://hackage.haskell.org/trac/ghc/ticket/1958 (also below) Could you try if it works

Re: timer_create

2008-03-14 Thread Christian Maeder
Ian Lynagh wrote: Hi Christian, On Thu, Mar 06, 2008 at 05:59:50PM +0100, Christian Maeder wrote: #define HAVE_TIMER_CREATE 1 Or is there a work around (apart from creating a new binary-dist using ghc-6.6.1)? I don't think using ghc 6.6.1 will make a difference. At least our ghc-6.6.1

Re: ANN: ghc 6.8.2 from MacPorts

2008-03-14 Thread Christian Maeder
Hi Greg, I can't test it myself because I don't have root access to our machines. Maybe someone else can? (Meanwhile I'll try to make a binary-dist that includes the extra-libs.) Cheers Christian Gregory Wright wrote: Hi Christian, I built a new bootstrapping compiler on Tiger/ppc,

Re: timer_create

2008-03-14 Thread Christian Maeder
Simon Marlow wrote: Unfortunately this means that taking a GHC binary built on a newer Linux will not work on an older version. Do you know by chance which linux library (or rpm package) needs to be updated (if I run such an old version)? timer_create() is needed so that we can avoid needing

Re: timer_create

2008-03-14 Thread Christian Maeder
Christian Maeder wrote: Simon Marlow wrote: Unfortunately this means that taking a GHC binary built on a newer Linux will not work on an older version. Do you know by chance which linux library (or rpm package) needs to be updated (if I run such an old version)? It seems to be glibc. Can

Re: Success report: Leopard powerpc

2008-03-18 Thread Christian Maeder
Alfonso Acosta wrote: It would be awsome if a PPC/Lepoard installation package was made available from GHC's page. I can offer http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/mac/ghcs/ghc-6.8.2-powerpc-apple-darwin-static-libs.tar.bz2 but also see

Re: Expected behavior of deriving Ord?

2008-03-20 Thread Christian Maeder
Conal Elliott wrote: I have an algebraic data type (not newtype) that derives Ord: data AddBounds a = MinBound | NoBound a | MaxBound deriving (Eq, Ord, Read, Show) The class Ord is not suited for partial orders. If you write your own Ord instances anyway, I'd suggest to

Re: Expected behavior of deriving Ord?

2008-03-20 Thread Christian Maeder
Conal Elliott wrote: AddBounds makes total orders from total orders. It just adds new least and greatest elements. The problem with the derived instance is that it doesn't exploit the potential laziness of min on 'a'. Because of their types, min it can produce partial info from partial

Re: Expected behavior of deriving Ord?

2008-03-22 Thread Christian Maeder
Conal Elliott wrote: The type argument I ran into trouble with represents a value as a list of increasing lower bounds, ending in the exact value. min produces lower bounds from lower bounds and so is immediately productive before even knowing which argument is the lesser one. Is this only

Re: Expected behavior of deriving Ord?

2008-03-31 Thread Christian Maeder
Christian Maeder wrote: Conal Elliott wrote: The type argument I ran into trouble with represents a value as a list of increasing lower bounds, ending in the exact value. min produces lower bounds from lower bounds and so is immediately productive before even knowing which argument

patch-applied messages

2008-03-31 Thread Christian Maeder
(resent this request for [EMAIL PROTECTED] to glasgow-haskell-users) Hi, could the actual change-diff of patches also be posted via this list (or a web-link to the change)? I think this was the case with the old cvs repository. This would teach a bit Haskell programming and how to write

Re: patch-applied messages

2008-04-01 Thread Christian Maeder
Christian Maeder wrote: could the actual change-diff of patches also be posted via the list [EMAIL PROTECTED] I just see that patches sent to [EMAIL PROTECTED] have a link to the actual patch. I.e. View patch online: http://darcs.haskell.org/cabal-install/_darcs/patches/20080329194426-adfee

Re: 6.6.1 vs 6.8.2 --- Re: large binary footprint ?

2008-05-23 Thread Christian Maeder
Don Stewart wrote: hp: I convinced myself that the ~500kbytes for the 'hello' code is 'correct' in version 6.6.1. [ The exact size on the platform mentioned below is 422k. ] Looks like version 6.8.2 blows up the binary code size significantly --- 3.9Mbytes vs 0.422Mbytes. Is this a known

Re: 6.6.1 vs 6.8.2 --- Re: large binary footprint ?

2008-05-28 Thread Christian Maeder
see http://hackage.haskell.org/trac/ghc/ticket/2312 -split-objs is passed to stage1/ghc-inplace when building the library, yet there's only at most one part for each module. Cheers Christian Simon Marlow wrote: -bash-3.00$ ghc --info [(Project name,The Glorious Glasgow Haskell Compilation

Re: ANNOUNCE: GHC 6.8.3 Release Candidate - MacOS X (Intel/Leopard) distribution

2008-06-05 Thread Christian Maeder
For those without root rights I've made a plain distribution that relies on gmp and readline under /opt/local/ (for 9.3.0 Darwin Kernel) http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/intel-mac/ghcs/ghc-6.8.2.20080603-i386-apple-darwin.tar.bz2 Christian Manuel M

Re: ANNOUNCE: GHC version 6.8.3 binary-dists

2008-06-20 Thread Christian Maeder
Hi, I've created the following binary distributions, but -- like Serge Mechveliani -- I'm not very happy with the results, because the created binaries are much bigger. http://www.dfki.de/sks/hets/pc-solaris/ghcs/ghc-6.8.3-i386-unknown-solaris2.tar.bz2

Re: ANNOUNCE: GHC version 6.8.3 binary-dists

2008-06-20 Thread Christian Maeder
Simon Marlow wrote: That's odd - I measured binary sizes thoroughly before the release and didn't see any difference between 6.8.3 and 6.8.2. The size of ghc itself did not increase. Perhaps -split-objs got lost somewhere? Or maybe you upgraded gcc at some point? No (at least I don't

Re: ANNOUNCE: GHC version 6.8.3 binary-dists

2008-06-20 Thread Christian Maeder
Hi Simon, maybe you can suggest a global flag setting that avoids too much inlining during optimization. Cheers Christian Christian Maeder wrote: No (at least I don't think so). I suspect that we some expensive class instances (for our class Logic). Here is a list of our biggest object

Re: Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)

2008-06-27 Thread Christian Maeder
Judah Jacobson wrote: Christian, did you compile this distribution on a G5 PowerPC? Yes! GMP is statically linked into this distribution, so if it's using any processor-specific instructions I could see that tripping up my G4. If you or someone else can confirm that this works on a G5, then

Re: ANNOUNCE: GHC version 6.8.3 binary-dists

2008-07-01 Thread Christian Maeder
Since I've switched back from ghc-6.8.3 to ghc-6.8.2 I would like to see a new minor ghc version 6.8.4 with this bug fixed. Cheers Christian Simon Peyton-Jones wrote: As I said to Serge, I *think* all this arises from the *unconditional* inlining of instance declarations, which isn't under

Re: ANNOUNCE: GHC version 6.8.3 binary-dists

2008-07-02 Thread Christian Maeder
Simon Peyton-Jones wrote: As I said to Serge, I *think* all this arises from the *unconditional* inlining of instance declarations, which isn't under flag control unfortunately. The only fix at the moment is to write instance decls whose code is small -- just call a separate top-level

Re: ghc-6.8.1 on solaris-sparc

2008-07-03 Thread Christian Maeder
Johannes Waldmann wrote: nm /usr/local/lib/libncurses.so.5|grep main [1192] | 0| 0|NOTY |GLOB |0|UNDEF |main I get no output at all. Christian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

cvs.haskell.org

2008-07-11 Thread Christian Maeder
Hi, What happened to the haskell cvs server? I used to get the programatica sources from there. But cvs -d :pserver:[EMAIL PROTECTED]:/cvs co -P programatica times out. monk.galois.com (69.30.63.197) Cheers Christian ___ Glasgow-haskell-users

Re: Any release date for GHC 6.8.3 for Mac OS X 10.5 (Leopard) on PowerPC G4 machines?

2008-08-04 Thread Christian Maeder
Benjamin L.Russell wrote: Is there any scheduled release date for GHC 6.8.3 for Mac OS X 10.5 (Leopard) on PowerPC G4 machines? No, but I could rebuild ghc-6.8.3 on Tiger (G5) so that it also runs on a G4. (The G5 dependency of

Re: Any release date for GHC 6.8.3 for Mac OS X 10.5 (Leopard) on PowerPC G4 machines?

2008-08-05 Thread Christian Maeder
static binaries then move the static library libgmp.a into your installed ghc's libdir. Cheers Christian Christian Maeder wrote: Benjamin L.Russell wrote: Is there any scheduled release date for GHC 6.8.3 for Mac OS X 10.5 (Leopard) on PowerPC G4 machines? No, but I could rebuild ghc-6.8.3

Re: problems running ghc-6.8.2 on solaris 10, sparc

2008-08-15 Thread Christian Maeder
Hi Daniil I have a binary dist here: http://www.dfki.de/sks/hets/solaris/ghcs/ghc-6.8.3-sparc-sun-solaris2.tar.bz2 that runs and was built with gcc-4.0.3 on Solaris 8 sparc. It runs under Solaris 10 with gcc-4.2.2, too. (It also runs with gcc-3.4, but building fails as in #951). I've not

Re: problems running ghc-6.8.2 on solaris 10, sparc

2008-08-15 Thread Christian Maeder
Daniil Elovkov wrote: [...] Btw, the link you gave me is not on haskell.org/ghc. For 6.8.3 only solaris-x86 is downloadable. That's why I grabbed 6.8.2 in the first place. [..] I have a binary dist here: http://www.dfki.de/sks/hets/solaris/ghcs/ghc-6.8.3-sparc-sun-solaris2.tar.bz2 Ian, you

Re: SVN binding with Haskell

2008-09-15 Thread Christian Maeder
Hi, I've install HsSVN (version 0.3.3) using ghc-6.8.3 and Cabal-1.4.0.1, but it was a real pain (under i686 Linux 2.6.22.18-0.2-default #1 SMP) 1. I had to install subversion-devel-1.4.4-30 (of course) 2. configure went through after setting: export

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-22 Thread Christian Maeder
Ian Lynagh wrote: Right now we have the source bundles: http://www.haskell.org/ghc/dist/stable/dist/ghc-6.10.0.20080921-src.tar.bz2 http://www.haskell.org/ghc/dist/stable/dist/ghc-6.10.0.20080921-src-extralibs.tar.bz2 I've tried to build a binary dist on x86 under Solaris and did not

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-23 Thread Christian Maeder
-0.71.0.1, regex-posix-0.72.0.2, rts-1.0, stm-2.1.1.1, syb-0.1.0.0, template-haskell-2.3.0.0, time-1.1.2.1, unix-2.3.1.0, xhtml-3000.2.0.1 Christian Maeder wrote: 5. When trying to install the binary distribution I got: Installing executable(s) in /local/home/maeder/bin installPackage: dist

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-24 Thread Christian Maeder
Judah Jacobson wrote: On Tue, Sep 23, 2008 at 6:38 AM, Christian Maeder [EMAIL PROTECTED] wrote: But finally installation succeeded (editline is missing and the arrow keys don't work). This means that the editline package could not be built for some reason. Is this on your OS X machine

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-24 Thread Christian Maeder
to the gmp and readline whims on Macs.) Cheers Christian Christian Maeder wrote: checking editline/readline.h usability... no checking editline/readline.h presence... no checking for editline/readline.h... no checking editline/editline.h usability... no checking editline/editline.h presence

Re: 6.10-candidate tested

2008-09-24 Thread Christian Maeder
Serge D. Mechveliani wrote: On Wed, Sep 24, 2008 at 05:32:51PM +0200, Christian Maeder wrote: Do you have libedit on your linux machine (because I haven't)? I do not know what is libedit and where to find it. It's the library needed for editline http://hackage.haskell.org/cgi-bin/hackage

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-25 Thread Christian Maeder
Ian Lynagh wrote: On Mon, Sep 22, 2008 at 03:32:40PM +0200, Christian Maeder wrote: Ian Lynagh wrote: Right now we have the source bundles: http://www.haskell.org/ghc/dist/stable/dist/ghc-6.10.0.20080921-src.tar.bz2 http://www.haskell.org/ghc/dist/stable/dist/ghc-6.10.0.20080921-src

Re: GHC on Solaris/SPARC?

2008-09-30 Thread Christian Maeder
There seems to be a problem with ncurses 5.6 http://www.haskell.org/pipermail/glasgow-haskell-users/2008-July/015044.html We have Version 5.0.3. You may try (originally for SunOS leo 5.10 Generic_137111-02 sun4u sparc SUNW,Sun-Fire-280R) from

Re: GHC on Solaris/SPARC?

2008-10-01 Thread Christian Maeder
. Cheers Christian Elliott Slaughter wrote: On Tue, Sep 30, 2008 at 12:35 AM, Christian Maeder [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: There seems to be a problem with ncurses 5.6 http://www.haskell.org/pipermail/glasgow-haskell-users/2008-July/015044.html We have

libedit

2008-10-09 Thread Christian Maeder
Hi Judah, after installing rpm packages libedit0-2.10.snap20070831-5 libedit-devel-2.10.snap20070831-5 I get the error below for cabal install editline Cheers Christian checking editline/readline.h usability... yes checking editline/readline.h presence... yes checking for

Re: ANNOUNCE: GHC 6.10.1 RC 1

2008-10-09 Thread Christian Maeder
Ian Lynagh wrote: Please test as much as possible; bugs are much cheaper if we find them before the release! How about a test-suite? Cheers Christian P.S. make binary-dist creates a big unnecessary .tar file together with the final .tar.bz2 file. Also a (disturbing) link ghc-6.10.0.20081007 -

Re: libedit

2008-10-09 Thread Christian Maeder
Christian Maeder wrote: Hi Judah, after installing rpm packages libedit0-2.10.snap20070831-5 libedit-devel-2.10.snap20070831-5 I just noticed that this libedit version works for editline-0.2.0.0 within 6.10.0.20081007 Cheers C. ___ Glasgow

libedit-20080712-2.11 under x86 Solaris

2008-10-09 Thread Christian Maeder
Hi, I've installed libedit-20080712-2.11 (from sources) for ghc-6.10.0.20081007 under x86 Solaris. However, ghci comes up with: GHCi, version 6.10.0.20081007: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done.

Re: MacPorts will use _only_ a ghc built with port install ghc, no other

2008-10-10 Thread Christian Maeder
Hi, Denis wanted to install pandoc form MacPorts and got problems (below), because he has installed my ghc-6.8.3-powerpc binary. If my binary works you could download http://hackage.haskell.org/packages/archive/pandoc/1.0.0.1/pandoc-1.0.0.1.tar.gz unpack and do the runhaskell Setup

Re: libedit-20080712-2.11 under x86 Solaris

2008-10-10 Thread Christian Maeder
Judah Jacobson wrote: Strange; it seems like terminfo isn't looking in the right location for the xterm files. Incidentally, the dumb terminal settings may be deficient when you type a line longer than the terminal width. What OS is this? Did you download and install (n)curses manually?

readEither in ghc-6.10. ?

2008-10-10 Thread Christian Maeder
Hi, I've got errors when compiling with ghc-6.10.0.20081007 Not in scope: `readEither' It is imported via: import GHC.Read (readEither) and used to work with ghc-6.8. What should I use as replacement? Cheers Christian P.S. It is also not mentioned in the changes:

Testsuite Re: ANNOUNCE: GHC 6.10.1 RC 1

2008-10-13 Thread Christian Maeder
Ian Lynagh wrote: http://www.haskell.org/ghc/dist/stable/dist/6.10.1-rc-1/rc.html My testsuite results can be found under: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/mac/ghcs/ghc-6.10.0.20081007-tests.log.bz2

cabal

2008-10-20 Thread Christian Maeder
Hi, currently I've got a problem installing from hackage. using: GHC (package manager) version 6.10.0.20081019 cabal-install version 0.6.0 using version 1.6.0.1 of the Cabal library I get: Building network-2.2.0.0... Network/URI.hs:128:7: Could not find module `Data.Generics':

cabal

2008-10-20 Thread Christian Maeder
Hi, currently I've got a problem installing from hackage. using: GHC (package manager) version 6.10.0.20081019 cabal-install version 0.6.0 using version 1.6.0.1 of the Cabal library I get: Building network-2.2.0.0... Network/URI.hs:128:7: Could not find module `Data.Generics':

Re: cabal

2008-10-21 Thread Christian Maeder
Duncan Coutts wrote: The basic problem here is that the version number of the network package has not been bumped. see below You probably installed from a ghc bindist that has network-2.2.0.0 already, Yes, you're right, and I didn't notice that, because I relied on cabal install. however

Re: SVN binding with Haskell

2008-10-24 Thread Christian Maeder
just to correct a false impression. One part of my problem (point 3. below) was a wrong hsc2hs program that was found in my PATH by accident (that also caused http://www.haskell.org/pipermail/cabal-devel/2008-October/003980.html) Cheers Christian Christian Maeder wrote: Hi, I've install

extra libraries vs. cabal libraries (ghc-6.10.1)

2008-11-05 Thread Christian Maeder
Hi, the documentation of extra libraries is listed under share/doc/ghc/libraries/ 1. Is it possible to add cabal packages in the same way? How? 2. It would be nice if the cabal-install (i.e. the binary cabal) came with ghc. Currently zlib, HTTP and cabal-install have to be (awkwardly) installed

editline in ghc-6.10.1 under Solaris

2008-11-10 Thread Christian Maeder
Hallo Judah, I've build http://www.thrysoee.dk/editline/libedit-20080712-2.11.tar.gz and it was linked against libcurses: -bash-3.1$ ldd /usr/local/lib/libedit.so.0 libcurses.so.1 =/lib/libcurses.so.1 libc.so.1 = /lib/libc.so.1 libgcc_s.so.1 =

Re: GHC on powerpc (OS X): segmentation fault

2008-11-11 Thread Christian Maeder
I can offer a Tiger PPC built that works for me: http://www.dfki.de/sks/hets/intel-mac/ghcs/ghc-6.10.1-i386-apple-darwin.tar.bz2 (linked against /opt/local/lib/libgmp.dylib) Cheers Christian Chris Kuklewicz wrote: I am having trouble compiling GHC using mac ports on powerpc OS X (10.5.5)

Re: libedit.so.0

2008-11-12 Thread Christian Maeder
James Swaine wrote: That still didn't do anything. Here's the exact error text I'm getting: error while loading shared libraries: libedit.so.0: cannot open shared object file: No such file or directory make[1]: *** [cabal-bin] Error 127 make[1]: Leaving directory

Re: libedit.so.0

2008-11-12 Thread Christian Maeder
James Swaine wrote: I can't seem to get the latest source bundle to build (running on Red Hat). I run the configure script, then make on the source tree root, and ghc gives an error to the effect of 'could not load shared object file or library libedit.so.0'. I don't have root permissions on

Re: GHC on powerpc (OS X): segmentation fault

2008-11-13 Thread Christian Maeder
Ian Lynagh wrote: On Tue, Nov 11, 2008 at 01:19:25PM +0100, Christian Maeder wrote: http://www.dfki.de/sks/hets/intel-mac/ghcs/ghc-6.10.1-i386-apple-darwin.tar.bz2 http://www.dfki.de/sks/hets/mac/ghcs/ghc-6.10.1-powerpc-apple-darwin.tar.bz2 Thanks Christian, I've put these up

Re: ANNOUNCE: GHC version 6.10.1 - MacOS installer

2008-11-21 Thread Christian Maeder
Jason Dagit wrote: But, I still think I did something wrong because the first thing I tried to build with 6.10 complained that -lgmp was not found. I have checked, it's installed and I saw the ./configure script for the 6.10 installation find it. Actually I have the same problem. I need to

Re: ANNOUNCE: GHC version 6.10.1 - MacOS installer

2008-11-21 Thread Christian Maeder
Christian Maeder wrote: Jason Dagit wrote: But, I still think I did something wrong because the first thing I tried to build with 6.10 complained that -lgmp was not found. I have checked, it's installed and I saw the ./configure script for the 6.10 installation find it. Actually I have the same

Re: ANNOUNCE: GHC version 6.10.1 - MacOS installer

2008-11-21 Thread Christian Maeder
Jason Dagit wrote: On Fri, Nov 21, 2008 at 6:10 AM, Christian Maeder [EMAIL PROTECTED] wrote: Also note that gmp.h will not be found without: export CPATH=/opt/local/include This directory should be part of the include-dirs: for the rts package. And again the file /opt/local/include/gmp.h

gtk2hs and MacPorts

2008-12-01 Thread Christian Maeder
Hi, recently (last Friday) I had a chance to use MacPorts to install gtk2hs. (Usually I do not have root permissions to do so.) Actually, I only wanted to install the libraries needed to run a gtk2hs application that I've created on another machine. On that other machine gtk was (painfully)

Re: Preferred gcc for use with ghc

2009-01-03 Thread Christian Maeder
gcc version 4.0.1 (Apple Inc. build 5488) worked for me. I think it comes from XCode 3.1 together with @(#)PROGRAM:ld PROJECT:ld64-85.2.1 XCode 3.0 with gcc version 4.0.1 (Apple Inc. build 5465) and @(#)PROGRAM:ld PROJECT:ld64-77 works only on intel macs but not on powerpc macs. HTH Christian

Re: new build system build fails on Solaris/x86

2009-01-21 Thread Christian Maeder
How did you call gmake? editline is not needed for ghc. When building the libraries with the stage1 compiler I get: ... touch stamp/configure.library.build-profiling-splitting.editline || touch editline/unbuildable Configuring editline-0.2.1.0... checking for gcc... gcc checking for C compiler

Re: Segmentation fault trying to build ghc 6.10.1 using macports, Mac OS X 10.5, PPC

2009-02-02 Thread Christian Maeder
David Menendez wrote: I'm trying to upgrade GHC to 6.10.1 using macports on a PowerBook G4 running OS X 10.5.5. From what I can tell, I'm getting a segmentation fault from cabal-bin. On PPC leopard you need to update to XCode 3.1 http://hackage.haskell.org/trac/ghc/wiki/Building/MacOSX

Re: [Haskell-cafe] Gtk2HS 0.10.0 Released

2009-02-12 Thread Christian Maeder
Duncan Coutts wrote: On Wed, 2009-02-11 at 15:49 +0100, Lennart Augustsson wrote: Does this version work from ghci? -- Lennart Specifically I believe Lennart is asking about Windows. It's worked in ghci in Linux for ages and it worked in ghci in Windows prior to the 0.9.13 release.

Re: Suggestion for bang patterns documentation

2009-02-27 Thread Christian Maeder
Brian Bloniarz wrote: I got confused by the GHC documentation recently, I was wondering how it could be improved. From: http://www.haskell.org/ghc/docs/latest/html/users_guide/bang-patterns.html Seeing the rule pat ::= !pat you'll probably want to avoid patterns like: !!pat, ! ! pat, or ~ !

Re: Suggestion for bang patterns documentation

2009-02-27 Thread Christian Maeder
Brian Bloniarz wrote: I got confused by the GHC documentation recently, I was wondering how it could be improved. From: http://www.haskell.org/ghc/docs/latest/html/users_guide/bang-patterns.html cite The let-binding can be recursive. However, it is much more common for the let-binding to be

Re: Suggestion for bang patterns documentation

2009-02-27 Thread Christian Maeder
Simon Peyton-Jones wrote: | cite | The let-binding can be recursive. However, it is much more common for | the let-binding to be non-recursive, in which case the following law | holds: (let !p = rhs in body) is equivalent to (case rhs of !p - body) | /cite | | Shouldn't the bang be removed

Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-16 Thread Christian Maeder
Ian Lynagh wrote: We are pleased to announce the first release candidate for GHC 6.10.2: http://www.haskell.org/ghc/dist/6.10.2-rc1/ Under Solaris grep does not understand -q in configure: checkMake380() { if $1 --version 21 | head -1 | grep -q 'GNU Make 3\.80' it fails with: grep:

Under Solaris: GHC 6.10.2 Release Candidate 1

2009-03-17 Thread Christian Maeder
requests: unix = 2.0 2.4 Changing to = 2.4 was not sufficient, so I changed it to = 2.5. This will affect any OS! Testsuite results are bad for ghc-6.10.1.20090314, see http://hackage.haskell.org/trac/ghc/ticket/3106 Cheers Christian Christian Maeder wrote: Ian Lynagh wrote: We

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: Under Solaris: GHC 6.10.2 Release Candidate 1

2009-03-18 Thread Christian Maeder
Duncan Coutts wrote: On Tue, 2009-03-17 at 11:09 +0100, Christian Maeder wrote: ./bootstrap.sh: !: not found 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

Re: ANNOUNCE: GHC 6.10.2 Release Candidate 1

2009-03-19 Thread Christian Maeder
Ian Lynagh wrote: On Mon, Mar 16, 2009 at 04:00:09PM +0100, Christian Maeder wrote: Under Solaris grep does not understand -q in configure: checkMake380() { if $1 --version 21 | head -1 | grep -q 'GNU Make 3\.80' it fails with: grep: illegal option -- q Usage: grep -hblcnsviw pattern

is the library iconv necessary for haskeline?

2009-06-05 Thread Christian Maeder
Hi, building ghc-6.10.3 under x86 solaris eventually failed with: Configuring ghc-bin-6.10.3... cabal-bin: At least the following dependencies are missing: haskeline -any gmake[3]: *** [boot.stage.2] Error 1 I think, haskeline is not build because libiconv is missing: -bash-3.00$ ./Setup

Re: 6.10.4 plans

2009-06-08 Thread Christian Maeder
When building ghc-6.10.3 I've noticed again: 1. ghc-pkg check: There are problems in package rts-1.0: include-dirs: PAPI_INCLUDE_DIR doesn't exist or isn't a directory after make binary-dist I'm left with an unnecessary .tar file and a link (ghc-6.10.3 - .). The mere *.tar.bz2 file would do

Re: is the library iconv necessary for haskeline?

2009-06-08 Thread Christian Maeder
Christian Maeder wrote: Hi, building ghc-6.10.3 under x86 solaris eventually failed with: [...] Configuring haskeline-0.6.1.5... checking whether to use -liconv... Setup: Unable to link against the iconv library. I wonder how this check for -liconv is generated. I have a file /usr

Re: was 6.10.3 prerelease

2009-06-22 Thread Christian Maeder
Maybe a binary distribution for Mac OS Tiger would be useful. (I prefer the plain .tar.gz files over .pkg, because they don't require root rights.) I usually make them using a file mk/build.mk containing: BIN_DIST=1 Project=Ghc HADDOCK_DOCS = YES #XMLDocWays = html using the commands:

Re: ANNOUNCE: GHC 6.10.4 Release Candidate 1

2009-07-13 Thread Christian Maeder
Ian Lynagh wrote: We are pleased to announce the first release candidate for GHC 6.10.4: http://www.haskell.org/ghc/dist/6.10.4-rc1/ Worked like a charm for me under x86 Solaris. Cheers Christian ___ Glasgow-haskell-users mailing list

more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-22 Thread Christian Maeder
Ian Lynagh wrote: == The (Interactive) Glasgow Haskell Compiler -- version 6.10.4 == Packages will appear as they are built - if the package for your system isn't

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-22 Thread Christian Maeder
P.S. before installing the Haskell-Platform look at http://trac.haskell.org/haskell-platform/ticket/74 and take measures to avoid loosing your profiling libs. (Either by not re-installing the listed packages or by re-installing them with profiling switched on.) Cheers Christian Maeder wrote

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-22 Thread Christian Maeder
Bulat Ziganshin wrote: Hello Christian, Wednesday, July 22, 2009, 1:35:07 PM, you wrote: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/pc-solaris/ghcs/ghc-6.10.4-i386-unknown-solaris2.tar.bz2 is it compatible with OpenSolaris too? if so, it's great, my

Re: Fwd: Generating valid Haskell code using the GHC API pretty printer

2009-07-22 Thread Christian Maeder
Thomas Schilling wrote: Forgot to include the list. -- Forwarded message -- From: Thomas Schilling nomin...@googlemail.com Date: 2009/7/22 Subject: Re: Generating valid Haskell code using the GHC API pretty printer To: Jan Schaumlöffel j...@informatik.uni-kiel.de The

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-24 Thread Christian Maeder
Simon Marlow wrote: On 22/07/2009 10:35, Christian Maeder wrote: For sparc-solaris 10 I could not run the testsuite (with GNU Make 3.80) What went wrong? Building went ok, despite the following warning at the end of ./configure: WARNING: It looks like gmake is GNU make 3.80. This version

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-24 Thread Christian Maeder
Simon Marlow wrote: SDM: I'd guess your gmp.h is dropping definitions for some inline functions into the code. gmp for ghc was taking from the ghc-sources, but maybe my gcc uses /usr/local/include/gmp.h nevertheless (because that's a system path). +tcfail126.hs:11:0: +Failed to load

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-24 Thread Christian Maeder
Simon Marlow wrote: SDM: I don't have a ghc-mtl library. Where does that come from? I see ghc-mtl for the first time, too. It's probably in your user package DB, installed as a dependency of something else. The testsuite should be ignoring your user package DB; I'll fix that. For some

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-24 Thread Christian Maeder
Ian Lynagh wrote: This error refers to the line $(eval $(call canonicalise,PREFIX)) in timeout/Makefile. Hmm, this test: - HAVE_EVAL := NO $(eval HAVE_EVAL := YES) ifeq $(HAVE_EVAL) NO $(error Your make does not support eval. You need GNU make = 3.80) endif

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-24 Thread Christian Maeder
Ian Lynagh wrote: On Wed, Jul 22, 2009 at 11:35:07AM +0200, Christian Maeder wrote: Ian Lynagh wrote: == The (Interactive) Glasgow Haskell Compiler -- version 6.10.4

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-24 Thread Christian Maeder
Christian Maeder wrote: Could you also remove (or correct) the line It needs libncurses.5.dylib and libgmp.3.dylib under /opt/local/lib/ for both Mac dists, because I've included gmp statically. Please also correct: My PowerPC dists works on Leopard only not on Tiger! Christian

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-24 Thread Christian Maeder
Ian Lynagh wrote: On Wed, Jul 22, 2009 at 11:35:07AM +0200, Christian Maeder wrote: Ian Lynagh wrote: == The (Interactive) Glasgow Haskell Compiler -- version 6.10.4

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-25 Thread Christian Maeder
Christian Maeder wrote: For some reason a ghc-mtl was built when compiling from source. Also haskeline-0.6.1.5, terminfo and test is no package later on. This test-1.0 package contains module A and was installed by test case cabal01(normal) that failed with the Syntax: tar {c|r|t|u|x} error

Re: more binary dists Re: ANNOUNCE: GHC version 6.10.4

2009-07-27 Thread Christian Maeder
Ian Lynagh wrote: On Fri, Jul 24, 2009 at 04:39:53PM +0200, Christian Maeder wrote: eval works, but abspath does not! Does make give the expected abspath error with this patch to testsuite/? Yes: -bash-3.00$ gmake mk/boilerplate.mk:12: *** Your make does not support abspath. You need GNU

Re: Haskell Platform 2009.2.0.2

2009-07-30 Thread Christian Maeder
Don Stewart wrote: Heads up lads, we're about 24 hours from Haskell Platform 2009.2.0.2 http://code.haskell.org/haskell-platform/haskell-platform.cabal I still see time ==1.1.2.4, although ghc-6.10.4 comes with: time-1.1.4

use gtar and not tar under solaris

2009-08-04 Thread Christian Maeder
Hi, I've just been informed that unpacking the binary (i386) solaris distribution using bunzip2 and tar: bunzip2 -c ghc-6.10.4-i386-unknown-solaris2.tar.bz2 | tar xvf - does not work properly! Use instead: gtar jxvf ghc-6.10.4-i386-unknown-solaris2.tar.bz2 File names longer than a hundred

  1   2   3   4   5   >