
Dear, lazy programmers,
Please let me know the proper place to report lambdabot bugs,
and feel free to ignore the rest of message.
Are you still reading? In this case you may want to know that
*** I've successfully installed lambdabot with GHC 6.9! :) ***
Kudos to Cale & the IRC crowd for making my day
[http://tunes.org/~nef/logs/haskell/08.02.04].
Boring part:
$ darcs get http://code.haskell.org/lambdabot
$ cd lambdabot
$ runhaskell Setup configure --prefix=$HOME --user
$ runhaskell Setup build
$ touch LICENSE # see the patch attached
$ runhaskell Setup install
Interesting part:
$ lambdabot -e 'hoogle map'
Initialising plugins ...........Plugin.Djinn: couldn't find djinn binary
...........................sending message to bogus server:
IrcMessage {msgServer = "freenode", msgLBName = "urk!<outputmessage>",
msgPrefix = "", msgCommand = "NAMES", msgParams = [""]}
.................. done.
A Hoogle error occured.
Exception: all servers detached
exception:
State/seen: openBinaryFile: does not exist (No such file or directory)
$ hoogle map
Could not find hoogle database, looked for: hoogle.txt
In order to make `hoogle' binary usable, one should copy `hoogle.txt'
file to "$(dirname $(which hoogle))/" directory:
$ cp State/hoogle.txt ~/bin/ # FIXME
$ hoogle map
[...success...]
To my believe, it's a package's responsibility to copy data files to
proper locations (during `runhaskell Setup install' step).
And hoogle _plugin_ still doesn't work though.
$ lambdabot
Initialising plugins ...........Plugin.Djinn: couldn't find djinn binary
...........................sending message to bogus server:
IrcMessage {msgServer = "freenode", msgLBName = "urk!<outputmessage>",
msgPrefix = "", msgCommand = "NAMES", msgParams = [""]}
.................. done.
lambdabot> hoogle map
A Hoogle error occured.
lambdabot> lambdabot: user error (<eof>)
Exception: all servers detached
Thank you.
--
vvv
PS:
Tue Feb 5 18:38:55 EET 2008 "Valery V. Vorotyntsev"

valery.vv:
Dear, lazy programmers,
Please let me know the proper place to report lambdabot bugs, and feel free to ignore the rest of message.
Are you still reading? In this case you may want to know that *** I've successfully installed lambdabot with GHC 6.9! :) *** Kudos to Cale & the IRC crowd for making my day [http://tunes.org/~nef/logs/haskell/08.02.04].
Boring part:
$ darcs get http://code.haskell.org/lambdabot $ cd lambdabot $ runhaskell Setup configure --prefix=$HOME --user $ runhaskell Setup build $ touch LICENSE # see the patch attached $ runhaskell Setup install
You need to use the ./build script which builds all the programs, not just the cabal ones, and generates the extra files. -- Don

On 2/5/08, Valery V. Vorotyntsev
$ lambdabot -e 'hoogle map' Initialising plugins ...........Plugin.Djinn: couldn't find djinn binary ...........................sending message to bogus server: IrcMessage {msgServer = "freenode", msgLBName = "urk!<outputmessage>", msgPrefix = "", msgCommand = "NAMES", msgParams = [""]} .................. done. A Hoogle error occured. Exception: all servers detached exception: State/seen: openBinaryFile: does not exist (No such file or directory)
Sorry, Don, I still prefer cabal installation procedure to the ./build[1] script. Cabal way is cleaner and "sh ./build" didn't help with the error mentioned above. 1. http://code.haskell.org/lambdabot/build "lambdabot -e 'hoogle map'" works fine if there is `State' directory in $PWD. Workaround is to copy `State' to ~/bin/ and to define a function in .bashrc: lambdabot () { cd ~/bin ./lambdabot "$@" } Shouldn't lambdabot chdir(2) before accessing files from State/ directory? Thank you. -- vvv
participants (2)
-
Don Stewart
-
Valery V. Vorotyntsev