[MacPorts] #40250: octave-devel configure failure: to build Octave, you must have the PCRE library and header files installed (was: octave-devel configure failure)

MacPorts noreply at macports.org
Mon Aug 26 09:40:52 PDT 2013


#40250: octave-devel configure failure: to build Octave, you must have the PCRE
library and header files installed
-----------------------------+-------------------------
  Reporter:  mschamschula@…  |      Owner:  michaelld@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.0
Resolution:                  |   Keywords:
      Port:  octave-devel    |
-----------------------------+-------------------------
Changes (by ryandesign@…):

 * port:   => octave-devel
 * owner:  macports-tickets@… => michaelld@…


Old description:

> While updating octave-devel to version 3.6.4_7 +atlas +gcc48 darwin_10, I
> found a configuration issue:
>
> :info:configure checking libqhull/libqhull.h usability... no
> :info:configure checking libqhull/libqhull.h presence... no
> :info:configure checking for libqhull/libqhull.h... no
> :info:configure checking qhull/libqhull.h usability... no
> :info:configure checking qhull/libqhull.h presence... no
> :info:configure checking for qhull/libqhull.h... no
> :info:configure checking libqhull.h usability... no
> :info:configure checking libqhull.h presence... no
> :info:configure checking for libqhull.h... no
> :info:configure checking qhull/qhull.h usability... no
> :info:configure checking qhull/qhull.h presence... no
> :info:configure checking for qhull/qhull.h... no
> :info:configure checking qhull.h usability... no
> :info:configure checking qhull.h presence... no
> :info:configure checking for qhull.h... no
> :info:configure configure: WARNING: Qhull library not found -- this will
> result in loss of functionality of some geometry functions.
> :info:configure checking pcre.h usability... no
> :info:configure checking pcre.h presence... no
> :info:configure checking for pcre.h... no
> :info:configure checking pcre/pcre.h usability... no
> :info:configure checking pcre/pcre.h presence... no
> :info:configure checking for pcre/pcre.h... no
> :info:configure checking whether pcre.h defines the macros we need... no
> :info:configure configure: error: to build Octave, you must have the PCRE
> library and header files installed
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_math_octave-devel/octave-devel/work/octave-3.6.4" &&
> ./configure --prefix=/opt/local --disable-dependency-tracking --with-
> umfpack="-lumfpack -lSuiteSparse" --with-blas="-lcblas -lf77blas -latlas"
> --disable-docs --without-x --without-opengl --with-cholmod="-lcholmod"
> :info:configure Exit code: 1
>
> Looks like some CPPFLAGS are not being set, as both qhull and pcre
> headers can't be found.
>
> As I had 3.6.4_6 +atlas +gcc47 darwin_10, working, but I followed the
> troubleshooting advice and removed it to re-attempt installing the
> current version. Rebuilding it using the old Portfile...

New description:

 While updating octave-devel to version 3.6.4_7 +atlas +gcc48 darwin_10, I
 found a configuration issue:

 {{{
 :info:configure checking libqhull/libqhull.h usability... no
 :info:configure checking libqhull/libqhull.h presence... no
 :info:configure checking for libqhull/libqhull.h... no
 :info:configure checking qhull/libqhull.h usability... no
 :info:configure checking qhull/libqhull.h presence... no
 :info:configure checking for qhull/libqhull.h... no
 :info:configure checking libqhull.h usability... no
 :info:configure checking libqhull.h presence... no
 :info:configure checking for libqhull.h... no
 :info:configure checking qhull/qhull.h usability... no
 :info:configure checking qhull/qhull.h presence... no
 :info:configure checking for qhull/qhull.h... no
 :info:configure checking qhull.h usability... no
 :info:configure checking qhull.h presence... no
 :info:configure checking for qhull.h... no
 :info:configure configure: WARNING: Qhull library not found -- this will
 result in loss of functionality of some geometry functions.
 :info:configure checking pcre.h usability... no
 :info:configure checking pcre.h presence... no
 :info:configure checking for pcre.h... no
 :info:configure checking pcre/pcre.h usability... no
 :info:configure checking pcre/pcre.h presence... no
 :info:configure checking for pcre/pcre.h... no
 :info:configure checking whether pcre.h defines the macros we need... no
 :info:configure configure: error: to build Octave, you must have the PCRE
 library and header files installed
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_math_octave-devel/octave-devel/work/octave-3.6.4" &&
 ./configure --prefix=/opt/local --disable-dependency-tracking --with-
 umfpack="-lumfpack -lSuiteSparse" --with-blas="-lcblas -lf77blas -latlas"
 --disable-docs --without-x --without-opengl --with-cholmod="-lcholmod"
 :info:configure Exit code: 1
 }}}

 Looks like some CPPFLAGS are not being set, as both qhull and pcre headers
 can't be found.

 As I had 3.6.4_6 +atlas +gcc47 darwin_10, working, but I followed the
 troubleshooting advice and removed it to re-attempt installing the current
 version. Rebuilding it using the old Portfile...

--

Comment:

 Please attach the main.log file.

-- 
Ticket URL: <https://trac.macports.org/ticket/40250#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list