时丢失我想建立与源特定的OpenSSL版本有一定的OpenSSH版本,但我得到了以下错误:OpenSSL的头建设的OpenSSH
mkdir /tmp/ssh
cp openssh-6.7p1.tar.gz /tmp/ssh
cp openssl-1.0.1l.tar.gz /tmp/ssh
cd /tmp/ssh
tar zxvf openssl-1.0.1l.tar.gz
cd openssl-1.0.1l
./config --prefix=/tmp/ssh
make
make install
cd ..
tar zxvf openssh-6.7p1.tar.gz
cd openssh-6.7p1
./configure --with-ssl-dir=/tmp/ssh --prefix=/tmp/ssh
...
checking openssl/opensslv.h usability... no
checking openssl/opensslv.h presence... no
checking for openssl/opensslv.h... no
configure: error: *** OpenSSL headers missing - please install first or check config.log ***
有OpenSSH中的配置脚本错误还是我必须改变任何命令?
更改 “./config中前缀=/tmp目录/ SSH” 到” ./config中--openssldir =/tmp/ssh/openssl“并将”./configure --with-ssl-dir =/tmp/ssh --prefix =/tmp/ssh“更改为”./configure --with-ssl-dir =/tmp/ssh/openssl --prefix =/tmp/ssh“导致相同的”OpenSSL头文件丢失“错误。 – name