Opened 11 years ago

Last modified 11 years ago

#40250 closed defect

octave-devel configure failure: to build Octave, you must have the PCRE library and header files installed — at Version 1

Reported by: Schamschula (Marius Schamschula) Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: octave-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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...

Change History (1)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: octave-devel added
Summary: octave-devel configure failureoctave-devel configure failure: to build Octave, you must have the PCRE library and header files installed

Please attach the main.log file.

Note: See TracTickets for help on using tickets.