compile error please help more help
Doug Stewart
dastew at sympatico.ca
Sun Dec 14 14:37:40 CST 2008
Carlo de Falco wrote:
>
> On 14/dic/08, at 19:40, Doug Stewart wrote:
>
> As you do have a running Octave 3.1.51+
>
>> So :
>> 1) where is regexp?
> you can find out by typing "which regexp" (from within Octave)
>
> if you are running run-octave from the build directory this should
> return something like
>
> which: `regexp' is the function from the file
> /Users/carlo/octave-build/src/regexp.oct
>
>> 2) what is PCRE and where do I look to debug it?
>
> gogling for PCRE points to http://www.pcre.org/ which says:
> "The PCRE library is a set of functions that implement regular
> expression pattern matching using the same syntax and semantics as
> Perl 5. PCRE has its own native API, as well as a set of wrapper
> functions that correspond to the POSIX regular expression API. The
> PCRE library is free, even for building commercial software."
>
> I don't think you want to debug PCRE, you just want to check that your
> regexp.oct is correctly linked to libpcre
>
> 1) Do you have
> /* Define if PCRE is available. */
> #define HAVE_PCRE 1
> in config.h ?
>
no!!!!
> 2) What does
> ldd src/regexp.oct | grep -i pcre
> (run from the shell) return ?
>
> c.
>
>
I downloaded and ./configure and make and make install pcre
Now I am starting over with a fresh install and try.
I will report the result later.
Thanks for your help
Doug
More information about the Help-octave
mailing list