[Top][All Lists]

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

Re: compile error please help more help

From: Doug Stewart
Subject: Re: compile error please help more help
Date: Sun, 14 Dec 2008 14:40:40 -0500
User-agent: Thunderbird (X11/20081125)

Carlo de Falco wrote:

On 14/dic/08, at 14:38, Doug Stewart wrote:

I don't understand PCRE

address@hidden:~$ whereis pcre

Is it software that I should install? is it a library?

PCRE is the library on which the command "regexp" is based (as far as I understand).
On ubuntu I think this is located /usr/lib/
my guess whas that, maybe due to missing/malfunctioning libpcre
the regexp command in your Octave is not working properly so that the
call to regexp in __gnuplot_version__ returns "4.2."
instead of "4.2" or "4.2.2" which would be valid version strings

yes there seems to be a problem in regexp.

using this input
output = gnuplot 4.2 patchlevel 2

it returns:

d1 = 1
d2 = 26
d3 =

[1,1] =

9 11
27 26


d4 =

[1,1] = gnuplot 4.2 patchlevel 2


matches =

[1,1] =

[1,1] = 4.2
[1,2] =


you see that the second element is blank

so now

numel (matches{1}) == 2 returns true

__version__ = sprintf ("%s.%s", matches{1}{:})

prints the 4.2 then a . then the blank

Also when I do a make check it reports 8 errors for regexp

So :
1) where is regexp?
2) what is PCRE and where do I look to debug it?

Any help is valued.

PS I do have a running version
GNU Octave, version 3.1.51+
Copyright (C) 2008 John W. Eaton and others.

but every thing is not quite there yet.

reply via email to

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