help-octave
[Top][All Lists]
Advanced

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

Re: linking COLAMD, CCOLAMD, ZLIB


From: David Bateman
Subject: Re: linking COLAMD, CCOLAMD, ZLIB
Date: Wed, 22 Feb 2006 10:13:18 +0100
User-agent: Mozilla Thunderbird 0.8 (X11/20040923)

Andrew Funk wrote:

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

Andy,

Note sure why you can't find pcre correctly for the build of octave-forge. Have you tried to run

./autogen.sh
./configure
make clean
make

in octave-forge, as maybe there is some hold-over from an older build? In any case the regexp.cc function in octave's CVS itself now includes the use of pcre if it is installed and you can do pcre type regexp with it. It is also fully compatiable with matlab's regexp function. Note as this is in the CVS only, you'll have to remove regexp.oct from octave-forge as this will override the version in octave itself.

Regards
David

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)).
>



--
David Bateman                                address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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