make_random_state broken for Maxima installed with Ecl
Subject: make_random_state broken for Maxima installed with Ecl
From: Oliver Kullmann
Date: Sun, 31 Aug 2008 17:43:07 +0100
On Fri, Aug 29, 2008 at 11:56:01AM -0400, Raymond Toy wrote:
> Oliver Kullmann wrote:
> >I have now the problem that I use make_random_state(0)
> >at quite a few places.
> >
> >So it seems I need to assemble my own Maxima package:
> > - the module "maxima" of the cvs repository is to be used?
> > - once I see on "Index of /maxima/src"
> >http://maxima.cvs.sourceforge.net/maxima/maxima/src/?sortby=date#dirlist
> > that the changes I'm looking for appeared, I have to
> > download the module "maxima", go into the 5.16.3 package
> > and replace all related entries there with the downloaded
> > ones?
>
> This is Lisp. You don't have to do that. For a quick fix, put the code
> below into a file, say, rand-fix.lisp. Then, in maxima, do
>
> :lisp (load "<path>/rand-fix.lisp")
>
> Then you'll have the fixed version. You may want to compile the file to
> make it run a little faster, like so:
>
> :lisp (load (compile-file "<path>/rand-fix.lisp"))
>
> You can put similar commands into maxima-init if you like.
>
> Ray
>
thanks, but it seems better to me to change the build:
This change is something temporary which concerns Maxima itself,
so the build-process seems the appropriate place to look at.
(I'm sceptical about "quick fixes", since I have to make them available
to all users of my library. And actually in my set-up changes
to the build-process are rather easy.)
The above question was also meant in more general terms: In the future
likely similar actions need to take place, and then I need to know
any way where to get the appropriate sources and how to
update the maxima-release-package.
Thanks!
Oliver