Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong assignment of binary packages dir ? #381

Open
rtrepos opened this issue Sep 19, 2019 · 4 comments
Open

Wrong assignment of binary packages dir ? #381

rtrepos opened this issue Sep 19, 2019 · 4 comments

Comments

@rtrepos
Copy link
Member

rtrepos commented Sep 19, 2019

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

@quesnel
Copy link
Member

quesnel commented Sep 19, 2019 via email

@rtrepos
Copy link
Member Author

rtrepos commented Sep 19, 2019

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 :

rtrepos@57ac7b3

@quesnel
Copy link
Member

quesnel commented Sep 20, 2019

Can you give me the Debian stable docker image to perform test?

@rtrepos
Copy link
Member Author

rtrepos commented Sep 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants