Installation failed

Carter Schonwald carter.schonwald at gmail.com
Thu May 30 19:48:52 UTC 2019


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 at microsoft.com>
wrote:

> Dear Cabal developers
>
> More woe:
>
> simonpj at 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 at 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 at 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 at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/cabal-devel/attachments/20190530/3543b28c/attachment.html>


More information about the cabal-devel mailing list