-
Notifications
You must be signed in to change notification settings - Fork 53
Fail to install SEAPI on Linux #23
Comments
please use "python ./buildall.py" |
No. That's actually a feedback: drop the wrapper or at least support direct cmake build and wrapper at the same time. That's important. |
Yep, very important. We shouldn't require python to be installed - and all its versioning pain - just to do a cmake install. |
You will inevitably need python to run SEAPI collection and transformation. It is written in python. So there's no way to avoid it anyways. But if anyone is willing to contribute, please be aware that prerequisite checks that are written in python (see buildall.py) will be quite challenging to express in cmake. However I do believe it is possible. Just not as simple as in python. |
@araud : you are forgetting the following use case: the one may not want to collect any data at all, but build and distribute a software with the ability to collect data. I.e.:
In this case I don't care about python at all. The only thing I care is .h, .a (or .so) and .pc files to build my package. |
That's right. But complexity of the prereqs checks is still there. So if anyone has time to separate ITT build from the rest (which should dramatically simplify the prereq checks part) - that indeed would allow to build without python involved. |
This issue is about installing seapi. If you have python as prerequisite, so be it. But why you fail to install the project? This gives a complexity to other projects and reduces adoption of the ITT and SEAPI. Please, fix. |
@araud If I'm using SEAPI python collectors. Besides, installation and usage isn't necessarily the same system. Indeed, good practice is to make sure one can function without the other. |
I have tried community expected intuitive way to build cmake-powered project, i.e.:
While configuration and build succeeded,
make install
failed:Other comments:
I strongly recommend to review this: https://cmake.org/cmake/help/v3.10/module/GNUInstallDirs.html. Make sure to use only these locations and use this cmake extension.
The text was updated successfully, but these errors were encountered: