so, after
I did a bit more checking and I can see in ~/.cabal only config.platform and config files. No bin folder.I just did a fresh haskell package install. After that I run:mac-2:.cabal miro$ cabal -Vcabal-install version 0.14.0using version 1.14.0 of the Cabal librarymac-2:.cabal miro$ cabal updateDownloading the latest package list from hackage.haskell.orgNote: there is a new version of cabal-install available.To upgrade, run: cabal install cabal-installmac-2:.cabal miro$ cabal install cabal-installResolving dependencies............Installing executable(s) in/Users/miro/Library/Haskell/ghc-7.4.2/lib/cabal-install-1.16.0.2/binUpdating documentation index /Users/miro/Library/Haskell/doc/index.htmlmac-2:.cabal miro$ cabal -Vcabal-install version 0.14.0mac-2:.cabal miro$ ls ~/.cabalconfig config.platformmac-2:bin miro$ cd /Library/Haskell/binmac-2:bin miro$ ls -ltotal 5712lrwxr-xr-x 1 miro wheel 26 Mar 27 10:17 alex -> ../lib/alex-3.0.2/bin/alexlrwxr-xr-x 1 miro wheel 10 Mar 27 10:17 cabal -> cabal.wraplrwxr-xr-x 1 miro wheel 37 Mar 27 10:17 cabal.real -> ../lib/cabal-install-0.14.0/bin/cabal-rwxr-xr-x 1 root admin 4328 Nov 5 03:44 cabal.wraplrwxr-xr-x 1 miro wheel 30 Mar 27 10:17 happy -> ../lib/happy-1.18.10/bin/happy-rwxr-xr-x 1 root admin 1295976 Nov 5 03:44 patch-ghc-settings-rwxr-xr-x 1 root admin 1598500 Nov 5 03:44 uninstall-hsso it seems that the cabal update does not update the link in bin,...this should be working, or? Do I need to always update the link after each new version of cabal?
m.On Wed, Mar 27, 2013 at 7:49 AM, Miro Karpis <miroslav.karpis@gmail.com> wrote:
many thanks, but this is my output:mac-2:~ miro$ cd $HOME/.cabal/bin-bash: cd: /Users/miro/.cabal/bin: No such file or directorymac-2:~ miro$cheers,m.On Wed, Mar 27, 2013 at 7:44 AM, Emmanuel Touzery <etouzery@gmail.com> wrote:
Hello,emmanuel
On linux and windows I add this folder to the path and then it works:
$HOME/.cabal/binOn Wed, Mar 27, 2013 at 7:16 AM, Miro Karpis <miroslav.karpis@gmail.com> wrote:
_______________________________________________please, can you help me with following. I have installed haskell on mac from the package. When I check cabal -V I can see 1.14.0That is because the cabal is loading from /Library/Haskell/bin.After that I run 'cabal install cabal-install', I get following output:
Installing executable(s) in/Users/miro/Library/Haskell/ghc-7.4.2/lib/cabal-install-1.16.0.2/binUpdating documentation index /Users/miro/Library/Haskell/doc/index.htmlSo the new version of cabal is installed in another place. When I install new package via cabal, it uses the 1.14.0 version. I have tried to copy the new 1.16.0.2 version to bin, but that just didn't help because the new packages have been installed somewhere else.Please what is the proper way to fix this?many thanks,miro
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners