problem with unix package

Frederik Eaton frederik at a5.repetae.net
Fri Apr 20 06:52:50 EDT 2007


As for using the 6.6.x branch rather than HEAD, how should I modify
these commands to do that? Presumably with some kind of --tag option
to darcs? (how do I list the tags?)

#!/bin/sh
darcs get --partial http://darcs.haskell.org/ghc
cd ghc
chmod +x darcs-all
./darcs-all --extra get
cd ..
mkdir ghcbuild
cd ghcbuild
lndir ../ghc
autoreconf
sh boot
./configure
make
su -c 'make install'

Also, is there a way to get only the unix package and not all of ghc?
For instance, can I not use this repository somehow?:

http://darcs.haskell.org/packages/unix/

Also, how many other people are affected by the bug in unix? I am
wondering why not just make another release of the package to fix the
bug, so that the version which is provided as a .tar.gz for download
is not buggy. Surely the release process is automated...

Thanks for your continuing help,

Frederik

On Fri, Apr 20, 2007 at 09:54:16AM +1000, Duncan Coutts wrote:
> On Thu, 2007-04-19 at 15:30 +0100, Frederik Eaton wrote:
> > Hello Stefan,
> > 
> > Thanks for your reply. Now I have found a repository here, is this the
> > right one?
> > 
> > http://darcs.haskell.org/packages/unix/
> > 
> > However, it doesn't build for me:
> > 
> > $ darcs get --partial http://darcs.haskell.org/packages/unix/
> > ...
> > $ cas configure --user --prefix=$HOME && cas build && cas install --user
> > 
> > Setup.hs:17:30:
> >     Couldn't match expected type `UserHooks'
> >            against inferred type `Maybe UserHooks'
> 
> It would be much easier for you to use the GHC 6.6.x branch rather than
> trying to use the HEAD branch which as you can see depends on
> development versions of various other things (including in this case a
> development version of cabal).
> 
> Or as was suggested as an temporary workaround just compile your code
> -fvia-C and then load it up in GHCi.
> 
> Duncan
> 


More information about the Libraries mailing list