--- Log opened Thu Apr 16 00:00:26 2009
09:21 < zachk> ok i have cabal working. cabal install of happs-tutorial fails missing haskell-src-exts
09:21 < zachk> says i need happy >= 1.17
09:21 < zachk> i have happy 1.18.2 installed by hand
09:21 < zachk> haskell-src-exts still wont install
09:21 < zachk> what should i do
09:22 < zachk> other then go play in traffic :-/
09:23 < TheRealMarko> zachk: try putting the .cabal/bin directory in your path
09:23 < zachk> ok thx
09:53 < zachk> put .cabal/bin in my path still not working :-/
09:56 < TheRealMarko> :-(
09:56 < Saizan_> zachk: does "happy --version" works at your shell?
09:56 < zachk> yes
09:56 < Saizan_> zachk: and are you using cabal with the same user?
09:57 < zachk> not sure
09:57 < zachk> it doesnt work from root
09:57 < Saizan_> yeah, you shouldn't run cabal from root
09:57 < Saizan_> how do you run it?
09:58 < Saizan_> however you can pass it --with-happy=path/to/happy to override the searching mechanism
10:03 < zachk> got it
10:04 < zachk> chown username /filepath/to/cabal
10:04 < zachk> thank you
10:05 < Saizan_> can you explain what that did?
10:06 < zachk> well i am on ubuntu. i modifed my login script (.bashrc) to have PATH="$PATH:~/.cabal/bin"
10:06 < zachk> then i changed the owner of my cabal binary to my user geist
10:06 < zachk> i think it was running as root before
10:06 < Saizan_> ah no
10:07 < Saizan_> the problem is that .bashrc affects only new shells, the owner of the binary doesn't influence under which user the process is run
10:07 < zachk> well it works now. but i am getting a different error
10:07 < Saizan_> being?
10:08 < zachk> its erroring on a shared library for zlib
10:09 < Saizan_> can you paste the error on a pastebin?
10:09 < zachk> gimme a pastebin the only one i know is hpaste.org and it seems to be down
10:10 < Saizan_> http://pastebin.com/ <- google helps
10:10 < zachk> hehe ty
10:11 < zachk> http://pastebin.com/mfba4d68
10:12 < TheRealMarko> do you have zlib installed?
10:13 < Saizan_> zachk: i guess on your system libz.so is a linker script, and the ghci linker doesn't handle those.
10:13 < zachk> im on ubuntu intrepid
10:14 < zachk> so how do i work around it
10:14 < Saizan_> zachk: you probably have a real shared object file too, you should make libz.so into a symlink to it
10:15 < TheRealMarko> lrwxrwxrwx 1 root root 15 2008-10-30 17:06 /usr/lib/libz.so -> libz.so.1.2.3.3
10:15 < TheRealMarko> ^- on my system
10:18 < zachk> k i think i got through the error
10:18 < zachk> there was a symbolic link called libz.so.1 but not one for libz.so
10:18 < zachk> so i made it and cabal is chugging away now
10:18 < TheRealMarko> cool :)
10:19 < zachk> yay succesfully installed
10:29 < zachk> geist@hivemind:~/.cabal/bin$ ./happs-tutorial  5001 True True
10:29 < zachk> happs-tutorial: templates: changeWorkingDirectory: does not exist (No such file or directory)
10:29 < zachk> now what...
10:30 < trin_cz> you have to run it from directory of happs-tutorial
10:30 < trin_cz> best way is to copy the package from .cabal somewhere else
10:32 < zachk> how do i setup a happs-tutorial directory?
10:32 < trin_cz> unpack ~/.cabal/packages/hackage.haskell.org/happs-tutorial/0.8.1/happs-tutorial-0.8.1.tar.gz
--- Log closed Fri Apr 17 00:00:28 2009