Opened 4 years ago

Closed 9 months ago

#60157 closed defect (fixed)

imaxima: imath.el is being used by the active maxima port

Reported by: NiftyPan (Pan) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: KubaO (Kuba Ober)
Port: imaxima, maxima

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I have tried to install 'imaxima' twice, once after having installed 'maxima', and after getting errors, I cleaned and reclaimed, uninstalled, reclaimed again, and tried to install 'imaxima' on its own (I noticed 'maxima' was one of its dependencies anyway). I got the same errors, one of which recommended I make a bug report. The errors I got both times were:

Error: Failed to activate imaxima: Image error: /opt/local/share/emacs/site-lisp/imath.el is being used by the active maxima port.  Please deactivate this port first, or use 'port -f activate imaxima' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_imaxima/imaxima/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port imaxima failed

Change History (4)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: KubaO added
Description: modified (diff)
Keywords: imaxima maxima install failure removed
Port: maxima added
Priority: Not setNormal
Summary: 'imaxima' install failureimaxima: imath.el is being used by the active maxima port

comment:2 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

The imaxima / imath homepage has disappeared recently. There is still a link to it on the maxima related projects page so I have asked the developers of maxima if they know where it went.

The maxima download page says:

The Xmaxima and Imaxima interfaces are part of the Maxima project and they come included with Maxima

and that would seem to be confirmed by the fact that when you try to install the imaxima port, it says the maxima port already installed that file. The solution therefore may be that we mark the imaxima port as replaced by the maxima port, and later delete the imaxima port.

comment:3 Changed 9 months ago by tomio-arisaka (Tomio Arisaka)

If you want to use imaxima, you have to install texlive-latex-recommended and add the following lines to your ${HOME}/.emacs file (".emacs" is an invisible file):

;; for MacPorts users
(setq temporary-file-directory "/tmp/")
;; for tex, ghostscript, gnuplot, and Maxima
(push "/opt/local/bin" exec-path)
(setenv "PATH"
        (concat "/opt/local/bin:"
                (getenv "PATH") ))
(setq imaxima-maxima-program "maxima")
;; for imaxima
(push "/opt/local/share/emacs/site-lisp/" load-path)


(autoload 'imaxima "imaxima" "Maxima frontend" t)
(autoload 'imath-mode "imath" "Interactive Math mode" t)

How to start imaxima: after launching Emacs.app, enter M-x imaxima. ("M-x" means that both [option] and [x] keys are pressed)

Website: https://maxima.sourceforge.io/imaxima.html

Archive: https://web.archive.org/web/20201013010720/https://sites.google.com/site/imaximaimath/Home

comment:4 Changed 9 months ago by catap (Kirill A. Korinsky)

Owner: set to catap
Resolution: fixed
Status: newclosed

In 348d1997e378420717b93e807dc09203ae5af242/macports-ports (master):

imaxima: obsolete port

Closes: #60157

Note: See TracTickets for help on using tickets.