Package Details: telegram-cli-git r1357.3da0e4a-1

Git Clone URL: (read-only, click to copy)
Package Base: telegram-cli-git
Description: Telegram messenger CLI
Upstream URL:
Licenses: GPL2
Conflicts: telegram-cli
Provides: telegram-cli
Submitter: dywedir
Maintainer: drrossum
Last Packager: drrossum
Votes: 153
Popularity: 1.55
First Submitted: 2015-08-18 12:14 (UTC)
Last Updated: 2020-06-18 11:23 (UTC)

Latest Comments

parsanoori commented on 2022-01-13 19:12 (UTC)

Why doesn't it have aarch64 ? Does it lead to a problem on building it for aarch64 ?

nobodywasishere commented on 2020-08-12 10:52 (UTC)

Upstream is dead, last commit was from 2016... There's another fork that looks promising and this should probably switch to, but it doesn't look like that's being updated either. Significant number of PRs and Issues on the upstream repo.

doragasu commented on 2020-06-14 16:51 (UTC)

@annmuor: Worked like a charm, thanks!

annmuor commented on 2020-06-08 22:12 (UTC)

@doragasu just add


to configure line in PKGBUILD

doragasu commented on 2020-06-06 18:27 (UTC)

Doesn't build:

gcc objs/main.o objs/loop.o objs/interface.o objs/lua-tg.o objs/json-tg.o objs/python-tg.o objs/python-types.o libs/libtgl.a -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lreadline -llua5.3 -lm -ldl -lssl -lcrypto -lpthread -lutil -ldl -o bin/telegram-cli /usr/bin/ld: objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:77: multiple definition of `verbosity'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:93: first defined here /usr/bin/ld: objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:90: multiple definition of `register_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:520: first defined here /usr/bin/ld: objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:392: multiple definition of `wait_dialog_list'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:522: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:121: multiple definition of `disable_auto_accept'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:521: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:122: multiple definition of `msg_num_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:94: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:123: multiple definition of `permanent_msg_id_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:124: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:124: multiple definition of `permanent_peer_id_mode'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:125: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:125: multiple definition of `disable_colors'; objs/main.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/main.c:111: first defined here /usr/bin/ld: objs/interface.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/interface.c:135: multiple definition of `readline_active'; objs/loop.o:/tmp/makepkg/telegram-cli-git/src/telegram-cli-git/loop.c:390: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:60: bin/telegram-cli] Error 1 ==> ERROR: A failure occurred in build().

drrossum commented on 2020-02-13 11:00 (UTC)

Thanks for the suggestion. I updated the source to the fork by kenorb-contrib.

amo commented on 2020-02-12 21:43 (UTC)

As mentioned in this issue, there is a fork that is more up-to-date than the source used for this package. The sources for this package have not seen any commit in years. Maybe we can use the fork as source?

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:

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 warnings

nobicycle 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?


$patch -p1 <patch


s13g3lb4um commented on 2018-06-18 20:15 (UTC)


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

  1. clone the repo

  2. find | grep -i makefile | xargs sed 's/-Werror/-Wno-error/' -i

  3. apply the patch mentioned in

  4. ./configure && make && make install

  5. 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: cannot open shared object file: No such file or directory

AmirZare commented on 2017-11-10 06:22 (UTC) Thank you.

Nanoseb commented on 2017-11-09 11:20 (UTC)

@AmirWacker: telegram-cli is needed for nctelegram, it is one of its dependencies, without it nctelegram won't work. If you still want to uninstall nctelegram (and telegram-cli) you can run # pacman -Rs nctelegram-git

AmirZare commented on 2017-11-09 11:17 (UTC)

Hello. I use this command for install nctelegram yaourt -S nctelegram-git and now i have nctelegram and telegram-cli. how can i remove them?

lilydjwg commented on 2017-08-10 07:27 (UTC)

The man page is not installed (available at debian/telegram-cli.8).

ilverz commented on 2017-05-23 18:16 (UTC)

On my raspberry, says: ERROR: telegram-cli-git is not available for the 'armv7h' architecture Is it possible to fix?

