<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:·s²Ó©úÅé
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font size="3" style="font-size:12pt;" color="#000000">Hi,</font><div><br></div><div>i meet &nbsp;error &nbsp;can not find &nbsp;agda2-mode when install again,</div><div><br></div><div>then &nbsp;i &nbsp;follow &nbsp;link &nbsp;below</div><div><br></div><div><a href="http://www.cse.chalmers.se/~ulfn/darcs/Agda2/_darcs/pristine-old/src/full/Interaction/emacs-mode/README-agda2-mode.txt" target="_blank">http://www.cse.chalmers.se/~ulfn/darcs/Agda2/_darcs/pristine-old/src/full/Interaction/emacs-mode/README-agda2-mode.txt</a><br><div><font size="3" style="font-size:12pt;" color="#000000"><br></font></div><div><font color="#000000"><div>martin@ubuntu:~/agda/agda-2.4.2.3$ agda --version</div><div>Agda version 2.4.2.3</div><div style="font-size: 12pt;"><br></div><div style="font-size: 12pt;">and &nbsp;download &nbsp;<a href="https://github.com/emacs-pe/agda2-mode" target="_blank" style="font-size: 12pt;">https://github.com/emacs-pe/agda2-mode</a></div><div style="font-size: 12pt;"><br></div><div style="font-size: 12pt;">to &nbsp;ubuntu 12 , &nbsp;but &nbsp;it can not &nbsp;compile &nbsp;since do not have &nbsp;cask even if &nbsp;apt-get &nbsp;update</div><div style="font-size: 12pt;"><br></div><div style="font-size: 12pt;"><div style="font-size: 12pt;">martin@ubuntu:~/agda/agda2-mode/agda2-mode$ make</div><div style="font-size: 12pt;">/bin/sh: 1: cask: not found</div><div style="font-size: 12pt;">make: cask: Command not found</div><div style="font-size: 12pt;">make: Nothing to be done for `build'.</div><div style="font-size: 12pt;">martin@ubuntu:~/agda/agda2-mode/agda2-mode$ sudo apt-get install cask</div><div style="font-size: 12pt;">Reading package lists... Done</div><div style="font-size: 12pt;">Building dependency tree &nbsp; &nbsp; &nbsp;&nbsp;</div><div style="font-size: 12pt;">Reading state information... Done</div><div style="font-size: 12pt;">E: Unable to locate package cask</div><div style="font-size: 12pt;">martin@ubuntu:~/agda/agda2-mode/agda2-mode$&nbsp;</div></div></font><font color="#000000"><div style="font-size: 12pt;"><br></div><div style="font-size: 12pt;">then i &nbsp; gedit &nbsp;~/.emacs</div><div style="font-size: 12pt;"><br></div><div style="font-size: 12pt;"><div style="font-size: 12pt;">(add-to-list 'load-path "/home/martin/agda/agda2-mode/agda2-mode/")</div><div style="font-size: 12pt;">(autoload 'agda2-mode "agda2-mode" "Agda2 mode." t)</div><div style="font-size: 12pt;">(add-to-list 'auto-mode-alist '("\\.l?agda$" . agda2-mode))</div></div><div style="font-size: 12pt;"><br></div><div style="font-size: 12pt;">and then &nbsp;load-library &nbsp;in &nbsp;emacs &nbsp; and &nbsp;agda2-mode again, it return &nbsp;no &nbsp;cl-lib, &nbsp;then &nbsp;i &nbsp;create cl-lib.el &nbsp;in &nbsp;<span style="font-size: 12pt;">/home/martin/agda/agda2-mode/agda2-mode/</span></div></font><font color="#000000"><div style="font-size: 12pt;"><br></div><div style="font-size: 12pt;"><a href="http://stackoverflow.com/questions/20678847/cannot-load-cl-lib-at-emacs-startup" target="_blank">http://stackoverflow.com/questions/20678847/cannot-load-cl-lib-at-emacs-startup</a></div></font><div><br></div><a href="https://github.com/emacs-mirror/emacs/blob/master/lisp/emacs-lisp/cl-lib.el" target="_blank">https://github.com/emacs-mirror/emacs/blob/master/lisp/emacs-lisp/cl-lib.el</a><br><br>then &nbsp;it &nbsp;return &nbsp;error &nbsp;emacs symbol's function definition is void&nbsp;<br><br><div>Regards,</div><div><br></div><div>Martin&nbsp;</div></div></div>                                               </div></body>
</html>