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!

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.


On Wed, Apr 14, 2010 at 8:39 AM, Nils Bruin <> wrote:
When trying to build Maxima as a package rather than as a stand-alone
executable using the commands:

(require 'asdf)
(load "maxima-build.lisp")
(asdf:make-build :maxima :type :fasl :move-here ".")

on ECL 10.4.1, I received the following error:

Cannot rename the file
to #P"/usr/local/sage/4.3.4/spkg/build/maxima-5.20.1/src/src/maxima.fasb".
Explanation: Invalid cross-device link.

So it seems to me that ECL is trying to do exactly the right thing, but is
failing because it is trying to move via a hard-link, which is not allowed
between different file-systems.

Incidentally, is there a way to park the ".cache" somewhere else than in
the homedir? I'd prefer it in "/tmp" myself, because that is usually a
much faster filesystem than  /home.



Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
Ecls-list mailing list

Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)