Building maxima on Darwin



There is already a maxima package on fink (in unstable), based on the 
5.9 prerelease in cvs from a while ago, which I had packaged into a 
tarball for fink. Also, I have successfully built 5.9.0rc1 on Mac OSX, 
but there is a problem with packaging if for fink, which is that fink 
builds the package in a build directory, then installs it in a 
different directory, and the configuration and make process for maxima 
is set up in such a way that the final installed binaries have the 
incorrect prefix. I managed to solve this for the 5.9 prerelease, but 
my fix is currently broken for 5.9.0rc1, which is why I have not yet 
updated the fink package.

I have been meaning for a while to formulate a precise version of the 
problem and submit it to this list. Roughly speaking, what one wants is 
that the "prefix" variable remain a variable until the install phase, 
so that when you make install you can set it then. Currently it gets 
hard coded in at the build phase, so that you can't change it when you 
do "make install". This is fine for a manual installation (where the 
prefix is the same in both cases), but causes problem for a package 
manager like fink.

I'll try to send more details later tonight. If you look at the .info 
file for maxima in fink, which you should have in your unstable tree, 
you will see what I had to do to solve the problem. I welcome advice, I 
am a novice at this.


Regards,
		Bill McCallum

On Wednesday, October 9, 2002, at 04:00  PM, Kevin Walker wrote:

> Hi.
>
> I'm interested in creating a package to build and install maxima on 
> Darwin/MacOS X.  (See http://fink.sourceforge.net) The 5.9.0rc1 
> tarball does not work on Darwin (I can provide details if you like), 
> but the CVS source builds just fine.
>
> So, my questions are:
>
> * Will there be a 5.9.0rc2 version of maxima on sourceforge any time 
> soon?
>
> * If not, does anyone know how to patch 5.9.0rc1 so that it builds on 
> Darwin?
>
> If this is not the appropriate email list for these questions, please 
> accept my apologies and direct me to the correct forum.
>
> Kevin
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
(520) 621 6697
http://www.math.arizona.edu/~wmc