Haddock won't build on 6.8.1

2007-12-17 Thread Deborah Goldsmith

I see this:

$ runhaskell ./Setup.lhs build
Preprocessing executables for haddock-0.8...
shift/reduce conflicts:  5
Building haddock-0.8...

src/Main.hs:49:7:
Could not find module `System.Directory':
  it is a member of package directory-1.0.0.0, which is hidden

Any ideas?

Thanks,
Deborah

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Haddock won't build on 6.8.1

2007-12-17 Thread Philip Weaver
You probably need to add 'directory' to the depends in the .cabal file.

- Phil

On Dec 17, 2007 2:27 PM, Deborah Goldsmith [EMAIL PROTECTED] wrote:

 I see this:

 $ runhaskell ./Setup.lhs build
 Preprocessing executables for haddock-0.8...
 shift/reduce conflicts:  5
 Building haddock-0.8...

 src/Main.hs:49:7:
 Could not find module `System.Directory':
   it is a member of package directory-1.0.0.0, which is hidden

 Any ideas?

 Thanks,
 Deborah

 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Haddock won't build on 6.8.1

2007-12-17 Thread Duncan Coutts

On Mon, 2007-12-17 at 14:27 -0800, Deborah Goldsmith wrote:
 I see this:
 
 $ runhaskell ./Setup.lhs build
 Preprocessing executables for haddock-0.8...
 shift/reduce conflicts:  5
 Building haddock-0.8...
 
 src/Main.hs:49:7:
  Could not find module `System.Directory':
it is a member of package directory-1.0.0.0, which is hidden
 
 Any ideas?

We're waiting for a release of haddock 0.9 in the mean time you could
patch it:

# Cabal 1.2 expects the pre-processed sources in a different location:
mkdir -p dist/build/haddock/haddock-tmp
cp src/HaddockLex.hs src/HaddockParse.hs src/HsParser.hs 
dist/build/haddock/haddock-tmp/

# Add in the extra split-base deps
sed -i -e '/build-depends:/a \
  ,array, containers, directory, pretty, process' haddock.cabal

Taken from:
http://haskell.org/~gentoo/gentoo-haskell/dev-haskell/haddock/haddock-0.8.ebuild

Duncan

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users