From ea524aa5628eceb642ba1c4d204eea586e1d200b Mon Sep 17 00:00:00 2001 From: tkwon Date: Wed, 4 Sep 2019 18:50:57 +0900 Subject: [PATCH] applied PR on scribe (https://github.com/facebookarchive/scribe/pull/83) --- bootstrap.sh | 2 +- configure.ac | 2 +- src/Makefile.am | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index f11ed2d7..062b24a4 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -2,4 +2,4 @@ # To be safe include -I flag autoreconf --force --verbose --install -./configure --config-cache $* +./configure --with-boost-system=boost_system --with-boost-filesystem=boost_filesystem --config-cache $* diff --git a/configure.ac b/configure.ac index b13a56b3..7bcaa755 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ AC_PREREQ(2.52) AC_INIT([scribe], [1.5.0]) AC_CONFIG_MACRO_DIR([aclocal]) -AM_INIT_AUTOMAKE([foreign -Wall]) +# AM_INIT_AUTOMAKE([foreign -Wall]) # To install locally FB_INITIALIZE([localinstall]) AC_PREFIX_DEFAULT([/usr/local]) diff --git a/src/Makefile.am b/src/Makefile.am index 35f9f090..81110278 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -54,6 +54,7 @@ endif # Set libraries external to this component. EXTERNAL_LIBS = -L$(thrift_home)/lib -L$(fb303_home)/lib -L$(hadoop_home)/lib -lfb303 -lthrift -lthriftnb EXTERNAL_LIBS += -levent -lpthread +EXTERNAL_LIBS += $(BOOST_SYSTEM_LIB) $(BOOST_FILESYSTEM_LIB) if USE_SCRIBE_HDFS EXTERNAL_LIBS += -lhdfs -ljvm endif