[Dune] error installing svn-version of dune, "configure: error: pkg-config is required for using installed modules"

Tatiana Voitovich tvoitovich at uct.cl
Tue Jun 24 12:25:57 CEST 2008

Dear Dune,

I would like to try to work with the svn-version of dune, because then
dune-disk package (the possibility to define hierarchical bases and basis
sets in general)
could be used for the implementation of local discontinuous Galerkin
methods (LDG) for nonlinear
convection-diffusion equations, that we would like to do.

Could you please kindly help me with the following error appering while
installing the dune via svn on MAC OS X 10.5 Leopard.

The configuration ./dune-common/ bin/dunecontrol all
fails, the last lines of diagnostics and future commands corresponding to
pkg-config are as follows:

checking dsp_defs.h usability... no
checking dsp_defs.h presence... no
checking for dsp_defs.h... no
configure: WARNING: dsp_defs.h not found in /usr/local/SRC with 
checking SuperLU in /usr/local... failed
checking for SuperLUDist library... checking superlu_ddefs.h usability... no
checking superlu_ddefs.h presence... no
checking for superlu_ddefs.h... no
configure: WARNING: superlu_ddefs.h not found in /usr/local/SRC with 
checking SuperLUDist in /usr/local... failed
checking for METIS library... failed
./configure: line 26217: PKG_PROG_PKG_CONFIG: command not found
checking for dune-istl installation or source tree... failed
configure: could not search for module dune-istl
configure: error: pkg-config is required for using installed modules
--- Failed to build dune-disc ---
Execution of dunecontrol terminated due to errors!

 >echo $PATH

 >ls /usr/local/ bin
aclocal         automake-1.10   duneproject     mpi-config
aclocal-1.10    dunecontrol     libtool         pkg-config
automake        dunemodules.inc libtoolize      texdist

>pkg-config --version


I would appreciate your answer very much

With best regards,

More information about the Dune mailing list