compile error please help more help

Carlo de Falco carlo.defalco at gmail.com
Sun Dec 14 14:03:30 CST 2008


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 ?

2) What does
ldd src/regexp.oct | grep -i pcre
(run from the shell) return ?

c.



More information about the Help-octave mailing list