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

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

[Octave-bug-tracker] [bug #33712] Octave 3.4.2 does not build against qh


From: anonymous
Subject: [Octave-bug-tracker] [bug #33712] Octave 3.4.2 does not build against qhull 2011.1
Date: Mon, 04 Jul 2011 16:36:28 +0000
User-agent: Mozilla/5.0 (GNU; rv:1.9.1.7) Gecko/20100107 IceCat/3.6 (like Firefox/3.6)

URL:
  <http://savannah.gnu.org/bugs/?33712>

                 Summary: Octave 3.4.2 does not build against qhull 2011.1
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 04 Jul 2011 04:36:27 PM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello!  I recently tried to build Octave 3.4.2 using the latest version of the
qhull library, version 2011.1, and ran into problems during the build.

First, the configure script was unable to find qhull installed anywhere on my
system.  It appears that with the new version, qhull has changed the location
in which it stores its headers from, e.g.

/usr/local/include/qhull

to

/usr/local/include/libqhull

It also appears that the qhull library file's name has been changed from
libqhull.so to libqhull6.so. 

To try and get Octave to compile, I modified the files

acinclude.m4
configure.ac
src/DLD-FUNCTIONS/__voronoi__.cc
src/DLD-FUNCTIONS/convhulln.cc
src/DLD-FUNCTIONS/__delaunayn__.cc

to look for qhull in the new include/libqhull directory (see the attached
patch file) and also symlinked libqhull6.so to libqhull.so inside my library
directory.  (Sorry if the changes to configure.ac and acinclude.m4 don't make
sense... I'm not that familiar with GNU Autotools.)  I then ran 

$ ldconfig 

and 

$ autoconf configure.ac > configure

to apply the changes to the configure script.  I got a warning that my version
of autoconf was a bit older than the one originally used to create the build
system, but I tried the build anyway just to see what happened:

$ ./configure --with-blas=atlas --with-lapack=lapack
$ make

The build finished successfully.  I then ran

$ make check

The check proceeded smoothly until it tried testing convhulln, which failed
with "qhull internal error 6178":

qhull internal error (qh_setsize): current set size 1072693247 is greater than
maximum size 0

Based on its self-description, this last error looks like a problem with qhull
to me and not with Octave, but I'm not completely sure.  Any thoughts?

Thanks!



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 04 Jul 2011 04:36:27 PM UTC  Name: octave-qhull-2011.1.patch  Size:
2kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=23620>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33712>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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