-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
make tg on debian #1802
Comments
Do you have the whole command "git clone --recursive https://github.com/vysheng/tg.git && cd tg " is used? |
try this:
Because warnings as error. |
No, it doesn't help. The same errors appear
…On Sun, Jan 28, 2024 at 12:07 AM Paulchen232 ***@***.***> wrote:
try this:
with modified tg/Makefile and deleted -Werror
nano Makefile
./configure
make
Because warnings as error.
—
Reply to this email directly, view it on GitHub
<#1802 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APRJ6DE7MVAVCGSK2IV5XITYQVUAXAVCNFSM6AAAAABCKLYIN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGMZTMMBWGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Kind regards, Oleg Tyurin
|
I checked Makefile and realized that the parameter "-Werror" has been
restored by configure script.
I edited Makefile again and ran make only and got another errors:
tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_new’:
tgl/crypto/rsa_pem_openssl.c:41:6: error: invalid use of incomplete typedef
‘RSA’ {aka ‘struct rsa_st’}
41 | ret->e = unwrap_bn (TGLC_bn_new ());
| ^~
tgl/crypto/rsa_pem_openssl.c:42:33: error: invalid use of incomplete
typedef ‘RSA’ {aka ‘struct rsa_st’}
42 | TGLC_bn_set_word (wrap_bn (ret->e), e);
| ^~
tgl/crypto/rsa_pem_openssl.c:43:6: error: invalid use of incomplete typedef
‘RSA’ {aka ‘struct rsa_st’}
43 | ret->n = unwrap_bn (TGLC_bn_bin2bn (n, n_bytes, NULL));
| ^~
tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_n’:
tgl/crypto/rsa_pem_openssl.c:49:37: error: invalid use of incomplete
typedef ‘RSA’ {aka ‘struct rsa_st’}
49 | return wrap_bn (unwrap_rsa (key)->M);
\
| ^~
tgl/crypto/rsa_pem_openssl.c:52:1: note: in expansion of macro ‘RSA_GETTER’
52 | RSA_GETTER(n);
| ^~~~~~~~~~
tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_e’:
tgl/crypto/rsa_pem_openssl.c:49:37: error: invalid use of incomplete
typedef ‘RSA’ {aka ‘struct rsa_st’}
49 | return wrap_bn (unwrap_rsa (key)->M);
\
| ^~
tgl/crypto/rsa_pem_openssl.c:53:1: note: in expansion of macro ‘RSA_GETTER’
53 | RSA_GETTER(e);
| ^~~~~~~~~~
tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_n’:
tgl/crypto/rsa_pem_openssl.c:50:3: warning: control reaches end of non-void
function [-Wreturn-type]
50 | }
\
| ^
tgl/crypto/rsa_pem_openssl.c:52:1: note: in expansion of macro ‘RSA_GETTER’
52 | RSA_GETTER(n);
| ^~~~~~~~~~
tgl/crypto/rsa_pem_openssl.c: In function ‘TGLC_rsa_e’:
tgl/crypto/rsa_pem_openssl.c:50:3: warning: control reaches end of non-void
function [-Wreturn-type]
50 | }
\
| ^
tgl/crypto/rsa_pem_openssl.c:53:1: note: in expansion of macro ‘RSA_GETTER’
53 | RSA_GETTER(e);
| ^~~~~~~~~~
make: *** [Makefile.tgl:20: objs/crypto/rsa_pem_openssl.o] Error 1
…On Sun, Jan 28, 2024 at 12:07 AM Paulchen232 ***@***.***> wrote:
try this:
with modified tg/Makefile and deleted -Werror
nano Makefile
./configure
make
Because warnings as error.
—
Reply to this email directly, view it on GitHub
<#1802 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APRJ6DE7MVAVCGSK2IV5XITYQVUAXAVCNFSM6AAAAABCKLYIN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGMZTMMBWGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Kind regards, Oleg Tyurin
|
Have you alle what on "On Ubuntu/Debian use:" is? |
This fork works, but it's an older one, same as the Debian repository's
one.
…On Wed, Jan 31, 2024 at 4:11 AM Paulchen232 ***@***.***> wrote:
Have you alle what on "On Ubuntu/Debian use:" is?
I think try this fork https://github.com/kenorb-contrib/tgl but the
updates are also old.
—
Reply to this email directly, view it on GitHub
<#1802 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APRJ6DHH3XFTJ5M5VML2433YRGK4NAVCNFSM6AAAAABCKLYIN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGE4DGNBUGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Kind regards, Oleg Tyurin
|
It doesn't accept my phone number for some reason. Will try it with keys. |
Hi!
How to make tg on Debian?
configure script works ok, but make gives me:
make: *** No rule to make target 'tgl/scheme.tl', needed by 'auto/scheme.tl'. Stop.
what should I do?
My system: Debian GNU/Linux 11 (bullseye)
The text was updated successfully, but these errors were encountered: