当前位置: 技术问答>Linux下通过rpm安装软件详细介绍以及如何将软件安装到指定目录
iis7站长之家
在linux 下安装thrift-incubating-0.2.0.tar.gz 报错
来源: 互联网 发布时间:2016-08-05
本文导语: 在linux 下安装thrift-incubating-0.2.0.tar.gz gzip thrift-incubating-0.2.0.tar.gz tar -xvf thrift-incubating-0.2.0.tar ./configure make 出错误了 .... //前面省略 cc1: warnings being treated as errors struct.c: In function 鈍et_field_value? struct.c:286: war...
在linux 下安装thrift-incubating-0.2.0.tar.gz
gzip thrift-incubating-0.2.0.tar.gz
tar -xvf thrift-incubating-0.2.0.tar
./configure
make
出错误了
.... //前面省略
cc1: warnings being treated as errors
struct.c: In function 鈍et_field_value?
struct.c:286: warning: implicit declaration of function 鈙trlcpy?
make[4]: *** [struct.o] Error 1
make[4]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0/lib/rb/ext'
setup.rb:655:in `command': system("make") failed (RuntimeError)
from setup.rb:664:in `make'
from setup.rb:1258:in `setup_dir_ext'
from setup.rb:1532:in `block in traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1524:in `block in exec_task_traverse'
from setup.rb:1519:in `each'
from setup.rb:1519:in `exec_task_traverse'
from setup.rb:1246:in `exec_setup'
from setup.rb:996:in `exec_setup'
from setup.rb:826:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578:in `'
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0/lib/rb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0'
make: *** [all] Error 2
大家帮我看下是什么原因
gzip thrift-incubating-0.2.0.tar.gz
tar -xvf thrift-incubating-0.2.0.tar
./configure
make
出错误了
.... //前面省略
cc1: warnings being treated as errors
struct.c: In function 鈍et_field_value?
struct.c:286: warning: implicit declaration of function 鈙trlcpy?
make[4]: *** [struct.o] Error 1
make[4]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0/lib/rb/ext'
setup.rb:655:in `command': system("make") failed (RuntimeError)
from setup.rb:664:in `make'
from setup.rb:1258:in `setup_dir_ext'
from setup.rb:1532:in `block in traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1524:in `block in exec_task_traverse'
from setup.rb:1519:in `each'
from setup.rb:1519:in `exec_task_traverse'
from setup.rb:1246:in `exec_setup'
from setup.rb:996:in `exec_setup'
from setup.rb:826:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578:in `'
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0/lib/rb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/scribeInstall/thrift-0.2.0'
make: *** [all] Error 2
大家帮我看下是什么原因
|
struct.c:286: warning: implicit declaration of function 鈙trlcpy?
从这一句可以看出有两个原因导致此问题:
1、编译需要的库的头文件没有安装
2、版本不兼容
那个函数我实在看不出来,建议在纯英文的环境中编译,再查一下少了哪些函数,根据少的函数做具体的处理。
从这一句可以看出有两个原因导致此问题:
1、编译需要的库的头文件没有安装
2、版本不兼容
那个函数我实在看不出来,建议在纯英文的环境中编译,再查一下少了哪些函数,根据少的函数做具体的处理。