Hi, For some time (perhaps a few months), wxmaxima stopped working for me, using maxima over sbcl (2.1 at the moment). I consistently get: .... Message from the stdout of Maxima: Maxima 5.44.0 http://maxima.sourceforge.net using Lisp SBCL 2.1.0 Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. Message from maxima's stderr stream: SERVER: Lost socket connection ... Trying to restart Maxima. Message from the stdout of Maxima: Message from maxima's stderr stream: SERVER: Lost socket connection ... Restart Maxima with 'Maxima->Restart Maxima'. Message from the stdout of Maxima: Message from maxima's stderr stream .... At the same time maxima (and xmaxima) work just fine. I tested a few things, i.e. working on a fresh system or with a newly created user account; built it with wip/wxGTK31 instead of x11/wxGTK30 etc., to no avail. The interface stays functional, but the connection to maxima does not stay after the first exchange. I noticed also that the help was not functional, which led me eventually to the latest available version. The version in pkgsrc at the moment is 17.10.1nb11; the current github version is 21.01. I downloaded the released tar.gz archive and was able relatively easily to build working wxmaxima, by modifying a single file: --- src/ww898/cp_utfw.hpp.ORIG 2021-02-06 15:46:41.671542892 +0000 +++ src/ww898/cp_utfw.hpp 2021-02-06 15:26:13.349081312 +0000 @@ -33,7 +33,7 @@ using utfw = utf16; }} -#elif defined(__linux__) || defined(__APPLE__) +#elif defined(__linux__) || defined(__APPLE__) || defined(__NetBSD__) #include <ww898/cp_utf32.hpp> and adding #undef HAVE_OMP_HEADER whenever there are references to the omp_* functions, actually before every #ifdef HAVE_OMP_HEADER (no idea about GNU OpenMP, but wxMaxima claims OpenMP is in use, as you can see from the screenshot attached; I am pretty sure this is wrong, but works). It seems to me a fairly low-hanging fruit for updating... Chavdar -- ----
Attachment:
VirtualBoxVM_2021-02-06_18-12-21.png
Description: PNG image