octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57529] Error when building documentation with


From: Rik
Subject: [Octave-bug-tracker] [bug #57529] Error when building documentation with voronoi and convhull
Date: Mon, 6 Jan 2020 10:52:16 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57529 (project octave):

                Category:                    None => Configuration and Build
System
                Priority:              5 - Normal => 3 - Low                

    _______________________________________________________

Follow-up Comment #5:

This sounds like it is machine or OS specific.

A build machine for Octave which will produce a distributable tar.gz file is
expected to have basic prerequisites like QHull.

There is a test for that, but it is only tested if the user tries to make a
distribution using 'make dist'.  The code is in doc/libinterp/module.mk


# Prevent packaging of distribution unless all libraries
# necessary to create documentation are present
doc-interpreter-dist-hook:
        @$(GREP) '#define HAVE_COLAMD 1' $(top_builddir)/config.h > /dev/null 
|| {
echo "Documentation creation requires missing COLAMD library.  Cannot package
distribution!" ; exit 1; }
        @$(GREP) '#define HAVE_CHOLMOD 1' $(top_builddir)/config.h > /dev/null 
|| {
echo "Documentation creation requires missing CHOLMOD library.  Cannot package
distribution!" ; exit 1; }
        @$(GREP) '#define HAVE_UMFPACK 1' $(top_builddir)/config.h > /dev/null 
|| {
echo "Documentation creation requires missing UMFPACK library.  Cannot package
distribution!" ; exit 1; }
        @$(GREP) '#define HAVE_QHULL 1' $(top_builddir)/config.h > /dev/null || 
{
echo "Documentation creation requires missing QHULL library.  Cannot package
distribution!" ; exit 1; }
        @$(GREP) '#define HAVE_QT_OFFSCREEN 1' $(top_builddir)/config.h > 
/dev/null
|| { echo "Documentation creation requires Qt offscreen OpenGL rendering. 
Cannot package distribution!" ; exit 1; }


Perhaps we should move these tests in to configure somehow so that if the
required libraries are not available it acts as if "--disable-doc" was given.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57529>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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