mcrouter icon indicating copy to clipboard operation
mcrouter copied to clipboard

compile failed on centos7.2

Open shizhoulong356 opened this issue 7 years ago • 6 comments

I git clone the master and wanna compile the mcroute on centos. while i use the scriptes: ./install_centos_7.2.sh /opt/mcroute, it always failed: image so, what's the problems

shizhoulong356 avatar Apr 05 '18 12:04 shizhoulong356

Hi @shizhoulong356 ! I added this UTF8String.h file yesterday but forgot to mention this new filename in the makefile. There was a Folly PR created and merged shortly afterwards, which fixed it.

Could you give this another try, with the latest Folly sources? Thanks!

https://github.com/facebook/folly/pull/813

elsteveogrande avatar Apr 05 '18 20:04 elsteveogrande

I try again , but image

can i use the master source code compile success on centos 7.2 one time ? It almost drive me crazy

shizhoulong356 avatar Apr 07 '18 09:04 shizhoulong356

https://inside-out.xyz/technology/memcached-protocol-router-rpm-for-centos-7.html

RPM for everybody, enjoy if you still need it.

daniel-lucio avatar Sep 24 '18 23:09 daniel-lucio

@daniel-lucio while i used the repo on centos7.2 image

shizhoulong356 avatar Sep 27 '18 07:09 shizhoulong356

You will need to update.

rPMs were done using mock. I have installed on different, updated systems.

Also, my report needs epel repo as well.

daniel-lucio avatar Sep 27 '18 12:09 daniel-lucio

I had the same issue, commented these checks out in configure.ac and the build worked: +#AC_CHECK_LIB([folly],[getenv],[],[AC_MSG_ERROR( +# [Please install the folly library])]) +#AC_CHECK_LIB([sodium],[sodium_init],[],[AC_MSG_ERROR( +# [Please install the libsodium library])]) +#AC_CHECK_LIB([fizz],[getenv],[],[AC_MSG_ERROR( +# [Please install the fizz library])]) +#AC_CHECK_HEADER([folly/Likely.h], [], [AC_MSG_ERROR( +#[Couldn't find folly, please download from https://github.com/facebook/folly] +#)], [])

sergmour avatar Sep 27 '18 16:09 sergmour