Re: [Haskell-cafe] Cabal-install prefix
On 22 September 2010 15:55, N. Raghavendra wrote: > I am new to Haskell, and am trying to install a package (scan) using > cabal-install. I want it to install all files under the directory > ${HOME}/nonvc, like in ~/nonvc/share and ~/nonvc/bin. So I specified > > install-dirs user > -- prefix: /home/raghu/nonvc In Haskell, -- is the start of a single-line comment (like // in Java), and cabal-install has taken that for its configuration file (rather than # like in most config files). So remove the -- from the front of the line to get it working. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Cabal-install prefix
I am new to Haskell, and am trying to install a package (scan) using cabal-install. I want it to install all files under the directory ${HOME}/nonvc, like in ~/nonvc/share and ~/nonvc/bin. So I specified install-dirs user -- prefix: /home/raghu/nonvc in ~/.cabal/config. But when I do `cabal install scan', it still installs the files in ~/.cabal/bin and ~/.cabal/share. How do I make cabal install these files in ~/nonvc? Thanks and regards, Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe