From 95979124bf99c8fa2abc0a8deb182bd37a565ce4 Mon Sep 17 00:00:00 2001
From: Navid Nikaein <navid.nikaein@eurecom.fr>
Date: Thu, 4 Dec 2014 23:28:29 +0000
Subject: [PATCH] add libtoolize for epc build

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6173 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/build_helper.bash | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/targets/build_helper.bash b/targets/build_helper.bash
index 4909d384ab..c0839ba4a1 100755
--- a/targets/build_helper.bash
+++ b/targets/build_helper.bash
@@ -549,7 +549,7 @@ check_install_epc_software() {
 	test_install_package make
 	test_install_package openssh-client
 	test_install_package openssh-server
-        sudo service ssh start
+        $SUDO service ssh start
 	test_install_package openssl
 	test_install_package openvpn
 	test_install_package pkg-config
@@ -562,6 +562,7 @@ check_install_epc_software() {
 	test_install_package unzip
 	test_install_package valgrind
 	test_install_package vlan
+	test_install_package libtool 
 	
 	if [ $OAI_INSTALLED = 1 ]; then 
 	    touch ./.lock_oaibuild
@@ -661,7 +662,8 @@ compile_epc() {
             mkdir -m 777 m4
         fi
         echo_success "Invoking autogen"
-        bash_exec "./autogen.sh"
+        bash_exec "libtoolize"        
+	bash_exec "./autogen.sh"
         cd ./$OBJ_DIR
         echo_success "Invoking configure"
         ../configure --enable-standalone-epc --enable-raw-socket-for-sgi  LDFLAGS=-L/usr/local/lib
-- 
GitLab