This repository was archived by the owner on Jan 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Fail to install SEAPI on Linux #23
Copy link
Copy link
Open
Labels
Description
I have tried community expected intuitive way to build cmake-powered project, i.e.:
git clone https://github.com/intel/IntelSEAPI.git seapi && cd seapi
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/home/dvrogozh/git/github/sea_install ..
make -j8
make install
While configuration and build succeeded, make install failed:
# make install
[ 23%] Built target ittnotify
[ 61%] Built target IntelSEAPI
[100%] Built target sea_itt_lib
Install the project...
-- Install configuration: ""
-- Installing: /home/dvrogozh/git/github/sea_install/./README.txt
-- Installing: /home/dvrogozh/git/github/sea_install/./include
-- Installing: /home/dvrogozh/git/github/sea_install/./include/ittnotify.f90
-- Installing: /home/dvrogozh/git/github/sea_install/./include/ittnotify.h
-- Installing: /home/dvrogozh/git/github/sea_install/./include/jitprofiling.h
-- Installing: /home/dvrogozh/git/github/sea_install/./include/legacy
-- Installing: /home/dvrogozh/git/github/sea_install/./include/legacy/ittnotify.h
-- Installing: /home/dvrogozh/git/github/sea_install/./include/libittnotify.h
-- Installing: /home/dvrogozh/git/github/sea_install/./include/llvm_jit_event_listener.hpp
-- Installing: /home/dvrogozh/git/github/sea_install/include/itt_notify.hpp
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/sea.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/sea_runtool.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/strings.py
### Install /home/dvrogozh/git/github/IntelSEAPI/runtool/*.py to runtool:
/home/dvrogozh/git/github/IntelSEAPI/runtool/sea.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/sea_runtool.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/strings.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/csv.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/etw.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/ftrace.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/mac_log.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/osx.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/perf.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/pprof_importer.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/qnx.py
### Install /home/dvrogozh/git/github/IntelSEAPI/runtool/importers/*.py to runtool/importers:
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/csv.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/etw.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/ftrace.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/mac_log.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/osx.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/perf.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/pprof_importer.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/qnx.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/importers/pprof_importer/profile.py
### Install /home/dvrogozh/git/github/IntelSEAPI/runtool/importers/pprof_importer/*.py to runtool/importers/pprof_importer:
/home/dvrogozh/git/github/IntelSEAPI/runtool/importers/pprof_importer/profile.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/exporters/BestTraceFormat.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/exporters/ChromeTracing.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/exporters/DGML.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/exporters/GraphViz.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/exporters/QtCreatorProfiler.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/exporters/Stat.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/exporters/memory.py
### Install /home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/*.py to runtool/exporters:
/home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/BestTraceFormat.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/ChromeTracing.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/DGML.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/GraphViz.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/QtCreatorProfiler.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/Stat.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/exporters/memory.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/collectors/android.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/collectors/ftrace.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/collectors/osx.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/collectors/win.py
### Install /home/dvrogozh/git/github/IntelSEAPI/runtool/collectors/*.py to runtool/collectors:
/home/dvrogozh/git/github/IntelSEAPI/runtool/collectors/android.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/collectors/ftrace.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/collectors/osx.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/collectors/win.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/decoders/Adreno.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/decoders/MSNT_SystemTrace.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/decoders/PVR.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/decoders/SteamVR.py
-- Installing: /home/dvrogozh/git/github/sea_install/runtool/decoders/i915.py
### Install /home/dvrogozh/git/github/IntelSEAPI/runtool/decoders/*.py to runtool/decoders:
/home/dvrogozh/git/github/IntelSEAPI/runtool/decoders/Adreno.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/decoders/MSNT_SystemTrace.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/decoders/PVR.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/decoders/SteamVR.py
/home/dvrogozh/git/github/IntelSEAPI/runtool/decoders/i915.py
CMake Error at cmake_install.cmake:107 (file):
file INSTALL cannot find "/home/dvrogozh/git/github/IntelSEAPI/bin".
make: *** [install] Error 1
Other comments:
- ./README.txt - installation location is invalid (with --prefix=/usr it will land in /usr which is wrong), please, change to $DOCDIR, i.e. $DOCDIR/seapi/README.txt, usually /usr/doc/seapi/README.txt
- include/ittnotify.f90 and others - installation location is invalid, please, make sure to install things as 'include/seapi/ittnotify.f90', i.e. in separate seapi folder
- runtool/sea.py - location is invalid, this stuff should eventually be in $LIBEXECDIR/seapi, usually /usr/libexec/seapi/sea.py
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.