[patch] Fix infodir path




On Wed, 18 May 2011, Jeroen Demeyer wrote:

< Dear Maxima developers,
< 
< The Sage project (http://www.sagemath.org/) includes Maxima and needs a
< patch for Maxima 5.23.2 to fix the "infodir" path.  In some cases, the
< "infodir" is set to $MAXIMA_PREFIX/info instead of
< $MAXIMA_PREFIX/share/info which means that some files cannot be found.
< 
< This is in particular an issue when the location of the Maxima
< installation is changed after the installation.

I'd be surprised if this is the only thing broken when
you move the installation, to be honest. 

Is moving the installation a standard practice? I think
maxima's build scripts treat the installation location as
known at install time.

< 
< I attach a patch to fix this issue, see also
< http://trac.sagemath.org/sage_trac/ticket/11348

I have a few questions:
-does maxima find the info files when it is in its
original install location?
-does sage set MAXIMA_PREFIX before launching maxima?

Leo

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.