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

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

[Octave-bug-tracker] [bug #44978] configure script does not fail to reco


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #44978] configure script does not fail to recognize problems with gnuplot version
Date: Fri, 01 May 2015 12:19:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0

URL:
  <http://savannah.gnu.org/bugs/?44978>

                 Summary: configure script does not fail to recognize problems
with gnuplot version
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Fri 01 May 2015 12:19:04 GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0-rc4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Building Octave 4.0.0-rc4 on CentOS 5 and using gnuplot 4.0.0.  This causes
the tests for legend, copyobj, and hgsave to fail. This version of gnuplot is
too old according to multiple posts on the mailing list and the web

http://octave.1599824.n4.nabble.com/plotting-problem-tp2218392p2218582.html

http://octave.1599824.n4.nabble.com/help-on-plot-in-octave-tp1636537p1636538.html

http://www.sbarjatiya.com/notes_wiki/index.php/Installing_octave_from_source

A simple example


octave:5> graphics_toolkit gnuplot
octave:6> plot(1:10)
         line 0: undefined variable: dashed


gnuplot> set obj 1 rectangle from screen 0,0 to screen 1,1 behind fc rgb
"#ffffff" fs solid noborder
             ^
         line 0: valid set options:  [] = choose one, {} means optional

        'angles', 'arrow', 'autoscale', 'bars', 'border', 'boxwidth',
        'clabel', 'clip', 'cntrparam', 'colorbox', 'contour', 'decimalsign',
        'dgrid3d', 'dummy', 'encoding', 'fit', 'format', 'grid',
        'hidden3d', 'historysize', 'isosamples', 'key', 'label', 'locale',
        'logscale', '[blrt]margin', 'mapping', 'mouse', 'multiplot',
        'offsets', 'origin', 'output', 'palette', 'parametric', 'pm3d',
        'pointsize', 'polar', 'print', '[rtuv]range', 'samples', 'size',
        'style', 'surface', 'terminal', tics', 'ticscale', 'ticslevel',
        'timestamp', 'timefmt', 'title', 'view', '[xyz]{2}data',
        '[xyz]{2}label', '[xyz]{2}range', '{no}{m}[xyz]{2}tics',
        '[xyz]{2}[md]tics', '{[xyz]{2}}zeroaxis', 'zero'


gnuplot> set obj 2 rectangle from graph 0,0 to graph 1,1 behind fc rgb
"#ffffff" fs solid noborder
             ^
         line 0: valid set options:  [] = choose one, {} means optional

        'angles', 'arrow', 'autoscale', 'bars', 'border', 'boxwidth',
        'clabel', 'clip', 'cntrparam', 'colorbox', 'contour', 'decimalsign',
        'dgrid3d', 'dummy', 'encoding', 'fit', 'format', 'grid',
        'hidden3d', 'historysize', 'isosamples', 'key', 'label', 'locale',
        'logscale', '[blrt]margin', 'mapping', 'mouse', 'multiplot',
        'offsets', 'origin', 'output', 'palette', 'parametric', 'pm3d',
        'pointsize', 'polar', 'print', '[rtuv]range', 'samples', 'size',
        'style', 'surface', 'terminal', tics', 'ticscale', 'ticslevel',
        'timestamp', 'timefmt', 'title', 'view', '[xyz]{2}data',
        '[xyz]{2}label', '[xyz]{2}range', '{no}{m}[xyz]{2}tics',
        '[xyz]{2}[md]tics', '{[xyz]{2}}zeroaxis', 'zero'

         line 0: undefined variable: linecolor


gnuplot> if (exists("GPVAL_TERM")) print GPVAL_TERM; else print NaN
                    ^
         line 0: invalid expression 

error: Invalid call to strcat.  Correct usage is:

 -- Function File:  strcat (S1, S2, ...)
error: called from
    print_usage at line 89 column 5
    strcat at line 84 column 5
    __gnuplot_get_var__ at line 103 column 11
    __go_draw_axes__ at line 38 column 16
    __go_draw_figure__ at line 172 column 17
    __gnuplot_drawnow__ at line 86 column 5



I understand that gnuplot communication is done via pipes, so the version may
change since Octave is built. But then, should this be checked at runtime? Or
at least a warning during the build that the version is too old but can be
updated later.

Also, the error at the end about invalid call to strcat seems weird.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44978>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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