From 9e8ad4923b311432d50aab2998538fd65b70a6f3 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Wed, 1 Aug 2018 16:36:35 +0200 Subject: [PATCH] fix install on centOS - install package 'vim-common' to have 'xxd' needed by the compilation process of the T tracer - change the way xxd is called so that no file is created in case of error --- cmake_targets/tools/build_helper | 2 +- common/utils/T/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake_targets/tools/build_helper b/cmake_targets/tools/build_helper index 4b0ea9cc6b..5ddce2340b 100755 --- a/cmake_targets/tools/build_helper +++ b/cmake_targets/tools/build_helper @@ -597,7 +597,7 @@ check_install_oai_software() { echo "EPEL repos not present. Installing them." $SUDO $INSTALLER install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm fi - $SUDO $INSTALLER install -y python-epdb + $SUDO $INSTALLER install -y python-epdb vim-common else $SUDO $INSTALLER install -y mscgen pydb fi diff --git a/common/utils/T/Makefile b/common/utils/T/Makefile index dcb0d12fab..5e1785ea91 100644 --- a/common/utils/T/Makefile +++ b/common/utils/T/Makefile @@ -13,7 +13,7 @@ $(GENIDS): $(GENIDS_OBJS) $(CC) $(CFLAGS) -c -o $@ $< T_messages.txt.h: T_messages.txt - xxd -i T_messages.txt > T_messages.txt.h + xxd -i T_messages.txt T_messages.txt.h T_IDs.h: $(GENIDS) T_messages.txt ./$(GENIDS) T_messages.txt T_IDs.h -- GitLab