Open subhacom opened 5 years ago
Other than throwing the error, it actually builds a usable module - I can add "__moose-core_build/python/build/lib/" from the build dir in PYTHONPATH and then moose can be imported in Python.
The install_layout=deb
option is added to install command when host is a debian based system.
It is throwing this error because, most likely, the Linux subsystem is not debian based but cmake is detecting as debian. Can you post the output of following command:
$ python -m platform
If it contains 'Debian|Ubuntu' but WSL is not debian based, then it is a bug with python's platform module.
Relevant lines in top-level CMakeLists.txt:
python -m platform
to detect platform.--install-layout=deb
is added if 'Debian' or 'Ubuntu' is found
in line 343.cheers, Dilawar
-- On Mon, Nov 11, 2019 at 01:56:58PM -0800, subhacom wrote:
Other than throwing the error, it actually builds a usable module - I can add "__moose-core_build/python/build/lib/" from the build dir in PYTHONPATH and then moose can be imported in Python.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.
References
Visible links
- https://github.com/BhallaLab/moose-core/issues/377?email_source=notifications&email_token=AAG2VQKWRCESRCZM2ULQ3XTQTHIKVA5CNFSM4JLZ2D4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDYITEQ#issuecomment-552634770
- https://github.com/notifications/unsubscribe-auth/AAG2VQLZGWTAG54GTETS7LLQTHIKVANCNFSM4JLZ2D4A
Stale issue message
The build process fails with failure: "command 'install' has no such option 'install_layout'" `copying moose/neuroml2/schema/NeuroMLCoreDimensions.xml -> build/lib/moose/neuroml2/schema
copying moose/chemUtil/rainbow2.pkl -> build/lib/moose/chemUtil
error: error in setup.cfg: command 'install' has no such option 'install_layout'
CMakeFiles/bdist.dir/build.make:60: recipe for target 'bdist/pymoose-3.2.0-pre0-66-gfe3500d.CMAKE.tar.gz' failed
make[5]: *** [bdist/pymoose-3.2.0-pre0-66-gfe3500d.CMAKE.tar.gz] Error 1 CMakeFiles/Makefile2:936: recipe for target 'CMakeFiles/bdist.dir/all' failed
make[4]: *** [CMakeFiles/bdist.dir/all] Error 2 Makefile:162: recipe for target 'all' failed
make[3]: *** [all] Error 2`