Discussion:
GnuPlot errors
(too old to reply)
James Rome
2017-07-07 19:02:28 UTC
Permalink
Raw Message
I am setting up Maxima on my MacOS machine following
https://themaximalist.org/about/my-mac-os-installation/

But when I try to plot something with in WxMaxima, I get the following
error:

wxplot2d([sin(x)],[x,0,10]);

/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 61: 61673
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" "$@"

and

plot2d(sin(x),[x,0,10]);

Maxima encountered a Lisp error: Couldn't write to #<SB-SYS:FD-STREAM
for "descriptor 9" {100C03AE73}>: Broken pipe

Howe do I fix this?
--
James A. Rome

http://jamesrome.net
Pepe Sanchez
2017-07-09 15:45:41 UTC
Permalink
Raw Message
Dear James
You need to have the developer tools installed in you macOS system to get
the libraries where GNUplot expects to find them.
Best wishes

Pepe Sanchez

Enviado desde un terminal incómodo.
Post by James Rome
I am setting up Maxima on my MacOS machine following
https://themaximalist.org/about/my-mac-os-installation/
But when I try to plot something with in WxMaxima, I get the following
wxplot2d([sin(x)],[x,0,10]);
/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot: line 61: 61673
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_PAT
GNUPLOT_PS_DIR="${GNUPLOT_PS_DIR}" DISPLAY="${DISPLAY}"
and
plot2d(sin(x),[x,0,10]);
Maxima encountered a Lisp error: Couldn't write to #<SB-SYS:FD-STREAM
for "descriptor 9" {100C03AE73}>: Broken pipe
Howe do I fix this?
--
James A. Rome
http://jamesrome.net
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Maxima-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
Loading...