New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install telegram-cli on Debian Stretch (Testing) #1256

Closed
roshangm1 opened this Issue Dec 5, 2016 · 5 comments

Comments

Projects
None yet
5 participants
@roshangm1

roshangm1 commented Dec 5, 2016

tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_new’:
tgl/crypto/rsa_pem_openssl.c:41:6: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
   ret->e = unwrap_bn (TGLC_bn_new ());
      ^~
tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_n’:
tgl/crypto/rsa_pem_openssl.c:52:1: error: control reaches end of non-void function [-Werror=return-type]
 RSA_GETTER(n);
 ^~~~~~~~~~
tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_e’:
tgl/crypto/rsa_pem_openssl.c:53:1: error: control reaches end of non-void function [-Werror=return-type]
 RSA_GETTER(e);
 ^~~~~~~~~~
cc1: all warnings being treated as errors
Makefile.tgl:20: recipe for target 'objs/crypto/rsa_pem_openssl.o' failed
make: *** [objs/crypto/rsa_pem_openssl.o] Error 1

Getting this error after doing make.

@parazitt

This comment has been minimized.

Show comment
Hide comment
@parazitt

parazitt Dec 7, 2016

i have some problem like this.
you can fix it by add --disable-openssl flag:
./configure --disable-openssl
then you can make easily.

parazitt commented Dec 7, 2016

i have some problem like this.
you can fix it by add --disable-openssl flag:
./configure --disable-openssl
then you can make easily.

@roshangm1

This comment has been minimized.

Show comment
Hide comment
@roshangm1

roshangm1 Dec 8, 2016

That worked but I had to install libgcrypt11-dev to do ./configure. Thanks.

roshangm1 commented Dec 8, 2016

That worked but I had to install libgcrypt11-dev to do ./configure. Thanks.

@steadfasterX

This comment has been minimized.

Show comment
Hide comment
@steadfasterX

steadfasterX Aug 31, 2017

thx this works for me on debian stretch..
Does this workaround have any disadvantages?

steadfasterX commented Aug 31, 2017

thx this works for me on debian stretch..
Does this workaround have any disadvantages?

@elFua

This comment has been minimized.

Show comment
Hide comment
@elFua

elFua Nov 12, 2017

On armv8 (raspberry pi, 32bit) it compiles successfully after ./configure --disable-openssl and installing libgcrypt20-dev, BUT after launching it uses 100% CPU and does nothing.

This is the fix that made telegram-cli compile and work properly on raspberry-pi (with openssl): matthiasbock/tgl@475855b

elFua commented Nov 12, 2017

On armv8 (raspberry pi, 32bit) it compiles successfully after ./configure --disable-openssl and installing libgcrypt20-dev, BUT after launching it uses 100% CPU and does nothing.

This is the fix that made telegram-cli compile and work properly on raspberry-pi (with openssl): matthiasbock/tgl@475855b

@sufehmi

This comment has been minimized.

Show comment
Hide comment
@sufehmi

sufehmi commented Dec 16, 2017

This is the solution :

freifunk-gluon/gluon#973 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment