# mpool cmake program keep errors finaly I don't understant why cmake keep errors who seems repairs

**URL:** <https://discourse.cmake.org/t/mpool-cmake-program-keep-errors-finaly-i-dont-understant-why-cmake-keep-errors-who-seems-repairs/3330>\
**Category:** Code\
**Tags:** os:linux, gen:makefiles\
**Created:** [May 14, 2021, 7:20pm UTC](https://discourse.cmake.org/t/mpool-cmake-program-keep-errors-finaly-i-dont-understant-why-cmake-keep-errors-who-seems-repairs/3330 "2021-05-14T19:20:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azaretdodo](https://discourse.cmake.org/user_avatar/discourse.cmake.org/azaretdodo/32/1451_2.png) [@Azaretdodo](https://discourse.cmake.org/u/Azaretdodo)\
**Post date:** [May 14, 2021, 7:20pm UTC](https://discourse.cmake.org/t/mpool-cmake-program-keep-errors-finaly-i-dont-understant-why-cmake-keep-errors-who-seems-repairs/3330/1 "2021-05-14T19:20:43Z")

</div>

Hello,

I am in work on mpool program for add solid state peripherial to open mpi program :

I keep errors following :

> ""CMake Error at CMakeLists.txt:221 (add\_subdirectory):
> 
> add\_subdirectory given source “scritps/udev/” which is not an existing
> 
> directory.
> 
> ##this error i don’t understant because they have both udev file and folder##
> 
> CMake Error at CMakeLists.txt:222 (add\_subdirectory):
> 
> The source directory
> 
> /etc/mpool/scripts/udev/rules.d
> 
> does not contain a CMakeLists.txt file.
> 
> ##This command line don’t answer error ‘‘touch …/scripts/udev/rules.d/CMakeLists.txt’’##
> 
> CMake Error at CMakeLists.txt:225 (add\_subdirectory):
> 
> add\_subdirectory given source “scripts/CMakesLists.txt” which is not an
> 
> existing directory.
> 
> CMake Error at CMakeLists.txt:231 (include):
> 
> include could not find load file:
> 
> scripts
> 
> CMake Error at CMakeLists.txt:232 (include):
> 
> include could not find load file:
> 
> /scripts/udev
> 
> CMake Error at CMakeLists.txt:233 (include):
> 
> include could not find load file:
> 
> /scripts/udev/rules.d""

Thank you in advance to help myself go more far,

Regards.

Dorian ROSSE.

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [May 14, 2021, 8:06pm UTC](https://discourse.cmake.org/t/mpool-cmake-program-keep-errors-finaly-i-dont-understant-why-cmake-keep-errors-who-seems-repairs/3330/2 "2021-05-14T20:06:24Z")

</div>

This looks like a problem for upstream, not CMake. Have you initialized the submodules (if any)?

---

<div class="post-metadata">

**Author:** ![Azaretdodo](https://discourse.cmake.org/user_avatar/discourse.cmake.org/azaretdodo/32/1451_2.png) [@Azaretdodo](https://discourse.cmake.org/u/Azaretdodo)\
**Post date:** [May 15, 2021, 9:01am UTC](https://discourse.cmake.org/t/mpool-cmake-program-keep-errors-finaly-i-dont-understant-why-cmake-keep-errors-who-seems-repairs/3330/3 "2021-05-15T09:01:04Z")

</div>

Hello Ben,

Do you know how to initialize the submodule ?

I was only use “./configure” And "cmake… " For initialize,

Thanks you in advance for your soon explaining,

Regards.

Dorian Rosse.

Télécharger [Outlook pour Android](https://aka.ms/AAb9ysg)

---

<div class="post-metadata">

**Author:** ![Azaretdodo](https://discourse.cmake.org/user_avatar/discourse.cmake.org/azaretdodo/32/1451_2.png) [@Azaretdodo](https://discourse.cmake.org/u/Azaretdodo)\
**Post date:** [May 15, 2021, 2:13pm UTC](https://discourse.cmake.org/t/mpool-cmake-program-keep-errors-finaly-i-dont-understant-why-cmake-keep-errors-who-seems-repairs/3330/4 "2021-05-15T14:13:53Z")

</div>

I need a soon and latest cmake like it is type by cmake header by cmake dot dot command line :

> cmake …  
> CMake Deprecation Warning at CMakeLists.txt:9 (cmake\_policy):  
> The OLD behavior for policy CMP0046 will be removed from a future version  
> of CMake.
> 
> The cmake-policies(7) manual explains that the OLD behaviors of all  
> policies are deprecated and that a policy should be set to OLD only under  
> specific short-term circumstances. Projects should be ported to the NEW  
> behavior and not rely on setting a policy to OLD.
> 
> – Configuring project mpool common…  
> – Enabling valgrind support  
> – Configuring mpool in /etc/mpool/src/mpool  
> – Configuring mpool in /etc/mpool/src/mptest  
> – Configuring ui /etc/mpool/src/cli  
> – Configuring mcache\_api in /etc/mpool/test/test\_apps/mcache\_api  
> – Configuring mpiotest in /etc/mpool/test/test\_apps/mpiotest  
> – Configuring ui /etc/mpool/test/test\_apps/mpft  
> – Configuring mpool samples in /etc/mpool/samples  
> CMake Error at CMakeLists.txt:221 (add\_subdirectory):  
> add\_subdirectory given source “scritps/udev/” which is not an existing  
> directory.
> 
> ##This string of directory is ever on the root of scripts##

Thank you in advance to deploy the latest cmake I need like it is type by policy CMP0046,

Regards.

Dorian ROSSE.
