axiom-source: SPADEDIT command not present, axiom passes wrong path, some .spad missing.

Karl Hegbloom karlheg at pdx.edu
Sun Mar 12 22:54:01 UTC 2006


Package: axiom-source
Version: 20050901-4ubuntu1
Severity: normal

When I click on a link to a spad file in the hyperdoc, it prints an
error message about a program called
/usr/lib/axiom-20050901/lib/SPADEDIT not being present.  I went ahead
and created one.  It gets passed two arguements, eg:

 SPADEDIT /usr/lib/axiom-20050901/../../src/algebra/ES.spad \
            ExpressionSpace

The script attempts to open that file now, but cannot, since the file is
not present.  I had to munge the path passed to the script also, as you
can see here:

#!/bin/sh
SPADFILE=$1
SPADFILE=${SPADFILE#/usr/lib/axiom-20050901/../../}
exec /usr/bin/gedit /usr/share/axiom-20050901/$SPADFILE
exit 1

It would be nice if all of the spad files are shipped with the source,
and to have at least read-only access to them via the hyperdoc.

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-security
  APT policy: (625, 'dapper-security'), (610, 'dapper-updates'), (600, 'dapper'), (450, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-18-amd64-k8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

-- no debconf information




More information about the ubuntu-users mailing list