Am 30.09.2013 22:15, schrieb Werner Koenig:
recently I have installed a new octave 3.7.7 on my openSuse 12.3. Now on
the first try outs this octave doesn't find my installed gnuplot.
A simple command plot(1:10) and you get the following error.
error: popen2: popen2 (child): unable to start process -- Datei oder
Verzeichnis nicht gefunden
error: called from:
error:
/opt/octave/share/octave/3.7.7+/m/plot/private/__gnuplot_open_stream__.m
at line 30, column 40
error: /opt/octave/share/octave/3.7.7+/m/plot/__gnuplot_drawnow__.m at
line 72, column 19
sh: : command not found
error: 'unset' undefined near line 1 column 1
warning: broken pipe
Hallo Werner,
See __gnuplot_open_stream__.m:30
What does "[prog, args] = gnuplot_binary ()" give you in octave?
What about "which gnuplot" in a terminal?
./configure found gnuplot? See for example my config.log:
~/src/octave-build$ grep -C1 gnuplot config.log
configure:8332: result: gs
configure:8371: checking for gnuplot
configure:8387: found /usr/bin/gnuplot
configure:8398: result: gnuplot
configure:8444: checking for less
--
Default pager: less
gnuplot: gnuplot
--
ac_cv_prog_GHOSTSCRIPT=gs
ac_cv_prog_GNUPLOT=gnuplot
ac_cv_prog_GPERF=gperf
--
GNULIB__EXIT='0'
GNUPLOT='gnuplot'
GPERF='gperf
Gruß, Andy