Could not find maxima-index.lisp




On Sat, 19 Feb 2011, Marco Rofei wrote:

< 
<  :lisp (print-directories)
< 
< 
< (%i2) :lisp (print-directories);
< maxima-prefix=/usr
< maxima-imagesdir=/usr/lib/maxima/5.23.2/binary-sbcl
< maxima-sharedir=/usr/share/maxima/5.23.2/share
< maxima-srcdir=/usr/share/maxima/5.23.2/src
< maxima-demodir=/usr/share/maxima/5.23.2/demo
< maxima-testsdir=/usr/share/maxima/5.23.2/tests
< maxima-docdir=/usr/share/maxima/5.23.2/doc
< maxima-infodir=/usr/share/info
< maxima-htmldir=/usr/share/maxima/5.23.2/doc/html
< maxima-plotdir=/usr/lib/maxima/5.23.2
< maxima-layout-autotools=T
< maxima-userdir=/home/maegras/.maxima
< maxima-tempdir=/home/maegras
< maxima-lang-subdir=NIL
< maxima-objdir=/home/maegras/.maxima/binary/binary-sbcl
< NIL
< (%i2)
< 
<  and in a shell could you enter
<  ls /usr/local/share/info
< 
< 
< Dir does not exist
< 
< I've installed maxima frop Ubuntu-ppa
 
 Ok, the configuration of Maxima and its installation are inconsistent.
 It appears that Istvan Blahota has chosen 

 /usr/share/doc/maxima-doc/

 as the doc directory and the maxima-infodir is

 /usr/share/doc/maxima-doc/info/info

 What you can do to fix this is to execute the following in a shell

 [ -d ~/.maxima ] || mkdir ~/.maxima   #make the .maxima dir

 And with your favourite text editor, open ~/.maxima/maxima-init.lisp and
 add


:lisp (setq *maxima-docdir* "/usr/share/doc/maxima-doc/")
:lisp (setq *maxima-infodir* (concatenate 'string *maxima-docdir* "info/")
:lisp (setq *maxima-htmldir* (concatenate 'string *maxima-docdir* "html/")

Restart Maxima and this file should be autoloaded and the correct
directories set.

Note that the other directories are printed above are likely incorrect
and will need to be set. You can find where these directories are by
looking in /var/lib/dpkg/info/ and looking  in the various maxima*.list
files that list all the files that are installed by the given package.

Leo

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