bugGNU Octave - Bugs: bug #31025, Documentation won't build without...

 
 

bug #31025: Documentation won't build without PCRE libraries

Submitter:  Pedro Gonnet <gonnetp>
Submitted:  Mon 13 Sep 2010 09:26:00 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Pedro Gonnet Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 Sep 2010 07:57:56 PM UTC, comment #5: 

Fixed in the development branch as of this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/fa56fd98c0c5)

Rik <rik5>
Group administrator
Sat 25 Sep 2010 09:37:58 AM UTC, comment #4: 

I was away on vacation when this bug came in so I'm late in responding.

The extended features of PCRE are only used twice in the Octave code base in mk_doc_cache.m and runtests.m.  I have re-coded mk_doc_cache.m to avoid using PCRE and checked in the following changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/a2773763e3ff).

I will look at re-coding runtests to avoid PCRE as well.

Rik <rik5>
Group administrator
Tue 14 Sep 2010 04:41:08 PM UTC, comment #3: 

OK, I'm starting a thread on the maintainers mailing list about this issue as it might be best if we required the PCRE library or made sure that nothing in Octave itself depends on features found only in the PCRE library.

John W. Eaton <jwe>
Group administrator
Tue 14 Sep 2010 09:48:21 AM UTC, comment #2: 

I checked "config.log" and found the following:


configure:28643: checking for pcre-config
configure:28671: result: no
configure:28684: checking whether pcre.h defines the macros we need
conftest.c:413:18: error: pcre.h: No such file or directory
configure:28709: result: no
configure:28749: WARNING: PCRE library not found.  This will result in some loss of functionality for the regular expression matching functions.
[...]
configure:53959: WARNING: PCRE library not found.  This will result in some loss of functionality for the regular expression matching functions.

I've installed the library and all seems well now. Thanks!

Cheers, Pedro.

Pedro Gonnet <gonnetp>
Mon 13 Sep 2010 04:57:21 PM UTC, comment #1: 

Do you have the PCRE regexp library installed?  Did the configure script detect it?

John W. Eaton <jwe>
Group administrator
Mon 13 Sep 2010 09:26:00 AM UTC, original submission:  

I recently downloaded a new version of the source using "hg pull http://www.octave.org/hg/octave" and "hg update" and building the documentation fails as follows:

[code]
[...]
make[2]: Entering directory `/home/gonnetp/work/octave/octave/doc'
Making all in faq
make[3]: Entering directory `/home/gonnetp/work/octave/octave/doc/faq'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/gonnetp/work/octave/octave/doc/faq'
Making all in interpreter
make[3]: Entering directory `/home/gonnetp/work/octave/octave/doc/interpreter'
../../run-octave -f -q -H ./mk_doc_cache.m doc-cache ../../scripts/DOCSTRINGS ../../src/DOCSTRINGS || { rm -f doc-cache; exit 1; }
error: regexprep: Invalid content of \{\} in pattern (@seealso {([^}])})
error: called from:
error:   /home/gonnetp/work/octave/octave/doc/interpreter/mk_doc_cache.m at line 48, column 6

make[3]: * [doc-cache] Error 1
make[3]: Leaving directory `/home/gonnetp/work/octave/octave/doc/interpreter'
make[2]: * [all-recursive] Error 1
make[2]: Leaving directory `/home/gonnetp/work/octave/octave/doc'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/gonnetp/work/octave/octave'
make: * [all] Error 2
[/code]

Any ideas?

Cheers, Pedro.

Pedro Gonnet <gonnetp>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by gonnetp (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-26 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2010-09-25 rik5 SummaryDocumentation won\'t build. Documentation won't build without PCRE libraries
    2010-09-13 jwe StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code