Comment 15 for bug 43150

Revision history for this message
Olaf Leidinger (leidola) wrote : Re: wxmaxima fails with error, can't connect to maxima

works fine for me, when i build the maxima package with this patch (adds cmucl support):

--- maxima-5.9.2/debian/control 2006-07-05 16:57:17.000000000 +0200
+++ maxima-5.9.2.patch/debian/control 2006-07-05 16:07:58.000000000 +0200
@@ -2,7 +2,7 @@
 Section: math
 Priority: optional
 Maintainer: Camm Maguire <email address hidden>
-Build-Depends: gcl ( >= 2.6.7-10 ) , texinfo, libgmp3-dev, libreadline5-dev | libreadline-dev, locales, automake, debhelper ( >=4.1.0 ) , libncurses5-dev, autoconf2.13, gawk | awk, tetex-extra, sharutils
+Build-Depends: cmucl ( >= 19a ) , texinfo, libgmp3-dev, libreadline5-dev | libreadline-dev, locales, automake, debhelper ( >=4.1.0 ) , libncurses5-dev, autoconf2.13, gawk | awk, tetex-extra, sharutils
 Standards-Version: 3.6.2

 Package: maxima
--- maxima-5.9.2/debian/rules 2006-07-05 16:57:18.000000000 +0200
+++ maxima-5.9.2.patch/debian/rules 2006-07-05 16:54:38.000000000 +0200
@@ -38,8 +38,7 @@
  dh_testdir

  automake
-
- GCL_ANSI=t ./configure --enable-gcl $$(gcl -batch -eval '#-native-reloc(princ "--enable-gcl-alt-link")(bye)') \
+ GCL_ANSI=t ./configure --enable-cmucl \
   --prefix=/usr \
   --libexec=/usr/lib \
   --mandir=/usr/share/man \
@@ -49,13 +48,13 @@

 # This sets up some reasonable readline command completion by default

- cd src/binary-gcl && echo ':lisp (setq si::*readline-prefix* "maxima::$$")(when (fboundp (quote si::sgc-on)) (si::sgc-on t))(si::save-system "foo")' | ./maxima -eval '(run)' && mv foo maxima
+# cd src/binary-cmucl && echo ':lisp (setq si::*readline-prefix* "maxima::$$")(when (fboundp (quote si::sgc-on)) (si::sgc-on t))(si::save-system "foo")' | ./maxima -eval '(run)' && mv foo maxima

 # Reenable if/when gcl uses __mulsi et. al. on m68k, now configured for (020) unoptimally
 # [ "$$(dpkg --print-architecture)" != "m68k" ] || cp debian/rtest8.mac.m68k tests/rtest8.mac

- ./maxima-local --lisp=gcl --batch-string="run_testsuite(true,true);" >tmp 2>&1 & \
+ ./maxima-local --lisp=cmucl --batch-string="run_testsuite(true,true);" >tmp 2>&1 & \
   j=$$! ; echo Waiting on pid $$j ; \
   tail -f --pid=$$j --retry tests/tests-gcl.log tmp & wait $$j