Re: Gnuplot doesn't work with octave 3.0 on UBUNTU
From:
thomas vanderbruggen
Subject:
Re: Gnuplot doesn't work with octave 3.0 on UBUNTU
Date:
Tue, 21 Oct 2008 17:53:28 +0200 (CEST)
User-agent:
SquirrelMail
Sorry, here is the error message, on a simple plot:
octave-3.0.2:1> x=0:.1:10; octave-3.0.2:2> y=sin(x); octave-3.0.2:3> plot(x,y) error: libpcre.so.0: cannot open
shared object file: No such file or directory error: `regexp'
undefined near line 39 column 34 error: evaluating if command near
line 29, column 3 error: called from `__gnuplot_version__' in file
`/usr/local/opt/binaries/octav e-3.0.2/share/octave/3.0.2/m/plot/__gnuplot_version__.m' error:
evaluating argument list element number 1 error: if: error evaluating
conditional _expression_ error: evaluating if command near line 213,
column 5 error: evaluating if command near line 210, column 3 error: called from `drawnow:enhanced_term' in file
`/usr/local/opt/binaries/oct ave-3.0.2/share/octave/3.0.2/m/plot/drawnow.m' error: evaluating
assignment _expression_ near line 173, column 14 error: evaluating if
command near line 142, column 3 error: called from
`drawnow:init_plot_stream' in file `/usr/local/opt/binaries/ octave-3.0.2/share/octave/3.0.2/m/plot/drawnow.m' error: evaluating
assignment _expression_ near line 129, column 14 error: evaluating if
command near line 121, column 3 error: called from
`drawnow:open_gnuplot_stream' in file `/usr/local/opt/binari es/octave-3.0.2/share/octave/3.0.2/m/plot/drawnow.m' error:
evaluating if command near line 82, column 8 error: evaluating if
command near line 81, column 6 error: evaluating if command near line
78, column 4 error: evaluating if command near line 76, column 2 error: evaluating for command near line 75, column 7 error:
evaluating if command near line 45, column 5 error: called from
`drawnow' in file `/usr/local/opt/binaries/octave-3.0.2/shar e/octave/3.0.2/m/plot/drawnow.m'
Le Mar 21 octobre 2008
17:43, Thomas Weber a écrit : > Am Dienstag, den
21.10.2008, 16:33 +0200 schrieb thomas vanderbruggen: > >> Hello, >> >> >> I just
update my Ubuntu to hardy and then upgrade octave to the 3.0.2 >> version. But anytime I use the plot() function I get an error
at the >> drawnow() call (gnuplot version = 4.2.2-1). > > Please provide the error message. > >
>> I had a look on some forums saying that something like >> sudo dpkg-reconfigure octave3.0 should fixed the problem, but
it doesn't >> seem to work in my case. > >
Yes, and maybe one day someone of these Ubuntu guys will actually look > at what this call changes *before* calling dpkg-reconfigure, so it
can be > fixed (although we've yet to receive such a bug report in
Debian). > > Thomas > > >