octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55023] gnuplot_binary test fails if there's n


From: Rik
Subject: [Octave-bug-tracker] [bug #55023] gnuplot_binary test fails if there's no gnuplot and leaves incorrect configuration
Date: Wed, 14 Nov 2018 11:21:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #1, bug #55023 (project octave):

Something is odd here.  The gnuplot_binary command names the command that is
executed when a user tries to switch toolkits using the command


graphics_toolkit gnuplot


As such, it is fine for it to have a value, such as 'gnuplot', even when that
executable does not exist on the system.

The gnuplot_binary program is very simple and only allows get/set access to
the persistent variable gp_binary.

The reason why the test seems to fail, is because your original value was "",
and it is not valid to set an empty string.  As I mentioned at the beginning,
it is okay not to have gnuplot on your system, but the string itself should
not be empty.

The problem seems to be that gnuplot_binary.m is generated by configure from
gnuplot_binary.in.m where there is this line:


  persistent gp_binary = %OCTAVE_CONF_GNUPLOT%;


To make sure I'm on the right track, how did you configure this version of
Octave?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55023>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]