[Maxima] package "affine"
raymond.toy at ericsson.com
Fri Dec 19 12:50:16 CST 2008
>>>>> "Andreas" == Andreas Eder <andreas_eder at gmx.net> writes:
Andreas> Hi Raymond,
>>>>> "Raymond" == Raymond Toy <raymond.toy at ericsson.com> writes:
Raymond> We no longer compile the files; we just load them. This was changed
Raymond> so that maxima wouldn't need write permission.
Andreas> I think that if it works only by loading but not with compiling
Andreas> then that is a bug we should fix.
What? The current code works when compiled but not loaded, due to an
eval-when situation where a function is not defined when loading.
Raymond> Or modify affine.system so the compiled files go into a place where we
Raymond> *know* we can write. Either /tmp or, maybe. the directory where the
Raymond> user's maxima-init.lisp file would go.
Yes, this has been mentioned before. I haven't made such a change
because I wasn't sure if *maxima-tempdir* was the correct place on all
platforms. If it is, then this is the way to go.
If there's enough time, then I'll make this change for the release.
Andreas> We could e.g. just change the :binary-pathname in the system
Andreas> definition in affine.system from
Andreas> (combine-path *maxima-affinedir* (concatenate 'string "binary-" *maxima-lispname*))
Andreas> (combine-path *maxima-tempdir* (concatenate 'string "binary-"*maxima-lispname*))
Probably want to add the directory too, in case we start making all
defsystems go in the same place.
Andreas> Besides that, I think affine really needs an overhaul. For example
Andreas> it still uses sloop instead of loop. Maybe I find some time over
Andreas> Christmas to change that :-)
Removing sloop would be nice! (Not that I know loop any better than sloop.)
(But maybe not for the release?)
More information about the Maxima