Package: yacas
Version: 1.3.6-1
Severity: important

Dear Maintainer,

After installing the yacas package, I ran it in order to try out some simple
examples from the tutorial.  However, nothing worked as expected.  The main
reason for this seems to be due to the program not finding its initialization
file, 'yacasinit.ys'.

Here is a sample session showing the incorrect behavior:

$ yacas
yacasinit.ys(1) : File not found

yacasinit.ys(1) : File not found

yacasinit.ys(1) : File not found

This is Yacas version '1.3.6'.
Yacas is Free Software--Free as in Freedom--so you can redistribute Yacas or
modify it under certain conditions. Yacas comes with ABSOLUTELY NO WARRANTY.
See the GNU General Public License (GPL) for the full conditions.
Type ?license or ?licence to see the GPL; type ?warranty for warranty info.
See http://yacas.sf.net for more information and documentation on Yacas.
Type ?? for help. Or type ?function for help on a function.

To exit Yacas, enter  Exit(); or quit or Ctrl-c.
Type 'restart' to restart Yacas.
To see example commands, keep typing Example();
In> 1+1
CommandLine(1) : Error parsing expression, near token +

In> N(Sin(1),20)
Out> N(Sin(1),20);
In> Exit()
Out> True;
Quitting...
$

To diagnose the problem, I ran the program under strace and discovered it was
trying to open the file "/usr/share/yacas/scripts/yacasinit.ys". However, that
file is actually installed as "/usr/share/yacas/yacasinit.ys".

As a workaround, I added a symlink:

$ sudo ln -s . /usr/share/yacas/scripts

After that, the program worked as normal.  Here are those example inputs and
outputs with the workaround in place:

In> 1+1
Out> 2
In> N(Sin(1),20)
Out> 0.84147098480789650665
In> Exit()
Out> True
Quitting...



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

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

Versions of packages yacas depends on:
ii  gnuplot                             4.6.6-3
ii  google-chrome-stable [www-browser]  48.0.2564.116-1
ii  iceweasel [www-browser]             44.0.2-1
ii  libc6                               2.21-9
ii  libgcc1                             1:5.3.1-8
ii  libstdc++6                          5.3.1-8
ii  w3m [www-browser]                   0.5.3-26
ii  yacas-doc                           1.3.6-1

yacas recommends no packages.

Versions of packages yacas suggests:
pn  texmacs  <none>

-- no debconf information

Reply via email to