Thanks for reporting. I was trying to use the C library to avoid problems with permissions, but it seems we are not allowed :-/ Does anybody here have a better implementation of rename-file that could handle this? There is no way in C to know whether files live in the same or different filesystems!<div>
<br></div><div>Regarding the .cache stuff, this belongs to ASDF-devel or some other forum, but I fear it is a hardcoded decision based on some Unix-world standard.</div><div><br></div><div>Juanjo<br><br><div class="gmail_quote">
On Wed, Apr 14, 2010 at 8:39 AM, Nils Bruin <span dir="ltr"><<a href="mailto:nbruin@cecm.sfu.ca">nbruin@cecm.sfu.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When trying to build Maxima as a package rather than as a stand-alone<br>
executable using the commands:<br>
<br>
(require 'asdf)<br>
(load "maxima-build.lisp")<br>
(asdf:make-build :maxima :type :fasl :move-here ".")<br>
<br>
on ECL 10.4.1, I received the following error:<br>
<br>
Cannot rename the file<br>
#P"/home/nbruin/.cache/common-lisp/ecl-10.4.1-linux-x86-64/usr/local/sage/4.3.4/spkg/build/maxima-5.20.1/src/src/maxima.fasb"<br>
to #P"/usr/local/sage/4.3.4/spkg/build/maxima-5.20.1/src/src/maxima.fasb".<br>
Explanation: Invalid cross-device link.<br>
<br>
So it seems to me that ECL is trying to do exactly the right thing, but is<br>
failing because it is trying to move via a hard-link, which is not allowed<br>
between different file-systems.<br>
<br>
Incidentally, is there a way to park the ".cache" somewhere else than in<br>
the homedir? I'd prefer it in "/tmp" myself, because that is usually a<br>
much faster filesystem than /home.<br>
<br>
Cheers,<br>
<br>
Nils<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel® Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>
</div>