frriarch commented on 2017-05-09 08:28 (UTC)

to make it work with openssl 1.1.0 it requires patch.

sebold commented on 2017-05-07 22:42 (UTC)

in order to build this package with openssl 1.0 you have to install "openssl-1.0" and add this line before "./configure" in the PKGBUILD: export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig

fbis251 commented on 2017-05-02 04:38 (UTC)

Has anyone been able to build this package with openssl 1.1.0?

lesto commented on 2017-04-16 09:15 (UTC) (edited on 2017-04-16 13:38 (UTC) by lesto)

Hi, can you please add armv6h as supported architecture? edit: nevermind, it does not work without some patch

Speranskiy commented on 2016-11-27 11:24 (UTC)

@melvinvermeeren Yep, you are right. Thanks.

melvinvermeeren commented on 2016-11-26 13:25 (UTC)

@Speranskiy Using the AUR means you have to dependency management yourself. If a dependency lib updates (and changes ABI version) a recompile will solve the issue.

Speranskiy commented on 2016-11-26 11:50 (UTC)

Doesn't work with the latest readline. # ln -s /usr/lib/ /usr/lib/ Solves the issue. I've filled a bug here

Speranskiy commented on 2016-08-15 10:39 (UTC)

to have this >> telegram-cli: tgl/mtproto-utils.c:101: BN2ull: Assertion `0' failed. issue fixed, build() seciton must be like this: build() { cd "$srcdir/$pkgname" git submodule update --init --recursive sed -i -e '/^ assert (0); / s?^?//?' tgl/mtproto-utils.c ./configure make } see link for details ->

hecsa commented on 2016-06-30 04:40 (UTC)

Hi, This package compiled on my Atom, but when exeecuting: > telegram-cli: tgl/mtproto-utils.c:101: BN2ull: Assertion `0' failed. SIGNAL received htelegram-cli(print_backtrace+0x32)[0x80a77f2] telegram-cli(termination_signal_handler+0x81)[0x80a78a1][0xb7788ba4][0xb7788bc8] /usr/lib/[0xb7291e69] /usr/lib/[0xb72933a7] /usr/lib/[0xb728ac17] /usr/lib/[0xb728ac9b] telegram-cli[0x80f461e] telegram-cli[0x80c90d2] telegram-cli[0x80cbceb] telegram-cli[0x80f3732] /usr/lib/[0xb7715980] telegram-cli(net_loop+0xbc)[0x80a8e6c] telegram-cli(loop+0x196)[0x80aa206] telegram-cli(inner_main+0x17)[0x80a6d57] telegram-cli(main+0x311)[0x80a5e81] /usr/lib/[0xb727e536] telegram-cli[0x80a5f8b] Any clue about this error? Thanks and best regards, HeCSa.

Stunts commented on 2016-04-04 16:23 (UTC)

I had to add the following line to the build() function in order not to finish the compilation: sed -i 's/-Werror//g' Makefile Not sure why this warning shows up on my setup, and not on others...

gdamjan commented on 2016-03-30 20:25 (UTC)

it seems the latest version needs a `--enable-python=x` to configure to add the python support. also, just --enable-python or --enable-python=yes doesn't work (seems like a bug in the ./configure script)

Nanoseb commented on 2016-03-29 20:21 (UTC)

Just updating the package version (to r1128.6547c0b), otherwise people don't get to see that a new version is available.

drrossum commented on 2016-03-29 20:16 (UTC)

The package compiles fine here. @nanoseb: what updates do you suggest?

Stunts commented on 2016-03-23 14:39 (UTC)

Build is failing on my machine with the following message: tgl/queries.c: In function ‘tgl_do_send_document’: tgl/queries.c:2118:13: error: ‘x.peer_type’ may be used uninitialized in this fu nction [-Werror=maybe-uninitialized] f->avatar = avatar; ^ tgl/queries.c:2186:17: note: ‘x.peer_type’ was declared here tgl_peer_id_t x; ^ tgl/queries.c:2118:13: error: ‘x.access_hash’ may be used uninitialized in this function [-Werror=maybe-uninitialized] f->avatar = avatar; ^ tgl/queries.c:2186:17: note: ‘x.access_hash’ was declared here tgl_peer_id_t x; ^ gcc -I. -I. -I./tgl -march=x86-64 -mtune=native -O3 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -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/auto-store-ds.d -MQ objs/auto-store-ds.o -o objs/auto/auto-store-ds.o auto/auto-store-ds.c cc1: all warnings being treated as errors Makefile.tgl:20: recipe for target 'objs/queries.o' failed make: *** [objs/queries.o] Error 1 make: *** Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting... Thanks in advance for looking into it.

