[CM] cm tries to recompile rt.lisp on startup?

Bill Sack bsack23@gmail.com
Tue, 8 Aug 2006 21:44:24 -0400


------=_Part_18613_19072954.1155087864427
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello rick,
i deleted the rt.x86f and .lisp files - then re-compiled cm

here are the times for the files:
[root@t0ast cm]# ls -l bin/cmucl_19c_linux-i686/rt.*
-rw-r--r--  1 root 10766 10240 Aug  8 21:39 bin/cmucl_19c_linux-i686/rt.x86f

[root@t0ast cm]# ls -l src/rt.*
-rw-r--r--  1 root  10766 1736 Aug  8 21:39 src/rt.lisp
-rw-r--r--  1 32593 10766 1559 Jun  1 03:33 src/rt.scm

here is the error message while loading cm/slime ['M-x cm' as reg user]:
Error in function LISP::DO-OLD-RENAME:
   File "/usr/local/lisp/cm/bin/cmucl_19c_linux-i686/rt.x86f" is not
writable.
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [CONTINUE] Try to rename it anyway.
  1: [RETRY   ] Retry performing #<ASDF:COMPILE-OP NIL {58BC881D}> on
                #<CM-SOURCE-FILE "rt" {58BC88C5}>.
  2: [ACCEPT  ] Continue, treating #<ASDF:COMPILE-OP NIL {58BC881D}> on
                #<CM-SOURCE-FILE "rt" {58BC88C5}> as having been successful.
  3:            Return NIL from load of
"/usr/local/lisp/cm/bin/../src/cm.lisp".
  4: [ABORT   ] Skip remaining initializations.

Debug  (type H for help)

(LISP::DO-OLD-RENAME "/usr/local/lisp/cm/bin/cmucl_19c_linux-i686/rt.x86f"

"/usr/local/lisp/cm/bin/cmucl_19c_linux-i686/rt.x86f.BAK")
Source: Error finding source:
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer
exists:
  target:code/fd-stream.lisp.
0]

whichever of these options i try, the connection to slime is never made.

thanks for the tip re: starting cm w/out slime.

-bill

On 8/8/06, Rick Taube <taube@uiuc.edu> wrote:
>
> hmm not sure why this is happening.
> try deleting the .fasl (somewhere under cm/bin) AND the .lisp file.
> that will re-generate and compile the file from the scheme sources.
> one that happens hopefull it wont try to recompile again.
> let me know if this fixes it please, else send me wha the file system
> things the write dates are of the files (.fasl, .lisp and .scm)
>
> On Aug 8, 2006, at 3:30 PM, Bill Sack wrote:
>
> > i can now start cm & slime in xemacs ... almost ...
> >  on startup, cm tries to recompile rt.lisp for some reason. when
> > running as normal user that fails since my cm directory is not
> > writable for normal users - i can successfully start cm as root from
> > emacs with 'M-x cm'
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>

------=_Part_18613_19072954.1155087864427
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello rick,<br>
i deleted the rt.x86f and .lisp files - then re-compiled cm<br>
<br>
here are the times for the files:<br>
[root@t0ast cm]# ls -l bin/cmucl_19c_linux-i686/rt.*<br>
-rw-r--r--&nbsp; 1 root 10766 10240 Aug&nbsp; 8 21:39 bin/cmucl_19c_linux-i686/rt.x86f<br>
<br>[root@t0ast cm]# ls -l src/rt.*<br>
-rw-r--r--&nbsp; 1 root&nbsp; 10766 1736 Aug&nbsp; 8 21:39 src/rt.lisp<br>
-rw-r--r--&nbsp; 1 32593 10766 1559 Jun&nbsp; 1 03:33 src/rt.scm<br>
<br>
here is the error message while loading cm/slime ['M-x cm' as reg user]:<br>
Error in function LISP::DO-OLD-RENAME:<br>
&nbsp;&nbsp; File &quot;/usr/local/lisp/cm/bin/cmucl_19c_linux-i686/rt.x86f&quot; is not writable.<br>
&nbsp;&nbsp; [Condition of type SIMPLE-ERROR]<br>
<br>
Restarts:<br>
&nbsp; 0: [CONTINUE] Try to rename it anyway.<br>
&nbsp; 1: [RETRY&nbsp;&nbsp; ] Retry performing #&lt;ASDF:COMPILE-OP NIL {58BC881D}&gt; on<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#&lt;CM-SOURCE-FILE &quot;rt&quot; {58BC88C5}&gt;.<br>
&nbsp; 2: [ACCEPT&nbsp; ] Continue, treating #&lt;ASDF:COMPILE-OP NIL {58BC881D}&gt; on<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#&lt;CM-SOURCE-FILE &quot;rt&quot; {58BC88C5}&gt; as having been successful.<br>
&nbsp;
3:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Return NIL from load of &quot;/usr/local/lisp/cm/bin/../src/cm.lisp&quot;.<br>
&nbsp; 4: [ABORT&nbsp;&nbsp; ] Skip remaining initializations.<br>
<br>
Debug&nbsp; (type H for help)<br>
<br>
(LISP::DO-OLD-RENAME &quot;/usr/local/lisp/cm/bin/cmucl_19c_linux-i686/rt.x86f&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot;/usr/local/lisp/cm/bin/cmucl_19c_linux-i686/rt.x86f.BAK&quot;)<br>
Source: Error finding source: <br>
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:&nbsp; Source file no longer exists:<br>
&nbsp; target:code/fd-stream.lisp.<br>
0] <br>
<br>
whichever of these options i try, the connection to slime is never made.<br>
<br>
thanks for the tip re: starting cm w/out slime.<br>
<br>
-bill<br>
<br><div><span class="gmail_quote">On 8/8/06, <b class="gmail_sendername">Rick Taube</b> &lt;<a href="mailto:taube@uiuc.edu">taube@uiuc.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hmm not sure why this is happening.<br>try deleting the .fasl (somewhere under cm/bin) AND the .lisp file.<br>that will re-generate and compile the file from the scheme sources.<br>one that happens hopefull it wont try to recompile again.
<br>let me know if this fixes it please, else send me wha the file system<br>things the write dates are of the files (.fasl, .lisp and .scm)<br><br>On Aug 8, 2006, at 3:30 PM, Bill Sack wrote:<br><br>&gt; i can now start cm &amp; slime in xemacs ... almost ...
<br>&gt;&nbsp;&nbsp;on startup, cm tries to recompile rt.lisp for some reason. when<br>&gt; running as normal user that fails since my cm directory is not<br>&gt; writable for normal users - i can successfully start cm as root from
<br>&gt; emacs with 'M-x cm'<br><br>_______________________________________________<br>Cmdist mailing list<br><a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist">
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br></blockquote></div><br>

------=_Part_18613_19072954.1155087864427--