I am trying to install Scribe on my centos5, I have done all of the
prerequisites, unfortunately I got a compiling error when I installing
the Scribe server, following is the error information, I have no idea
about this, your help or supporting is huge meaning to me!
[root@localhost scribe-2.1]# make && make install
make all-recursive
make[1]: Entering directory `/root/dw/scribe-2.1'
Making all in .
make[2]: Entering directory `/root/dw/scribe-2.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/dw/scribe-2.1'
Making all in src
make[2]: Entering directory `/root/dw/scribe-2.1/src'
/usr/local/bin/thrift -o . -I /usr/local/share/ --cpp --py --php ../
if/scribe.thrift
[WARNING:arguments:1] -cpp is deprecated. Use --gen cpp
[WARNING:arguments:1] -py is deprecated. Use --gen py
[WARNING:arguments:1] -php is deprecated. Use --gen php
[WARNING:/root/dw/scribe-2.1/if/scribe.thrift:20] Could not find
include file fb303/if/fb303.thrift
[ERROR:/root/dw/scribe-2.1/if/scribe.thrift:36] (last token was
'fb303.FacebookService')
Service "fb303.FacebookService" has not been defined.
make[2]: *** [gen-cpp/scribe_types.cpp] Error 1
make[2]: Leaving directory `/root/dw/scribe-2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dw/scribe-2.1'
make: *** [all] Error 2
I also attached the related installation detailed, hope it'll be
helpful:
#php5.3.5 and java6.24 already installed.
#yum -y install automake libtool flex bison pkgconfig gcc-c++ boost-
devel libevent-devel zlib-devel python-devel ruby-devel libxml2
libxml2-devel
#rpm -qa | grep libtool | rpm -e --nodeps $(xargs)
#curl
http://ftp.gnu.org/gnu/libtool/libtool-2.2.8.tar.gz | tar zxv
#cd libtool-2.2.8/ && ./configure && make && make install
Boost
#wget
http://downloads.sourceforge.net/project/boost/boost/1.46.0/boost_1_46_0.tar.gz
#tar -xzvf boost_1_46_0.tar.gz
#cd boost_1_46_0
#./bootstrap.sh
#./bjam install --prefix=/usr/local/bootstrap
Thrift [0.5.0]
#wget
http://mirror.olnevhost.net/pub/apache//incubator/thrift/0.5.0-incubating/thrift-0.5.0.tar.gz
#tar -xzvf thrift-0.5.0.tar.gz
#cd thrift-0.5.0
#./configure --with-php-config=/usr/local/php5.3.5/bin/php-config --
with-java --prefix=/usr/local/thrift
#make && make install
FB303
# ./bootstrap.sh --prefix=/usr/local/thrift/fb303 --with-thriftpath=/
usr/local/thrift/ --with-boost=/usr/local/bootstrap/
#make && make install
Scribe
#wget
http://sourceforge.net/projects/scribeserver/files/Scribe/Scribe%20version%202.01/scribe-version-2.01.tar.gz/download?use_mirror=iweb
# tar -xzvf scribe-version-2.01.tar.gz
# cd scribe
# export BOOST_ROOT=/usr/local/bootstrap/
#export LD_LIBRARY_PATH=/usr/local/thrift/lib:/usr/local/lib:/usr/
local/bootstrap/lib
# ./bootstrap.sh --prefix=/usr/local/scribe --with-boost=/usr/local/
bootstrap/ --with-thriftpath=/usr/local/thrift/
#make && make install
Sincerely,
Tony