Facebook's Scribe Server - Compile Error
I'm currently trying to get **Facebook's Scribe-Server** up and running on my **Ubuntu 10.04.3 LTS Amazon AWS machine**. I've been going through the following guide:

[http://vccv.posterous.com/installing-thrift-scribe-on-ubuntu-lucid-1004][1]

The first problem I faced was that the following didn't work:

> git reset 720186cd456a2cd97f606202c46fefb9efb68ddb --hard

Git would barf the following when run:

> fatal: Could not parse object '720186cd456a2cd97f606202c46fefb9efb68ddb'.

So I read the comments on the guide, and someone said he/she used the following instead:

> git reset 7e9ac7bf593a71b05b0879ddc34aaf82509052bb --hard

Low and behold, it worked. I then continued through the guide and got thrift compiled and installed successfully. =)

Now the problem: After **git-cloning** scribe and running **bootstrap.sh** I get the following error on **make**:

>     In file included from /usr/include/boost/function/function_base.hpp:21,
>                      from /usr/include/boost/function/detail/prologue.hpp:17,
>                      from /usr/local/include/boost/function.hpp:24,
>                      from /usr/include/boost/iterator/transform_iterator.hpp:10,
>                      from /usr/include/boost/algorithm/string/case_conv.hpp:17,
>                      from /usr/include/boost/algorithm/string.hpp:20,
>                      from conf.cpp:22:
>     /usr/include/boost/integer_fwd.hpp:88: error: template parameter âlong int MaxValueâ
>     /usr/local/include/boost/integer.hpp:169: error: redeclared here as âlong long int MaxValueâ
>     /usr/include/boost/integer_fwd.hpp:91: error: template parameter âlong int MinValueâ
>     /usr/local/include/boost/integer.hpp:191: error: redeclared here as âlong long int MinValueâ
>     /usr/include/boost/integer_fwd.hpp:94: error: template parameter âlong unsigned int Valueâ
>     /usr/local/include/boost/integer.hpp:214: error: redeclared here as âlong long unsigned int MaxValueâ
>     conf.cpp: In member function âstd::ostream& StoreConf::print(std::ostream&, uint32_t, bool, uint32_t) constâ:
>     conf.cpp:313: warning: unused variable âlenâ
>     make[3]: *** [conf.o] Error 1
>     make[3]: Leaving directory `/*/*/scribe/src'
>     make[2]: *** [all] Error 2
>     make[2]: Leaving directory `/*/*/scribe/src'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/*/*/scribe'
>     make: *** [all] Error 2

Any ideas? All the necessary prerequisites are installed.

  [1]: http://vccv.posterous.com/installing-thrift-scribe-on-ubuntu-lucid-1004
Facebook's Scribe Server - Compile Error
===

I'm currently trying to get **Facebook's Scribe-Server** up and running on my **Ubuntu 10.04.3 LTS Amazon AWS machine**. I've been going through the following guide:

[http://vccv.posterous.com/installing-thrift-scribe-on-ubuntu-lucid-1004][1]

The first problem I faced was that the following didn't work:

> git reset 720186cd456a2cd97f606202c46fefb9efb68ddb --hard

Git would barf the following when run:

> fatal: Could not parse object '720186cd456a2cd97f606202c46fefb9efb68ddb'.

So I read the comments on the guide, and someone said he/she used the following instead:

> git reset 7e9ac7bf593a71b05b0879ddc34aaf82509052bb --hard

Low and behold, it worked. I then continued through the guide and got thrift compiled and installed successfully. =)

Now the problem: After **git-cloning** scribe and running **bootstrap.sh** I get the following error on **make**:

>     In file included from /usr/include/boost/function/function_base.hpp:21,
>                      from /usr/include/boost/function/detail/prologue.hpp:17,
>                      from /usr/local/include/boost/function.hpp:24,
>                      from /usr/include/boost/iterator/transform_iterator.hpp:10,
>                      from /usr/include/boost/algorithm/string/case_conv.hpp:17,
>                      from /usr/include/boost/algorithm/string.hpp:20,
>                      from conf.cpp:22:
>     /usr/include/boost/integer_fwd.hpp:88: error: template parameter âlong int MaxValueâ
>     /usr/local/include/boost/integer.hpp:169: error: redeclared here as âlong long int MaxValueâ
>     /usr/include/boost/integer_fwd.hpp:91: error: template parameter âlong int MinValueâ
>     /usr/local/include/boost/integer.hpp:191: error: redeclared here as âlong long int MinValueâ
>     /usr/include/boost/integer_fwd.hpp:94: error: template parameter âlong unsigned int Valueâ
>     /usr/local/include/boost/integer.hpp:214: error: redeclared here as âlong long unsigned int MaxValueâ
>     conf.cpp: In member function âstd::ostream& StoreConf::print(std::ostream&, uint32_t, bool, uint32_t) constâ:
>     conf.cpp:313: warning: unused variable âlenâ
>     make[3]: *** [conf.o] Error 1
>     make[3]: Leaving directory `/*/*/scribe/src'
>     make[2]: *** [all] Error 2
>     make[2]: Leaving directory `/*/*/scribe/src'
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/*/*/scribe'
>     make: *** [all] Error 2

Any ideas? All the necessary prerequisites are installed.

  [1]: http://vccv.posterous.com/installing-thrift-scribe-on-ubuntu-lucid-1004