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

 
 

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

Submitted by:  Pedro Gonnet <gonnetp>
Submitted on:  Mon 13 Sep 2010 09:26:00 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Pedro GonnetOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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>
Project 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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Sep 2010 07:57:56 PM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Sat 25 Sep 2010 09:37:58 AM UTCrik5SummaryDocumentation won\'t build.=>Documentation won't build without PCRE libraries
    Mon 13 Sep 2010 04:57:21 PM UTCjweStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1