amagnasco commented on 2016-03-15 04:50 (UTC)

compiled on armv7h architecture, working great

admiralspark commented on 2016-02-02 03:42 (UTC) (edited on 2016-02-02 04:25 (UTC) by admiralspark)

Note: Requires some version of python (checks for python 3.6 back to 2.6). EDIT: Can you also add armv6h to the supported architectures? Currently running on an ARMv6h device now.

The-Compiler commented on 2016-01-18 09:32 (UTC)

Updated PKGBUILD with the upstream patch included:

doragasu commented on 2016-01-17 10:08 (UTC)

@drrossum It wasn't me who submitted it, but yes, its already submitted.

drrossum commented on 2016-01-14 16:58 (UTC)

Thank you, that is useful! Have you submitted your patch upstream?

doragasu commented on 2016-01-14 07:56 (UTC)

Latest version was constantly crashing on my PC with an assertion on line 3446 of interface.c. I have done a quick and dirty patch to fix it, in case anyone is interested: Just download the patch, save it as media-crash.patch, edit the PKGBUILD and add after the git submodule update line: patch -p1 < ../media-crash.patch Build the package and it should be fixed.

commented on 2015-08-16 10:24 (UTC)

@schmidtflo As the topic suggests, just check if you're behind your ISP's NAT. Maybe you can't talk to Telegram servers because of this.

doragasu commented on 2015-05-15 14:12 (UTC)

PKGFILE is missing "jansson" dependency.

schmidtflo commented on 2015-04-15 14:32 (UTC)

Hey, after installing only the input ("> ") line appears, I'm not asked for a phone number, so I'm not able to use telegram. Seems like this one:

IanDury commented on 2015-04-01 17:45 (UTC)

So you can conveniently use Telegram in the following way: echo "msg Firstname_Surname Test123" | nc 2391 I use it for Domoticz scripts. See:

drrossum commented on 2015-04-01 14:50 (UTC)

What do you use the service for?

IanDury commented on 2015-04-01 10:03 (UTC)

Runs fine on my Wandboard as a systemd system service. # cat /lib/systemd/system/telegram.service [Unit] Description=Telegram-cli systemd service [Service] ExecStart=/usr/bin/telegram-cli -W -U root -d -vvvvRC -P 2391 -L /var/log/telegram-daemon/telegram-cli.log KillSignal=SIGKILL RestartSec=5 Restart=on-failure [Install] # echo "msg Firstname_Lastname Test123" | nc localhost 2391

Superbil commented on 2015-03-10 12:00 (UTC)

I just test it on armv7h (RPi2), It can work! telegram-cli-git this name is better than old one.

drrossum commented on 2015-03-05 15:24 (UTC)

It clearly says CLI in the package description. Moreover, a search for telegram brings up the GUI versions as well, so no user should have a difficulty finding the qt based packages if that is what they are looking for.

garyvdm commented on 2015-03-05 07:56 (UTC)

Can we rename this package to telegram-cli-git to avoid confusion with Telegram Desktop gui.

cippaciong commented on 2015-02-10 12:48 (UTC)

@drrossum: I don't think there is any official guideline for arm support on AUR, mainly because arm support is not official either. When I was looking for some reference in order to decide what to do with my AUR packages the most common answer was "AUR is user maintained so users (maintainers in this case) can do whatever they want with it". If you are willing to support arm architecture (I did in the end) I suggest you this blog post by Jason Ryan: Greetings

drrossum commented on 2015-02-09 04:24 (UTC)

I don't have arm support in any of my packages. Can you please point to an official guideline on arm support on AUR?

pientro commented on 2015-02-08 16:41 (UTC)

Successfull build on raspberry 2. please add armv7h in the pkgbuild!

pientro commented on 2015-02-08 02:09 (UTC)

Successfull build on raspberry 2. please add armv7h in the pkgbuild!

piuser commented on 2014-11-22 18:06 (UTC)

it works! Just needed to use: git clone --recursive && cd tg

piuser commented on 2014-11-20 13:31 (UTC)

Still not working for me, I am using the following steps: sudo apt-get install git-core sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev sudo git clone && cd tg sudo apt-get install libevent-dev sudo ./configure make What am I doing wrong?

drrossum commented on 2014-11-19 22:23 (UTC)

Thanks for the update. @pisuer: let me know if you keep having problems.

CoolDuke commented on 2014-11-19 22:20 (UTC)

@drrossum: thanks for your fast help - it's working now. @piuser: I'm able to compile now on x86_64.

piuser commented on 2014-11-18 11:53 (UTC)

Same on my RPi B+: make: *** No rule to make target 'tgl/', needed by 'auto/'. Stop.

drrossum commented on 2014-11-16 04:47 (UTC)


CoolDuke commented on 2014-11-16 01:19 (UTC)

It's not building on my system: make: *** No rule to make target 'tgl/', needed by 'auto/'. Stop. I also tried older tags of the git repository without success.

Cameri commented on 2014-09-19 12:41 (UTC)

Please add telegram-desktop to conflicts.

felixonmars commented on 2014-09-12 02:04 (UTC)

Just curious: Why didn't this package follow upstream name "tg" or "telegram-cli"?

cippaciong commented on 2014-09-03 15:15 (UTC)

@trichards: The problem of the Makefile has been solved, the patch can be removed if you want.

hvs commented on 2014-09-02 17:55 (UTC)

Works fine now, thank you.

felixonmars commented on 2014-09-02 17:30 (UTC)

Oops, works now, thank you!

cippaciong commented on 2014-09-02 17:21 (UTC)

@felixonmars Builds fine here, I'm reporting the issue on github btw @trichards Am I wrong or the openssl dependency is still missing?

felixonmars commented on 2014-09-02 17:08 (UTC)

Still fails for me: cat > auto/ /bin/sh: auto/ No such file or directory Makefile:74: recipe for target 'auto/' failed make: *** [auto/] Error 1

cippaciong commented on 2014-09-02 14:34 (UTC)

@hvs There has been a recent upstream change on Makefile regarding the exact line involving so I think it's better if you report the bug upstream. Even Travis is showing build failures since that change . As for the package() error you should change it in this way (see the change in the "cd" line):

hvs commented on 2014-09-02 14:01 (UTC)

Using 'makepkg -s', I'm getting the following error: gcc ./objs/tlc.o ./objs/tl-parser.o ./objs/crc32.o ./objs/tools.o -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -rdynamic -ggdb -levent -lconfig -levent -lcrypto -lz -lm -lreadline -llua -ldl -o bin/tlc cat auto > auto/ cat: auto: Is a directory Makefile:74: recipe for target 'auto/' failed make: *** [auto/] Error 1 ==> ERROR: A failure occurred in build(). Aborting... If I rerun 'make' directly, everything compiles just fine. With the following patch applied, compiling works, but I'm not sure if this is the right thing to do: --- 2014-09-02 10:43:14.744826673 -0300 +++ 2014-09-02 10:43:26.294826585 -0300 @@ -70,7 +70,7 @@ ${AUTO}/scheme.tlo: ${AUTO}/ ${EXE}/tlc ${EXE}/tlc -e $@ ${AUTO}/ -${AUTO}/ ${srcdir}/ ${srcdir}/ ${srcdir}/ ${srcdir}/ ${AUTO} +${AUTO}/ ${srcdir}/ ${srcdir}/ ${srcdir}/ ${srcdir}/ cat $^ > $@ ${AUTO}/ ${AUTO}/ ${EXE}/tlc Also, package step failed with: ==> Starting package()... install: cannot stat ‘telegram’: No such file or directory ==> ERROR: A failure occurred in package(). Aborting... Just changing 'telegram' to 'telegram-cli' in PKGBUILD makes it work.

