Hi

Can you send or upload the full buildrpm log
And list the steps you run prior to buildrpm  (do you git-archive, do you
use the posted tarball,etc)

Can you be more specific about "getting from github"?  (provide links, and
why not follow http://thrift.apache.org/developers/ ?)

--Nevo


On Wed, Jan 22, 2014 at 8:31 PM, ch huang <[email protected]> wrote:

> 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
>

Reply via email to