Hi John, David, and all,
I did have multiple versions (2.9.4 from web and latest from cvs)
installed.
I cleared everything out and built just the cvs version, and sparse is
working now.
Now, after also clearing out octave-forge, I am trying to build it
against
the cvs version (before I had built it successfully with 2.9.4 only).
Make
is not finding pcre.h (see output below). I tried the trick of
specifying
the location of pcre.h to configure, and that did change the output of
configure (seemed to find it) but it did not change the behavior or make
(which seems to be calling g++ with the config parameters from the main
octave installation).
Any ideas what I am doing wrong now? =)
Thanks,
Andy
Processing main/strings/...
make[2]: Entering directory
`/home/afunk/octave-forge-2005.06.13/main/strings'
mkoctfile -DHAVE_OCTAVE_29 -v pcregexp.cc -lpcre
g++ -c -I/home/afunk/zlib/include -I/home/afunk/UFsparse/COLAMD
-I/home/afunk/UFsparse/CCOLAMD -fPIC
-I/home/afunk/octave-cvs_bin/include/octave-2.9.4
-I/home/afunk/octave-cvs_bin/include/octave-2.9.4/octave
-I/home/afunk/octave-cvs_bin/include -mieee-fp -g -O2 -DHAVE_OCTAVE_29
pcregexp.cc -o pcregexp.o
pcregexp.cc:26:18: pcre.h: No such file or directory
pcregexp.cc: In function `octave_value_list Fpcregexp(const
octave_value_list&, int)':
pcregexp.cc:50: error: `pcre' undeclared (first use this function)
pcregexp.cc:50: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
pcregexp.cc:50: error: `re' undeclared (first use this function)
pcregexp.cc:53: error: `pcre_compile' undeclared (first use this
function)
pcregexp.cc:62: error: `PCRE_INFO_CAPTURECOUNT' undeclared (first use
this
function)
pcregexp.cc:62: error: `pcre_fullinfo' undeclared (first use this
function)
pcregexp.cc:66: error: `pcre_exec' undeclared (first use this function)
pcregexp.cc:68: error: `PCRE_ERROR_NOMATCH' undeclared (first use this
function)
pcregexp.cc:71: error: `pcre_free' undeclared (first use this function)
pcregexp.cc:79: error: `pcre_get_substring_list' undeclared (first use
this
function)
pcregexp.cc:81: error: `PCRE_ERROR_NOMEMORY' undeclared (first use this
function)
pcregexp.cc:103: error: `pcre_free_substring_list' undeclared (first use
this function)
make[2]: *** [pcregexp.oct] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory
`/home/afunk/octave-forge-2005.06.13/main/strings'
make[1]: *** [strings/] Error 2
> -----Original Message-----
> From: John W. Eaton [mailto:address@hidden
> Sent: Saturday, February 04, 2006 2:20 AM
> To: Andrew Funk
> Subject: RE: linking COLAMD, CCOLAMD, ZLIB
>
> Do you have another version of Octave installed on your system? Do
> you also have a copy of Octave Forge installed for that?
>
> My copy of 2.9.4, installed from a Debian package, does not crash for
> sparse (eye (3)).
>