thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch huang <justlo...@gmail.com>
Subject ERROR: Could not find a valid gem 'lib/rb/thrift*.gem' (>= 0) in any repository when build rpm package
Date Thu, 23 Jan 2014 01:31:09 GMT
hi,maillist :
           i can not use rpm package of thrift 0.9.0.1,so i build by
myself,but when i run rpmbuild ,it build failed,i get thrift from github



[root@CH36 SPECS]# rpmbuild -ba thrift.spec

thread
libtool: link: g++ -Wall -O2 -g -o .libs/TutorialClient CppClient.o
-L/usr/lib ./.libs/libtutorialgencpp.a
/root/rpmbuild/BUILD/thrift-0.9.1/lib/cpp/.libs/libthrift.so
../../lib/cpp/.libs/libthrift.so -lssl -lcrypto -lrt -lpthread -Wl,-rpath
-Wl,/usr/lib64
make[3]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial/cpp'
make[3]: Entering directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial'
../compiler/cpp/thrift --gen html -r ../tutorial/tutorial.thrift
make[3]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial'
make[2]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial'
Making all in tutorial
make[2]: Entering directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial'
Making all in cpp
make[3]: Entering directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial/cpp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial/cpp'
make[3]: Entering directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial'
../compiler/cpp/thrift --gen html -r ../tutorial/tutorial.thrift
make[3]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial'
make[2]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1/tutorial'
make[2]: Entering directory `/root/rpmbuild/BUILD/thrift-0.9.1'
make[2]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1'
make[1]: Leaving directory `/root/rpmbuild/BUILD/thrift-0.9.1'
+ mkdir -p ./usr/lib/ruby/gems/1.8
+ CONFIGURE_ARGS='--with-cflags='\''-O2 -g'\'' '
+ gem install -V --local --install-dir ./usr/lib/ruby/gems/1.8 --bindir
./usr/bin --force 'lib/rb/thrift*.gem'
ERROR:  Could not find a valid gem 'lib/rb/thrift*.gem' (>= 0) in any
repository
error: Bad exit status from /var/tmp/rpm-tmp.YE8IhS (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.YE8IhS (%build)

and i do the following process but no use

# cd ../SOURCES/thrift/lib/rb/
# gem build thrift.gemspec
# gem install --local thrift*.gem

anyone can help,or offer a thrift rpm package used on Centos 6

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message