Re: openssl headers missing while installing psiphon on Debian 10

2019-09-10 Thread Ulf Volmer
On 08.09.19 20:03, Tapas Mishra wrote:
> On Sun, Sep 8, 2019 at 2:56 PM Ulf Volmer  wrote:
>>
>> On 08.09.19 01:28, Tapas Mishra wrote:
>>
>>> configure: error: *** OpenSSL headers missing
>>
>> Install libssl-dev.
> 
> Ok thanks I did install libssl-dev
> sudo apt-get install libssl-dev
> https://pastebin.com/EYpswMRv
> I got following
> configure: error: Your OpenSSL headers do not match your
> library. Check config.log for details.

This software is untouched since 3 years. Also the included openssh
version. I doubt that this will be compatible with the openssl version
in buster. You can try to skip the openssh compiling and use the system
provided ssh client. Or use stretch, which have libssl1.0-dev as
alternative option.

But in general I do not recommend using this software.

Best regards
Ulf



Re: openssl headers missing while installing psiphon on Debian 10

2019-09-08 Thread Tapas Mishra
On Sun, Sep 8, 2019 at 2:56 PM Ulf Volmer  wrote:
>
> On 08.09.19 01:28, Tapas Mishra wrote:
>
> > configure: error: *** OpenSSL headers missing
>
> Install libssl-dev.

Ok thanks I did install libssl-dev
sudo apt-get install libssl-dev
https://pastebin.com/EYpswMRv
I got following
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

I  executed ./configure --without-openssl-header-check
full messages https://pastebin.com/UsEZcgKi
now as the instructions here say https://github.com/thispc/psiphon
to do a make after ./configure

I get a following message

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
full message of make https://pastebin.com/0eSzXLxm
what should I do now how to proceed from here.
I am on Debian 10.Trying to install psiphon.

All steps that I did combined in one paste with all messages
https://pastebin.com/CuMRuExj

How can I proceed from here?
--
Thanks
Tapas



Re: openssl headers missing while installing psiphon on Debian 10

2019-09-08 Thread Ulf Volmer
On 08.09.19 01:28, Tapas Mishra wrote:

> configure: error: *** OpenSSL headers missing

Install libssl-dev.

Best regards
Ulf



openssl headers missing while installing psiphon on Debian 10

2019-09-07 Thread Tapas Mishra
Hi,
I am trying to install  psiphon   on   Debian 10 based on instructions here
https://askubuntu.com/questions/637568/how-do-i-install-psiphon-on-ubuntu-14-04-lts-step-by-step

I did a $ git clone https://github.com/thispc/psiphon.git
then cd psiphon
Open README.md for instructions
did sudo apt-get install python-pip it went without errors  .
https://pastebin.com/X8HnAZry
this is how files look like did  a simple ls
https://pastebin.com/mFi85PBp

then ./configure came across error
configure: error: *** zlib.h missing - please install first or check
config.log ***
https://pastebin.com/ANGa0c7q
to get rid of above error I did
sudo apt-get install libz-dev
Then I did ./configure and found a new error

configure: error: *** OpenSSL headers missing
full message can be seen here
https://pastebin.com/9XFUYZkk
I then tried doing
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.
The following packages were automatically installed and are no longer required:
  ethtool libdumbnet1 libmspack0 libxmlsec1-openssl zerofree
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.

So I did sudo apt autoremove and then
debian@debian:~/psiphon/openssh-5.9p1$   ./configure

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 ***

so it appears openssl is installed to latest version. So now what more
should I do so that I
don't get openssl header missing error,
while installing psiphon on Debian 10.
I read this page https://wiki.openssl.org/index.php/Compilation_and_Installation
and this page 
https://stackoverflow.com/questions/29858870/build-openssl-with-rpath
but could not understand what changes should I make on my system for
psiphon (https://github.com/thispc/psiphon.git)
to be installed.

-
Thanks
Tapas