compile error please help more help

Doug Stewart dastew at sympatico.ca
Sun Dec 14 07:26:47 CST 2008


Carlo de Falco wrote:
>
> On 14/dic/08, at 12:32, Doug Stewart wrote:
>
>> It is returning "4.2." on my system because that is what is Installed.
>>
>> Does Octave expect gnuplot 4.0.x ?
>>
>>
>> Doug
>
> Doug,
> I beleive that it's rather the spurious dot at the end of the version 
> string that is creating problems:
>
> >> compare_versions ("4.2.","4.0",">=")
> error: compare_versions: given version strings are not valid: 4.2. 4.0
> error: evaluating if command near line 114, column 3
> error: called from `compare_versions' in file 
> `/Applications/Octave.app/Contents/Resources/share/octave/3.0.3/m/miscellaneous/compare_versions.m' 
>
> >> compare_versions ("4.2","4.0",">=")
> ans = 1
>
> On my system __gnuplot_version__ returns 4.2
> and from the shell I get
>
> guglielmo.local $ gnuplot --version
> gnuplot 4.2 patchlevel 3
>
> what does gnuplot --version say for you?
> c.
>
>
>
here it is

doug at ubuntu32:~$ gnuplot --version
gnuplot 4.2 patchlevel 2
doug at ubuntu32:~$


interesting !!!!
doug


More information about the Help-octave mailing list