我正在尝试安装 Phusion Passenger Nginx 模块,但失败了
# passenger-install-nginx-module
* Curl development headers with SSL support... not found
...
yum install curl-devel
Setting up Install Process
Package curl-devel-7.15.5-9.el5.x86_64 already installed and latest version
Package curl-devel-7.15.5-9.el5.i386 already installed and latest version
Nothing to do
还需要做什么?
我使用:CentOS 5.2、Phusion Passenger 版本 3.0.0、nginx/0.8.53
# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-t
hreads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-
libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-pl
ugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
答案1
yum install libcurl-devel
答案2
安装这些:
yum 安装 zlib-devel e2fsprogs-devel krb5-devel
答案3
有关此问题的讨论,请参阅code.google.com/p/phusion-passenger/issues/detail?id=554。
特别是评论 4:code.google.com/p/phusion-passenger/issues/detail?id=554#c4
安装程序隐藏了有用的错误消息。我在安装了 curl 和 curl-devel 7.15.5 的 CentOS 5.3 上遇到了同样的错误。
我通过安装解决了这个问题:
zlib-devel e2fsprogs-devel krb5-devel
答案4
sudo apt-get 安装 libcurl4-openssl-dev