January 2020

Hi,

I have the same error bug 1602941 Draw cannot be loaded in Ubuntu Xenial 16.04. 
Maxima and vxMaxima gives the error when I tried to load(draw) after update the 
SO to 16.04.

The intensive internet search find the solution, in my case, here in
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1602941

The contribution made by ernesto(ernesto-bosch) in 2018-08-12 gives the
solution. I follow the second method b.1) and b.2)), it's fast, clean
and works for me.

Thanks Ernesto!!!  ¡¡¡Un millón de gracias Ernesto!!!

Sorry but I find an omission, a missing subdirectoy /share, following
/5.37.2 in his path.

In my case the complete path is:

/usr/share/maxima/5.37.2/share/draw/draw.lisp

But the idea is clear, edit the file draw.lisp to change the directives
to load gcl by using the maxima-load-pathname-directory

This is what I do following Ernesto recomendations.

Close any maxima/vxmaxima active sesion.

So first using gedit as root to copy the original file draw.lisp and
make a backup as draw old.lisp(just in case you needs reverse the
procedure).

Then edit draw.lisp to change, delete the lines #-gcl *load-pathname*
                                                #+gcl sys:*load-pathname*
and replace with (maxima-load-pathname-directory). Be careful and check the 
matching ()!!! before quit and save.

Then I invoke vxmaxima/maxima and load(descriptive), because this
package needs a lot of graphics and load(draw).

It compile the files :
Compiling /usr/share/maxima/5.37.2/share/draw/grcommon.lisp.
Compiling /usr/share/maxima/5.37.2/share/draw/gnuplot.lisp.
Compiling /usr/share/maxima/5.37.2/share/draw/vtk.lisp.
Compiling /usr/share/maxima/5.37.2/share/draw/picture.lisp.

and then draw works in vxmaxima.

Just in case you don't remember how to use gedit as root

rafa@miniPc:~$ sudo gedit
[sudo] password for rafa:

Good Luck

Rafael

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1602941

Title:
  Draw cannot be loaded in 16.04 (Repackage needed since gcl has
  changed?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maxima/+bug/1602941/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to