hey simon, on gmail your email seems to be marked as spam, i'm not sure if its the mailing list side or your email account ... fyi 

On Thu, May 30, 2019 at 9:57 AM Simon Peyton Jones <simonpj@microsoft.com> wrote:

Dear Cabal developers

More woe:

simonpj@MSRC-3645512:~$ cabal install lhs2tex

Resolving dependencies...

Up to date

cabal: installdir is not defined. Set it in your cabal config file or use

--installdir=<path>

In the olden days, didn’t cabal install by default in ~/.cabal/bin?

Never mind, let’s do what it asks:

simonpj@MSRC-3645512:~$ cabal install lhs2tex --installdir=/usr/bin

Resolving dependencies...

Up to date

Symlinking 'lhs2TeX'

/usr/bin/lhs2TeX: createSymbolicLink: permission denied (Permission denied)

Darn: I need to be super-user.  Fine:

simonpj@MSRC-3645512:~$ sudo cabal install lhs2tex --installdir=/usr/bin

[sudo] password for simonpj:

cabal: unrecognized 'install' option `--installdir=/usr/bin'

OK _now_ I really am stumped.  It asked me to provide that option, and now it says it’s unrecognised.

(This is in a bash shell running in emacs, if it makes a difference.)

What next?

Thanks

Simon

 

_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel