微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法在Linux上安装OAuth

我试图在Linux上安装OAuth,但它不工作。

我正在运行这个命令:

yum install PHP-devel

接着

pecl install oauth

然后我得到这个输出

input文件的某些行的最小值和最大值以及行号标签

linux工具列出源文件中的所有function?

Lynx请求谷歌search不起作用

使用Linux命令行发布表单和上传文件

如何将后台作业的输出分配给bashvariables?

downloading oauth-1.2.2.tgz ... Starting to download oauth-1.2.2.tgz (45,348 bytes) .............done: 45,348 bytes 6 source files,building running: PHPize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 building in /var/tmp/pear-build-rootmB8jnS/oauth-1.2.2 running: /var/tmp/oauth/configure checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... no checking for gcc... no configure: error: in `/var/tmp/pear-build-rootmB8jnS/oauth-1.2.2': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. ERROR: `/var/tmp/oauth/configure' Failed

谢谢@丹尼尔M现在我有一个错误

make /bin/sh /var/tmp/pear-build-rootfr2xXB/oauth-1.0.0/libtool --mode=compile cc -I. -I/var/tmp/oauth -DPHP_ATOM_INC -I/var/tmp/pear-build-rootfr2xXB/oauth-1.0.0/include -I/var/tmp/pear-build-rootfr2xXB/oauth-1.0.0/main -I/var/tmp/oauth -I/usr/include/PHP -I/usr/include/PHP/main -I/usr/include/PHP/TSRM -I/usr/include/PHP/Zend -I/usr/include/PHP/ext -I/usr/include/PHP/ext/date/lib -DHAVE_CONfig_H -g -O2 -Wall -g -c /var/tmp/oauth/oauth.c -o oauth.lo libtool: compile: cc -I. -I/var/tmp/oauth -DPHP_ATOM_INC -I/var/tmp/pear-build-rootfr2xXB/oauth-1.0.0/include -I/var/tmp/pear-build-rootfr2xXB/oauth-1.0.0/main -I/var/tmp/oauth -I/usr/include/PHP -I/usr/include/PHP/main -I/usr/include/PHP/TSRM -I/usr/include/PHP/Zend -I/usr/include/PHP/ext -I/usr/include/PHP/ext/date/lib -DHAVE_CONfig_H -g -O2 -Wall -g -c /var/tmp/oauth/oauth.c -fPIC -DPIC -o .libs/oauth.o In file included from /var/tmp/oauth/PHP_oauth.h:47,from /var/tmp/oauth/oauth.c:14: /usr/include/PHP/ext/pcre/PHP_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /var/tmp/oauth/PHP_oauth.h:47,from /var/tmp/oauth/oauth.c:14: /usr/include/PHP/ext/pcre/PHP_pcre.h:37: error: expected '=',',';','asm' or '__attribute__' before '*' token /usr/include/PHP/ext/pcre/PHP_pcre.h:38: error: expected '=','asm' or '__attribute__' before '*' token /usr/include/PHP/ext/pcre/PHP_pcre.h:44: error: expected specifier-qualifier-list before 'pcre' make: *** [oauth.lo] Error 1 ERROR: `make' Failed

你知道为什么我得到这个错误吗?

django runserver加载共享库时出错:libssl.so.0.9.8:无法打开共享目标文件:没有这样的文件或目录

在CentOS中“哪个java”打印错误的javapath

networking应用程序有多less个传入缓冲区?

错误:尝试在Linux机器上构buildpredictionio推荐引擎时发生无效或损坏的jar文件

GCC是否支持命令文件

是的,我成功了!

我更新了百胜餐饮,并按照这些说明:

http://www.codingsteps.com/install-PHP-apc-on-amazon-ec2-linux-ami-or-centos/

另外 ,最后我又打了个电话(我需要1.0.0)

sudo pecl install -f oauth-1.0.0

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