lambdabot setup

Valery V. Vorotyntsev valery.vv at gmail.com
Wed Feb 6 11:43:41 EST 2008


On 2/5/08, Valery V. Vorotyntsev <valery.vv at gmail.com> wrote:
>   $ 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


More information about the Libraries mailing list