Can't install maxima 5.17.0 from source

Asked by acimmarusti

Hello there,

I followed the instructions to the letter on how to install maxima from source on ubuntu found here https://help.ubuntu.com/community/Maxima. Unfortunately I got the below problem and I have no idea what's wrong. Be patient with me, I'm only a beginner... I hope you can help me figure this out. There is an email in the site, I sent the guy a couple of emails, but he hasn't replied and it has been 3 weeks.

Thanks

Andres

These are the steps I did:

- tar xfvz /"locationof"/maxima-"latest-version".tar.gz
- sudo apt-get build-dep maxima
- sudo dpkg-reconfigure gcl
- select "yes" and enable ansi which is disabled by default.
- cd maxima-"latest-version"/
- ./configure --prefix=/usr --exec-prefix=/usr
- make

And I got this:

Making all in src
make[1]: Entering directory `/home/candres/dls/maxima-5.17.1/src'
test -d binary-gcl || mkdir binary-gcl
gcl -batch -eval '(progn (load "../lisp-utils/defsystem.lisp") (load "../lisp-utils/make-depends.lisp") (funcall (intern "CREATE-DEPENDENCY-FILE" :mk) "binary-gcl/maxima" "gcl-depends.mk"))'

Warning:
REQUIRE is being redefined.
make[1]: *** [gcl-depends.mk] Segmentation fault
make[1]: *** Deleting file `gcl-depends.mk'
make[1]: Leaving directory `/home/candres/dls/maxima-5.17.1/src'
make: *** [all-recursive] Error 1

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
acimmarusti
Solved:
Last query:
Last reply:
Revision history for this message
acimmarusti (andrescimmarusti) said :
#1

Oh, I forgot: I'm trying to install maxima 5.17.0 from source on Ubuntu 8.10 Intrepid Ibex 32 bits

Revision history for this message
acimmarusti (andrescimmarusti) said :
#2

I solved the problem by NOT using GCL as lisp implementation. Instead I used SBCL. I downloaded a binary package from their website with their latest version and followed their instructions for installation. Once that was done I compiled maxima, the latest version as follows:

- tar xfvz /"locationof"/maxima-"latest-version".tar.gz
- cd maxima-"latest-version"/
- ./configure --enable-sbcl (./configure --help : will tell you the appropriate option in case you use GCL or another lisp implementation )
- make
- sudo make install
- make clean

I'm using TeXmacs as frontend for maxima. However, TeXmacs is not primarily for maxima, so when I load maxima, though It looks pretty nice, I'm getting some strange warnings as follows:

STYLE-WARNING: redifining MAIN-PROMPT in DEFUN
STYLE-WARNING: redifining TEX-STRIPDOLLAR in DEFUN
STYLE-WARNING: redifining TEX-MEXPT in DEFUN
STYLE-WARNING: redifining TEX-CHOOSE in DEFUN
STYLE-WARNING: redifining TEX-INT in DEFUN
STYLE-WARNING: redifining TEX-SUM in DEFUN
STYLE-WARNING: redifining TEX-LSUM in DEFUN

I think I know what they mean, but I'm not sure how to prevent TeXmacs from displaying them. They probably have to do with the fact that maxima commands are very similar to TeX commands. If anyone knows how to help me, please contact me.

Revision history for this message
Eric (Black_pignouf) (eric-duminil) said :
#3

I also tried to compile both Maxima 5.17.0 and wxMaxima 0.8.1, to no avail.
I finally found this page today :

http://zeus.nyf.hu/~blahota/linux/

where you can download i386 .deb for Ubuntu 8.10:
http://zeus.nyf.hu/%7Eblahota/maxima_5.17.0-1_i386.deb
http://zeus.nyf.hu/%7Eblahota/wxmaxima_0.8.1-1_i386.deb

They work great on my system.

What about yours?

Revision history for this message
acimmarusti (andrescimmarusti) said :
#4

Thanks man!

But like I mentioned earlier, I did manage to compile maxima 5.17.0 by using SBCL as my lisp implementation (the error I was getting was due to GCL). I haven't installed wxMaxima yet because I'm using TeXmacs as frontend. It allows certain things wxMaxima doesn't (like editing a previously executed line). And the output is far prettier. Not to mention the fact that TeXmacs can use maxima in conjunction with its document editing capabilities to create very neat documents with plots and calculations.

Revision history for this message
Eric (Black_pignouf) (eric-duminil) said :
#5

You're welcome.

You might want to try wxMaxima again! UI has been revamped, and you can for example edit a previously executed line (like e.g. Maple) along other new features.
I must admit that Texmacs looks pretty powerful, though. Too bad I'm a vim addict, and don't feel like learning another interface!