<div dir="ltr">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 </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 30, 2019 at 9:57 AM Simon Peyton Jones <<a href="mailto:simonpj@microsoft.com">simonpj@microsoft.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-GB">
<div class="gmail-m_-8654853563008895787WordSection1">
<p class="MsoNormal">Dear Cabal developers<u></u><u></u></p>
<p class="MsoNormal">More woe:<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">simonpj@MSRC-3645512:~$ cabal install lhs2tex<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">Resolving dependencies...<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">Up to date<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">cabal: installdir is not defined. Set it in your cabal config file or use<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">--installdir=<path><u></u><u></u></p>
<p class="MsoNormal">In the olden days, didn’t cabal install by default in ~/.cabal/bin?<u></u><u></u></p>
<p class="MsoNormal">Never mind, let’s do what it asks:<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">simonpj@MSRC-3645512:~$ cabal install lhs2tex --installdir=/usr/bin<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">Resolving dependencies...<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">Up to date<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">Symlinking 'lhs2TeX'<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">/usr/bin/lhs2TeX: createSymbolicLink: permission denied (Permission denied)<u></u><u></u></p>
<p class="MsoNormal">Darn: I need to be super-user. Fine:<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">simonpj@MSRC-3645512:~$ sudo cabal install lhs2tex --installdir=/usr/bin<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">[sudo] password for simonpj: <u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code">cabal: unrecognized 'install' option `--installdir=/usr/bin'<u></u><u></u></p>
<p class="MsoNormal">OK _<i>now</i>_ I really am stumped. It asked me to provide that option, and now it says it’s unrecognised.<u></u><u></u></p>
<p class="MsoNormal">(This is in a bash shell running in emacs, if it makes a difference.)<u></u><u></u></p>
<p class="MsoNormal">What next?<u></u><u></u></p>
<p class="MsoNormal">Thanks<u></u><u></u></p>
<p class="MsoNormal">Simon<u></u><u></u></p>
<p class="gmail-m_-8654853563008895787Code"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
cabal-devel mailing list<br>
<a>cabal-devel@haskell.org</a><br>
<a rel="noreferrer">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a><br>
</blockquote></div>