vle
vle copied to clipboard
Wrong assignment of binary packages dir ?
In Context::getBinaryPackagesDir, two directory paths are provided for
- the user pkgs dir built as : VLE_HOME/pkgs
- the system pkgs dir (in install dir) built as : PREFIX/lib/vle-2.1/pkgs
On ubuntu 18.04 cmake version 3.10.2, it is OK On Debian GNU/Linux 10, cmake version 3.13.4 (in a docker container), the system pkgs dir is not ok.
On Debian, The system pkgs are installed in PREFIX/lib/x86_64-linux-gnu/vle-2.1/pkgs Is this a cmake concern or debian ? maybe information is given by cmake :
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
On Debian:
- the system packages directory does not exist ?
- what CMake option is used in CLI ?
The cmake commad used is :
cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo DWITH_CVLE=ON -DWITH_GVLE=OFF ..
the directory /usr/lib/vle-2.1 does not exist but the /usr/lib/x86_64-linux-gnu/vle-2.1/ does exist.
This temporary patch worked :
https://github.com/rtrepos/vle/commit/57ac7b3aa94da54249446568e714e6b32ec9f85c
Can you give me the Debian stable docker image to perform test?
Yes you can find the recipe here :
https://forgemia.inra.fr/record/azodyn/blob/siwaa/siwaa_recipe/container/Dockerfile