Сначала я проверяю, установлен ли он:
maxima
результат:
The assertion realpath(s,o) on line 471 of main.c in function mbin failed: Invalid argumentAborted (core dumped)
Это подтвержденная ошибка 1926225 -.
Поэтому я пытаюсь использовать snap :
sudo snap install wxmaxima
, затем проверять:
snap find wx
Результат:
Name Version Publisher Notes Summary
wxmaxima 17.04.1 peterpall - A nightly build of wxMaxima, a gui for Maxima, a full-featured CAS.
electronic-wechat 2.0 ubuntu-dawndiy - A better WeChat on macOS and Linux. Built with Electron.
sdlvnc 1.3.1 huedawn - SDL2 and wxWidgets VNC client.
stars 2.7jrc3 diddledan - STARS! The 4X Strategy game
growx 1.1 maumx2 - GrowX: the Opensource Greenhouse monitoring App
skip 1.0.0 shadowxwarrior - SKIP Manager: Let's you skip package management
certbot-dns-inwx 2.1.3 oggy - INWX DNS Authenticator plugin for Certbot
rubber-band-async 0.1 andybulka - Rubberband wxPython app with wxasync clock
andy-testsnap-py 0.6 andybulka - Single-line elevator pitch for your amazing snap
Затем попробуйте запустить
wxmaxima
результат:
(wxmaxima:10141): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Trace/breakpoint trap (core dumped)
Так что, возможно, нужны максимумы:
sudo apt-get install maxima
результат:
maxima is already the newest version (5.44.0-2).
Можно ли установить Maxima CAS на Ubuntu 21.04?
----------------- изменить --------- -------
load(draw) execvp failure when executing '/usr/bin/gcc -c -g -ffile-prefix-map=/build/gcl-UR70am/gcl-2.6.12=. -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -pipe -fcommon -fno-builtin-malloc -fno-builtin-free -fno-PIE -fno-pie -fno-PIC -fno-pic -Wall -Wno-empty-body -Wno-unused-but-set-variable -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/gcl-2.6.12/unixport/../h -O2 -c /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/draw/grcommon.c -o /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/draw/grcommon.o ': No such file or directory loadfile: failed to load /usr/share/maxima/5.44.0/share/draw/draw.lisp -- an error. To debug this try: debugmode(true); (%o17) "/home/a/Dokumenty/ijon/3006/a.mac" (%i18) load(draw); execvp failure when executing '/usr/bin/gcc -c -g -ffile-prefix-map=/build/gcl-UR70am/gcl-2.6.12=. -fstack-protector-strong -Wformat -Werror=format-security -fsigned-char -pipe -fcommon -fno-builtin-malloc -fno-builtin-free -fno-PIE -fno-pie -fno-PIC -fno-pic -Wall -Wno-empty-body -Wno-unused-but-set-variable -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/gcl-2.6.12/unixport/../h -O2 -c /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/draw/grcommon.c -o /home/a/.maxima/binary/5_44_0/gcl/GCL_2_6_12/share/draw/grcommon.o ': No such file or directory loadfile: failed to load /usr/share/maxima/5.44.0/share/draw/draw.lisp -- an error. To debug this try: debugmode(true);
Проблема связана с установкой? Я сделал отчет об ошибке
Таким образом, обе версии с отладочным пакетом ( официальная и из PPA команды разработчиков maxima ) и Snap версии Максима разбиты на Ubuntu 21.04.
Вы должны удалить версию Snap с помощью
snap remove wxmaxima
, но пакет maxima
из грядущей 21.10 работает нормально. Вы можете установить его с помощью:
cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/m/maxima/maxima_5.44.0-3_amd64.deb
sudo apt-get install wxmaxima ./maxima_5.44.0-3_amd64.deb
и использовать по плану.