在 Debian 10 上安装 psiphon 会出现 make: *** [Makefile:129: authfd.o] 错误 1

在 Debian 10 上安装 psiphon 会出现 make: *** [Makefile:129: authfd.o] 错误 1

我正在尝试根据此处的说明在 Debian 10 上安装 psiphon https://github.com/thispc/psiphon 然后 ./configure 遇到错误

configure: error: *** zlib.h missing - please install first or check
config.log ***

https://pastebin.com/ANGa0c7q 为了摆脱我所做的上述错误

sudo apt-get install libz-dev

然后我做了./configure并发现了一个新错误

configure: error: *** OpenSSL headers missing

完整的消息可以在这里看到 https://pastebin.com/9XFUYZkk 然后我尝试做

debian@debian:~/psiphon/openssh-5.9p1$ sudo apt-get install openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version (1.1.1c-1).
openssl set to manually installed.

然后我安装了 libssl-dev 并执行 ./configure 需要一个 openssl 和

sudo apt-get install libssl-dev

我得到了关注

configure: error: Your OpenSSL headers do not match your
library. Check config.log for details.
If you are sure your installation is consistent, you can disable the check
by running "./configure --without-openssl-header-check".
Full message here https://pastebin.com/pyHiyG3j

我执行了./configure --without-openssl-header-check 完整消息https://pastebin.com/UsEZcgKi 现在正如这里的说明所说https://github.com/thispc/psiphon 之后做一个

./configure

我收到以下消息

authfd.c: In function ‘ssh_encode_identity_ssh2’:
authfd.c:499:33: error: dereferencing pointer to incomplete type ‘DSA’
{aka ‘struct dsa_st’}
   buffer_put_bignum2(b, key->dsa->p);
                                 ^~
make: *** [Makefile:129: authfd.o] Error 1

make 的完整消息https://pastebin.com/0eSzXLxm 我现在应该做什么,如何从这里继续。我使用的是 Debian 10。所有错误消息都集中在一处https://pastebin.com/CuMRuExj

答案1

apt-get remove libssl-dev
apt-get install libssl1.0-dev 
make

相关内容