kseistrup commented on 2014-07-26 12:12 (UTC)

telegram-git E: Dependency openssl detected and not included (libraries ['usr/lib/'] needed in files ['usr/bin/telegram'])

cippaciong commented on 2014-05-13 21:15 (UTC)

Arch doesn't officially support any ARM device or ARM architecure in general so you should not ask to add it in AUR's PKGBUILDs. If you are an archlinux-arm user you'd better edit the "arch" line yourself or simply build the package with --ignorearch (-A) option most of us do, me included. ;)

niklas.heer commented on 2014-05-13 12:28 (UTC)

To add support for Raspberry Pi please exchange the line "arch=('i686' 'x86_64')" with "arch=('armv6h' 'i686' 'x86_64')". Thanks :)

commented on 2014-03-22 15:48 (UTC)

Hi, I flagged this package as out of date yesterday, mainly because I misunderstood how *-git packages work and are supposed to be updated. I'm sorry for this newbie mistake. Please, can someone remove the flag or tell me where/how should I request its removal?

opt1mus commented on 2014-03-11 00:35 (UTC)

Successful build w/ readline-6.3-2-x86_64

commented on 2014-03-05 07:05 (UTC)

readline 6.3 seems to be the culprit.

forgottenarcher commented on 2014-03-04 03:36 (UTC)

@kokz95 Got the same error, coudn't find a work around did you ?

kokz95 commented on 2014-03-01 16:36 (UTC)

Just tried installing it from yaourt, but got this Error. Had anybody the same issue? .... > checking for uname... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating config.h > config.status: config.h is unchanged > gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c main.c -o main.o > gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c loop.c -o loop.o > gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c interface.c -o interface.o > interface.c: In function ‘set_interface_callbacks’: > interface.c:1564:39: error: ‘CPPFunction’ undeclared (first use in this function) > rl_attempted_completion_function = (CPPFunction *) complete_text; > ^ > interface.c:1564:39: note: each undeclared identifier is reported only once for each function it appears in > interface.c:1564:52: error: expected expression before ‘)’ token > rl_attempted_completion_function = (CPPFunction *) complete_text; > ^ > Makefile:30: recipe for target 'interface.o' failed > make: *** [interface.o] Error 1 > ==> ERROR: A failure occurred in build(). > Aborting... > ==> ERROR: Makepkg was unable to build telegram-git. > ==> Restart building telegram-git ? [y/N] > ==> ------------------------------------- > ==>

ilpianista commented on 2014-02-25 09:34 (UTC)


fzeta commented on 2014-02-12 16:24 (UTC)

1.. 2.. :-/

AlbertoAru commented on 2014-02-05 21:10 (UTC)

┌─ alberto manjaro ~ └──┤|▶ telegram Telegram-client version 0.01-beta, Copyright (C) 2013 Vitaly Valtman Telegram-client comes with ABSOLUTELY NO WARRANTY; for details type `show_license'. This is free software, and you are welcome to redistribute it under certain conditions; type `show_license' for details. *** Couldn't open public key file: *** Couldn't open public key file: /etc/telegram/ rsa_load_public_key: No such file or directory --------------------------------------------------------------------- libconfig and lua are installed on my computer.

cippaciong commented on 2014-01-16 18:00 (UTC)


cippaciong commented on 2014-01-15 13:07 (UTC)

I think there are more dependencies needed: - lua - readline - openssl

petRUShka commented on 2013-12-20 13:59 (UTC)

As it should be :)

petRUShka commented on 2013-12-20 13:59 (UTC)

Why don't you add libconfig as dependency of telegram-git?

vinzzz22 commented on 2013-12-19 09:13 (UTC)

yaourt -S libconfig will help ;) extra/libconfig 1.4.9-2 C/C++ Configuration File Library

petRUShka commented on 2013-12-19 05:23 (UTC)

Error on build stage. I think some dependency is missed. checking Checking for libconfig... enabled checking for config_init in -lconfig... no configure: error: No libconfig found. Try --disable-libconfig