I get an error message when attempting to use draw() and wxdraw() inside wxMaxima.
I get errors like "cannot load draw.lisp."
I discovered that if I install the GCC compiler on Debian that the bug went away.
Apparently there is additional maxima code that needs to be compiled when certain functions are called by maxima.
The wxMaxima package was installed from the debian software repository.
Apparently GCC is not part of the default Debian installation.
It would probably be a good idea to document this issue somewhere.
Possibly pass this bug/issue to the wxMaxima team.
Run
sudo apt update && sudo apt install -y build-essential
in your terminal to install the complete development environment.
wxMaxima version: 24.02.1_GTK3
using wxWidgets version: wxWidgets 3.2.4
Maxima version: 5.47.0
Maxima build date: 2025-04-26 23:41:25
Host type: x86_64-pc-linux-gnu
System type: NIL NIL NIL
Lisp implementation type: GNU Common Lisp (GCL)
Lisp implementation version: GCL 2.7.1 git tag Version_2_7_2ore2
wxMaxima help dir: /usr/share/doc/wxmaxima
This is a packaging bug in the Debian package for Maxima; the package should declare its dependency on GCC, given that Maxima is compiled with GCL, and GCL appears to require GCC.
I will try to remember to open a ticket on the bug tracker for the Debian package, although if you wish to do so, that would be terrific.
Can you give me a quick summary on how to open a ticket on the Debian bug tracker?
Can you give me a quick summary on how to open a ticket on the Debian bug tracker?
Did some research:
To report a bug in a Debian package, use the reportbug tool in your terminal to create a detailed report for the maintainers, as detailed on the Debian Bug Tracking System (BTS) and BTS - Debian Wiki pages. Before reporting, check the Debian Bug Tracking System to see if the bug is already known, and consult Debian/Bugs - Ubuntu Wiki for guidelines.
Use reportbug: Run reportbug <package_name> in the terminal to guide you through submitting a bug report.</package_name>
Use querybts: You can use querybts <package_name> to view existing bug reports for a specific package, as explained in Debian/Bugs</package_name>
Report will be sent to Debian Bug Tracking System submit@bugs.debian.org
Submit this report on wxmaxima (e to edit) [Y|n|a|c|e|i|l|m|p|q|d|t|?]? Y
Connecting to reportbug.debian.org via SMTP...
Bug report submitted to: Debian Bug Tracking System submit@bugs.debian.org
If you want to provide additional information, please wait to receive the bug
tracking number via email; you may then send any extra information to
n@bugs.debian.org (e.g. nnnnnn@bugs.debian.org), where n is the bug number.
Normally you will receive an acknowledgement via email including the bug report
number within an hour; if you haven't received a confirmation, then the bug
reporting process failed at some point (reportbug or MTA failure, BTS
maintenance, etc.).
Thank you for using reportbug
Thank you for filing a new Bug report with Debian.
You can follow progress on this Bug here: 1136047: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136047.
This is an automatically generated reply to let you know your message
has been received.
Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.
As you requested using X-Debbugs-CC, your message was also forwarded to
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(after having been given a Bug report number, if it did not have one).
Your message has been sent to the package maintainer(s):
debian-science-maintainers@lists.alioth.debian.org
If you wish to submit further information on this problem, please
send it to 1136047@bugs.debian.org.
----- Forwarded Message -----
From: xxxxxxxxx
To: "1136047@bugs.debian.org" 1136047@bugs.debian.org
Sent: Friday, May 8, 2026 at 03:14:27 PM EDT
Subject: used diff tool to analyze files before and after gcc install in ~/.maxima
*** before GCC install
Only in binary_old/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: grcommon.c
Only in binary_old/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: grcommon.data
Only in binary_old/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: grcommon.h
*** after GCC install
Only in binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: gnuplot.o
Only in binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: grcommon.o
Only in binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: picture.o
Only in binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: vtk.o
1136047: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136047
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Hello twkrimm, thanks for your report.
This issue with
drawand its friend was reported in Debian Bug report #1129331 [1]and then upstream [2]. I proposed a path taht was accepted upstream and in Debain.
This was a maxima issue and it has been fixed in maxima
(see patch debian/patches/draw-take-into-account-gnuplot_file_args).
So I am closing the report.
Best wishes,
Jerome
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136047
[2] https://sourceforge.net/p/maxima/patches/108/
#108 patch: make
drawto take into account gnuplot_file_argsMilestone: None
Status: accepted
Owner: nobody
Labels: None
Priority: 5
Updated: 2026-03-08
Created: 2026-03-07
Creator: Jerome Benoit
Private: No
This patch makes share/draw to take into account gnuplot_file_args
when draw plots. This issue is visible on Linux. Actually the issue produces
a beautiful envelop when wxdraw is used in wxMaxima on Linux. This issue
was reported in Debian first for the Debian package wxmaxima, and then
reassigned to the Debian package maxima. It is bugreport #1129331
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129331.
This patch was not tested for other OS, however it is not OS specific.
Furthermore, this patch might not be written in an optimal way as I am
absolutely not familiar with Lisp.
How do I close this issue?
Hi, sorry, I missed the traffic on this ticket a few days ago. Can you verify that the patch fixes the problem which you encountered? If so, I will close this ticket.
I looked at the patch and I don't see how it resolves the GCC problem which you encountered. I'm a little puzzled about that.
I am having a problem recreating the issue.
Which means I can not verify that patch fixes the issue.
I did the following:
1) sudo apt purge build-essential
2) sudo apt autoremove
3) delete binary ~/.maxima/binary
4) uninstall wxmaxima with debian software program
5) open terminal
6) try to execute maxima command
7) this verified maxime no longer installed
8) try to execute gcc command
9) gcc still present
10) checked ~/.maxima/binary folder
binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: gnuplot.o
binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: grcommon.o
binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: picture.o
binary/5_47_0/gcl/GCL_2_7_1_git_tag_Version_2_7_2ore2/share/draw: vtk.o
I can confirm the specifics of the original bug report. I had clean debian testing installation on a VM, installed the maxima package and then tried to load
draw. That failed and the errors indicated the problem was the maxima package depends ongcc.This is a bug in the debian maxima package.
I don't think the debian bug has been fixed. The patch does not address the missing dependency. I think that bug report was closed prematurely.
But, I do think this bug report can be closed, because it is not a bug in maxima itself.