<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<p dir="ltr">Thank Carsten for your help!</p>
<p dir="ltr">Marco</p>
<div class="x_quote">Il 19/mar/2014 11:34 =?ISO-8859-1?Q?Carsten_Gr=E4ser?= <graeser@math.fu-berlin.de> ha scritto:<br type="attribution">
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Marco,<br>
<br>
Am 19.03.2014 12:21, schrieb Agnese, Marco:<br>
> Hello DUNErs,<br>
> I am trying to compile a module in a folder different from the one<br>
> where I have installed the DUNE core modules. I have set<br>
> DUNE_CONTROL_PATH equal to the path of the core modules; duneproject<br>
> works fine but when I run dunecontrol I have the following error<br>
> message:<br>
> <br>
> --- going to build dune-test ---<br>
> --- calling all for dune-test ---<br>
> ERROR: could not find /dune.module<br>
> --- Failed to build dune-test ---<br>
> Terminating dunecontrol due to previous errors!<br>
> <br>
> Is it related to the fact that I haven't set PKG_CONFIG_PATH? I do<br>
> not know how to set up this variable.<br>
excerpt from 'dune-control --help'<br>
<br>
[...]<br>
Execute COMMANDS for all Dune modules found. All entries in the<br>
DUNE_CONTROL_PATH variable are scanned recursively for Dune modules.<br>
If DUNE_CONTROL_PATH is empty, the current directory is scanned.<br>
Dependencies are controlled by the dune.module files.<br>
[...]<br>
<br>
So if you have set DUNE_CONTROL_PATH to the path of the core modules<br>
you must also add your modules path to it (mind the 3rd sentence).<br>
I hope this solves your problem.<br>
<br>
Best,<br>
Carsten<br>
<br>
</div>
</span></font>
</body>
</html>