@@ -88,7 +88,17 @@ compiled objects and all files generated by CMake.
1.6 By default, installation prefix is "/usr/local". It can be changed using
-D_INSTALL_PREFIX= as a CMake Command-Line option (see the example below).
-1.7 In order to uninstall KernelShark do:
+2. To install libkshark-devel do:
+ sudo ./install_libkshark-devel.sh
+
+ This will install all components needed in order to use "libkshark".
+ Note that if you just use:
+
+ sudo make install
+
+ this will install both the GUI and libkshark-devel.
+
+3. In order to uninstall KernelShark (no matter what has been installed) do:
cd kernel-shark/build
./cmake_uninstall.sh
@@ -1 +1,5 @@
-sudo cmake -DCOMPONENT=libkshark-devel -P cmake_install.cmake
+if cmake -DCOMPONENT=libkshark-devel -P cmake_install.cmake; then
+ echo "libkshark-devel installed correctly"
+else
+ exit 1
+fi
So far "install_libkshark-devel.sh" was an unofficial script that was used to help installing the "libkshark-devel" component. It was introduced, because the CMake syntax for doing this is quite hard to memorize. Here we make this script an integrated part of the build system. The message output is made consistent with the messages printed by "install_gui.sh". The usage of the script is explained in README. Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com> --- README | 12 +++++++++++- build/install_libkshark-devel.sh | 6 +++++- 2 files changed, 16 insertions(+), 2 deletions(-)