Package: maxima
Version: 5.37.3-1
Severity: normal

When asking maxima for help, it tries to find info files like
/usr/share/doc/maxima/info/./maxima.info-1.

Here is an example:

$ maxima

  Maxima 5.37.3 http://maxima.sourceforge.net
  using Lisp GNU Common Lisp (GCL) GCL 2.6.12
  Distributed under the GNU Public License. See the file COPYING.
  Dedicated to the memory of William Schelter.
  The function bug_report() provides bug reporting information.
  (%i1) ??binomial;

   0: binomial  (Combinatorial Functions)
   ... [stuff snipped]
   18: var_negative_binomial  (Functions and Variables for discrete 
distributions)
  Enter space-separated numbers, `all' or `none': 0

  Maxima encountered a Lisp error:

   Condition in MACSYMA-TOP-LEVEL [or a callee]: INTERNAL-SIMPLE-ERROR: Cannot 
open the file /usr/share/doc/maxima/info/./maxima.info-1.

  Automatically continuing.
  To enable the Lisp debugger set *debugger-hook* to nil.

The info files are actually in /usr/share/info

  $ ls /usr/share/info/maxima*
  /usr/share/info/maxima.info-1.gz  /usr/share/info/maxima.info-3.gz
  /usr/share/info/maxima.info-2.gz  /usr/share/info/maxima.info.gz

and are put there by maxima-doc:

  $ dpkg -S /usr/share/info/maxima.info-1.gz 
  maxima-doc: /usr/share/info/maxima.info-1.gz

Making symlinks fixes it:

  # cd /usr/share/doc/maxima/info
  # ln -s /usr/share/info/maxima.info-1.gz
  etc.

-Sanjoy


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages maxima depends on:
ii  libc6         2.21-9
ii  libgmp10      2:6.1.0+dfsg-2
ii  libreadline6  6.3-8+b4
ii  libx11-6      2:1.6.3-1

Versions of packages maxima recommends:
ii  gnuplot-x11   4.6.6-3
ii  maxima-share  5.37.3-1

Versions of packages maxima suggests:
ii  maxima-doc    5.37.3-1
ii  maxima-emacs  5.37.3-1
pn  texmacs       <none>
ii  tk [wish]     8.6.0+9
pn  xmaxima       <none>

-- no debconf information

Reply via email to