Urgently, I got a error when compiled Scribe on my CentOS.

625 views
Skip to first unread message

Tony

unread,
Mar 1, 2011, 2:40:37 AM3/1/11
to Scribe Server
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

sra...@cloudera.com

unread,
May 8, 2013, 6:21:24 PM5/8/13
to scribe...@googlegroups.com
Hi Tony, 

Were you able to resolve this issue? I am facing the same issue as well. 

Thanks!

Kenneth Williams

unread,
May 8, 2013, 6:35:21 PM5/8/13
to scribe...@googlegroups.com
Here is my spec file for RHEL5, so far it's worked fine on 5.5-5.7. It
builds scribe 2.2, adapted from Silas Sewell's 2.01 spec. I can dig
out my 2.1 spec if you really want that version.

https://gist.github.com/happydrgn/5544202
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Scribe Server" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scribe-serve...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Reply all
Reply to author
Forward
0 new messages