Re: [Haskell-cafe] Creating a local Hoogle ...

2013-09-23 Thread John Wiegley
 aditya siram aditya.si...@gmail.com writes:

 Combining 4263 databases hoogle: embroidery.hoo: openFile: resource
 exhausted (Too many open files)

 Any help is appreciated. Thanks!

I created the 'rehoo' utility to solve this very problem.  Change directory to
where your .hoo files are, and run:

rehoo -j4 -c64 .

Where 4 is for a 4-core machine.

-- 
John Wiegley
FP Complete Haskell tools, training and consulting
http://fpcomplete.com   johnw on #haskell/irc.freenode.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Creating a local Hoogle ...

2013-09-21 Thread aditya siram
Hi all,
I've installed Hoogle but am having issues creating the databases. I first
did: `hoogle data all`, tried a search `hoogle [a] - a and got:
Could not find some databases: default
Searching in:
  .
~/.cabal/share/hoogle-4.2.21/databases

Either the package does not exist or has not been generated
Found 4263 databases, including: abacate abcnotation abortt-monadstf
abortt-mtl abortt-transformers

So to create th default database I did: `hoogle combine *.hoo` and then got:
Combining 4263 databases
hoogle: embroidery.hoo: openFile: resource exhausted (Too many open files)

Any help is appreciated. Thanks!

-deech
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe