Menu

#2959 gnuplot installer for Mac maxima failes

None
open
nobody
None
5
2015-05-15
2015-05-14
No

Here's the error upon running gunplot per the maxima install instructions:

/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 61: 13698 Illegal instruction: 4 GNUTERM="${GNUTERM}" GNUPLOT_HOME="${GNUPLOT_HOME}" PATH="${PATH}" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" HOME="${HOME}" GNUHELP="${GNUHELP}" DYLD_FRAMEWORK_PATH="${DYLD_FRAMEWORK_PATH}" GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}" GNUPLOT_DRIVER_DIR="${GNUPLOT_DRIVER_DIR}" "${ROOT}/bin/gnuplot-5.0.0" "$@"

Discussion

  • Jaime E. Villate

    Could you please remind us what those maxima install instructions are? Namely, what command(s) did you type right before that error message appeared?

     
  • Chuck Coleman

    Chuck Coleman - 2015-05-14

    The instructions are:

    1. Installing GNUPLOT

      • Drag 'Gnuplot.app' into your Applications folder.
      • To test Gnuplot: double-click on your copy located in Applications folder. A Terminal should pop up with the Gnuplot's prompt. Test gnuplot by entering the following commands.

      set term qt
      plot sin(x)
      splot sin(x*y)
      

      • Maxima needs to know where Gnuplot is located in order to use it for plotting. If you already have a 'maxima-init.mac', edit it, otherwise enter these commands into the Terminal:

      mkdir .maxima
      cd .maxima
      echo 'gnuplot_command:"/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot"$' >> maxima-init.mac
      echo 'set_plot_option([gnuplot_term, qt])$’ >> maxima-init.mac
      

    The failure occurred when I attempted the second bullet. Gnuplot did not open.

    The maxima version is the latest: 5.36.1.

     
  • Jaime E. Villate

    Okay. Those instructions are not the same I can see in https://sourceforge.net/p/maxima/code/ci/master/tree/macosx/Readme.txt, which is already 4 years old. That might mean that the more recent Mac installers made by Andrej Vodopivec include some new instructions which are not in the Maxima repository yet, so it is better to wait for him to read this thread and answer.

    In the menatime, the only thing I can suggest is searching the Web for instructions on how to install Gnuplot in MacOX systems (independently of Maxima). Once Gnuplot is running, you can then follow the third and following bullets in the Maxima installer instructions.

    I hope this helps you.

     
  • Andrej Vodopivec

    Which version os OS X do you have? The binaries are built on 10.10. It is possible that they do not work on earlier versions.

     
    • Geert Hermans

      Geert Hermans - 2015-07-14

      I'm running 10.10.4. Also I have the exact same error when starting gnuplot.

      I think I also found a typo in the "How to install.rtf"exec
      echo 'set_plot_option([gnuplot_term, qt])$ >> maxima-init.mac
      should be
      echo 'set_plot_option([gnuplot_term, qt])$' >> maxima-init.mac

       

      Last edit: Geert Hermans 2015-07-14

Log in to post a comment.