Search Criteria
Package Details: telegram-cli-git r1357.3da0e4a-1
Git Clone URL: | https://aur.archlinux.org/telegram-cli-git.git (read-only, click to copy) |
---|---|
Package Base: | telegram-cli-git |
Description: | Telegram messenger CLI |
Upstream URL: | https://github.com/kenorb-contrib/tg |
Licenses: | GPL2 |
Conflicts: | telegram-cli |
Provides: | telegram-cli |
Submitter: | dywedir |
Maintainer: | None |
Last Packager: | drrossum |
Votes: | 150 |
Popularity: | 0.007441 |
First Submitted: | 2015-08-18 12:14 (UTC) |
Last Updated: | 2020-06-18 11:23 (UTC) |
Dependencies (6)
- jansson (jansson-gitAUR)
- libconfig (libconfig-gitAUR)
- libevent (libevent-gitAUR)
- lua
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
- git (git-gitAUR) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »
Quezo commented on 2018-10-19 08:30 (UTC)
In ./cofigure :
checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no
In make :
gcc -I. -I. -I./tgl -g -O2 -I/usr/local/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/queries.d -MQ objs/queries.o -o objs/queries.o tgl/queries.c tgl/queries.c: In the function ‘_tgl_do_send_photo’: tgl/queries.c:2091:10: error: conversion between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ a ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ tgl/queries.c:2108:10: error: conversion between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ a ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ tgl/queries.c:2141:10: error: conversion between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ a ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ cc1: All notices are treated as errors make: *** [Makefile.tgl:20: objs/queries.o] Error 1
figue commented on 2018-10-03 22:16 (UTC) (edited on 2018-10-03 22:28 (UTC) by figue)
You should add this patch. Build fails otherwise:
https://github.com/vysheng/tg/pull/1483
Edit: Forgot to mention that I had to build with clang instead of gcc...
minextu commented on 2018-06-20 00:58 (UTC)
I got it working by replacing
./configure
with./configure CFLAGS="-w"
. Might not be the best solution, since this will ignore all compiler warningsnobicycle commented on 2018-06-19 02:59 (UTC) (edited on 2018-06-19 03:00 (UTC) by nobicycle)
@hamidzr Thanks for your help, but:
Assuming a patch file called 'patch', how do I patch?
$telegram-cli-git/src/telegram-cli-git/tgl
$patch -p1 <patch
??
s13g3lb4um commented on 2018-06-18 20:15 (UTC)
@hamidzr
your solution dont work for me, i cant install this program
s13g3lb4um commented on 2018-06-18 20:13 (UTC) (edited on 2018-06-18 20:13 (UTC) by s13g3lb4um)
I get the next error
tgl/queries.c: En la función ‘_tgl_do_send_photo’: tgl/queries.c:2091:10: error: cast between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ to ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ tgl/queries.c:2108:10: error: cast between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ to ‘void ()(struct tgl_state , void , int)’ [-Werror=cast-function-type] ((void ()(struct tgl_state , void , int))callback) (TLS, callback_extra, 0); ^ tgl/queries.c:2141:10: error: cast between incompatible function types from ‘void ()(struct tgl_state , void , int, struct tgl_message )’ to ‘void ()(struct tgl_state , void *, int)’ [-Werror=cast-function-type]
hamidzr commented on 2018-05-18 23:23 (UTC) (edited on 2018-05-18 23:25 (UTC) by hamidzr)
to get it to compile and workd at this time do the following
clone the repo
find | grep -i makefile | xargs sed 's/-Werror/-Wno-error/' -i
apply the patch mentioned in https://github.com/vysheng/tgl/issues/129
./configure && make && make install
run it ./bin/telegram-cli
Baal commented on 2017-12-16 20:04 (UTC)
Doesn't work at this time.
Error message: /usr/bin/telegram-cli: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
AmirZare commented on 2017-11-10 06:22 (UTC)
Nanoseb commented on 2017-11-09 11:20 (UTC)
« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »