<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi,</p>
<p><b>OS</b>: <br>
</p>
<p>debian stable</p>
<p><b>Dune modules built</b>: <br>
</p>
<p>dune-fem dune-geometry dune-localfunctions dune-spgrid
dune-alugrid dune-fempy dune-grid dune-pdelab dune-typetree
dune-common dune-functions dune-istl dune-python dune-uggrid</p>
<p><b>Options</b>: (in config.opts)<br>
</p>
<p>BUILDDIR=build-cmake<br>
USE_CMAKE=yes<br>
MAKE_FLAGS=-j4<br>
CXXFLAGS="-O3 -DNDEBUG -funroll-loops -finline-functions -Wall
-ftree-vectorize -fno-stack-protector -mtune=native"<br>
CMAKE_FLAGS="-DCMAKE_CXX_FLAGS='$CXXFLAGS' \<br>
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \<br>
-DALLOW_CXXFLAGS_OVERWRITE=ON \<br>
-DENABLE_HEADERCHECK=OFF \<br>
-DUSE_PTHREADS=ON \<br>
-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE \<br>
-DCMAKE_DISABLE_DOCUMENTATION=TRUE \<br>
-DADDITIONAL_PIP_PARAMS="-upgrade" \<br>
-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS=TRUE \<br>
-DPYTHON_INSTALL_LOCATION="system"<br>
"</p>
<p>I'm also working within a python3 virtual environment. The build
completed without errors following this command:</p>
<p><i> ./dune-common/bin/dunecontrol --opts=config.opts all</i><br>
</p>
<p> but when trying to complete the dune-python installation with:</p>
<p><i> ./dune-python/bin/setup-dunepy.py --opts=config.opts
install</i></p>
<p>I get the following errors:</p>
<p> <i>Failed building wheel for dune.python</i><i><br>
</i><i> Cache entry deserialization failed, entry ignored</i><i><br>
</i><i> Cache entry deserialization failed, entry ignored</i><i><br>
</i><i> Cache entry deserialization failed, entry ignored</i><i><br>
</i><i> Failed building wheel for dune.fem</i><i><br>
</i><i> Failed building wheel for UFL</i><i><br>
</i><i> Failed building wheel for dune.spgrid</i><i><br>
</i><i> Failed building wheel for dune.alugrid</i><br>
<br>
Running <i>python test.py</i> in dune-python/demo returns the
following:</p>
<p> <i>configuration did not work: CMake Error at
CMakeLists.txt:8 (find_package):</i><i><br>
</i><i> By not providing "Finddune-common.cmake" in
CMAKE_MODULE_PATH this project</i><i><br>
</i><i> has asked CMake to find a package configuration file
provided by</i><i><br>
</i><i> "dune-common", but CMake did not find one.</i><i><br>
</i><i><br>
</i><i> Could not find a package configuration file provided by
"dune-common" with</i><i><br>
</i><i> any of the following names:</i><i><br>
</i><i><br>
</i><i> dune-commonConfig.cmake</i><i><br>
</i><i> dune-common-config.cmake</i><i><br>
</i><i><br>
</i><i> Add the installation prefix of "dune-common" to
CMAKE_PREFIX_PATH or set</i><i><br>
</i><i> "dune-common_DIR" to a directory containing one of the
above files. If</i><i><br>
</i><i> "dune-common" provides a separate development package or
SDK, be sure it</i><i><br>
</i><i> has been installed.</i></p>
<p>Tried setting CMAKE_PREFIX_PATH to the installation prefix of
dune-common and configuring again but still the same errors. <br>
</p>
<p>I'm surprised the configuration script is not finding the
dune-common location automatically. Also, the two files
dune-commonConfig.cmake and dune-common-config.cmake are nowhere
to be found in the modules folders. Is there more to it than the
official instructions on the website? Strangely enough some of the
dependency checks of setup-dunepy.py ask for module versions
>=2.8</p>
<p>Thanks in advance,</p>
<p>Ziad<br>
</p>
</body>
</html>