在 CentOS 5.6 上安装 PECL Oauth 扩展时出错

在 CentOS 5.6 上安装 PECL Oauth 扩展时出错

我正在尝试在 CentOS 5.6 上安装 PECL OAuth 扩展,我已经安装了所有必需的依赖项,但无法解决此错误:

downloading oauth-1.1.0.tgz ...
Starting to download oauth-1.1.0.tgz (44,731 bytes)
............done: 44,731 bytes
6 source files, building
ERROR: could not chdir to /var/tmp/oauth/examples

答案1

您可能需要创建缺少的目录:

sudo mkdir /var/tmp/oauth
sudo mkdir /var/tmp/oauth/examples

相关内容