zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.11k stars 86 forks source link

Installation fails #312

Closed Ivan-Igorevich closed 3 years ago

Ivan-Igorevich commented 3 years ago

Hello

Telega Setup

OS: unknown Emacs: GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14), modified by Debian

acual uname -a

Linux c68-Latitude-E5570 5.11.0-34-generic #36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux OS is Ubuntu

Installed via MELPA

Current Behavior

M-x package-install RET telega RET installation fails, here's the installation log:

Leaving directory ‘/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30’
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-chat.el at Tue Sep 14 09:40:08 2021
Entering directory ‘/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/’

In end of data:
telega-chat.el:4453:1:Warning: the following functions are not known to be defined:
    mailcap-file-name-to-mime-type, company-complete
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-company.el at Tue Sep 14 09:40:09 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-core.el at Tue Sep 14 09:40:09 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-customize.el at Tue Sep 14 09:40:10 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-ffplay.el at Tue Sep 14 09:40:10 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-filter.el at Tue Sep 14 09:40:10 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-folders.el at Tue Sep 14 09:40:10 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-i18n.el at Tue Sep 14 09:40:10 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-info.el at Tue Sep 14 09:40:10 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-inline.el at Tue Sep 14 09:40:11 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-ins.el at Tue Sep 14 09:40:11 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-media.el at Tue Sep 14 09:40:11 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-modes.el at Tue Sep 14 09:40:11 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-msg.el at Tue Sep 14 09:40:11 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-notifications.el at Tue Sep 14 09:40:12 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-obsolete.el at Tue Sep 14 09:40:12 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-root.el at Tue Sep 14 09:40:12 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-server.el at Tue Sep 14 09:40:12 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-sort.el at Tue Sep 14 09:40:12 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-sticker.el at Tue Sep 14 09:40:12 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-tdlib-events.el at Tue Sep 14 09:40:12 2021

In end of data:
telega-tdlib-events.el:1100:1:Warning: the following functions are not known to be defined:
    tracking-remove-buffer, tracking-add-buffer
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-tdlib.el at Tue Sep 14 09:40:12 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-tme.el at Tue Sep 14 09:40:13 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-user.el at Tue Sep 14 09:40:13 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-util.el at Tue Sep 14 09:40:13 2021

In telega-completing-read-chat-member:
telega-util.el:1024:15:Warning: reference to free variable ‘fido-mode’
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-voip.el at Tue Sep 14 09:40:13 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-vvnote.el at Tue Sep 14 09:40:13 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega-webpage.el at Tue Sep 14 09:40:13 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/telega.el at Tue Sep 14 09:40:14 2021
Leaving directory ‘/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/’
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/ol-telega.el at Tue Sep 14 09:40:14 2021
Entering directory ‘/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/’
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-alert.el at Tue Sep 14 09:40:14 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-dashboard.el at Tue Sep 14 09:40:14 2021
telega-dashboard.el:44:1:Error: Cannot open load file: No such file or directory, dashboard
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-dired-dwim.el at Tue Sep 14 09:40:14 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-live-location.el at Tue Sep 14 09:40:14 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-mnz.el at Tue Sep 14 09:40:14 2021
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-status-history.el at Tue Sep 14 09:40:14 2021
telega-status-history.el:66:1:Warning: Unused lexical variable ‘user’
telega-status-history.el:78:1:Warning: Unused lexical argument ‘stop-ts’
telega-status-history.el:105:1:Warning: Unused lexical variable ‘user-id’
telega-status-history.el:105:1:Warning: Unused lexical variable ‘status’
telega-status-history.el:105:1:Warning: Unused lexical variable
    ‘next-interval-stop’
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-stories.el at Tue Sep 14 09:40:14 2021
telega-stories.el:189:1:Warning: Unused lexical variable
    ‘dashboard-set-heading-icons’

In telega-stories-dashboard-insert:
telega-stories.el:191:34:Warning: reference to free variable
    ‘dashboard-set-heading-icons’
telega-stories.el:870:17:Warning: reference to free variable
    ‘dashboard-item-generators’
telega-stories.el:870:17:Warning: assignment to free variable
    ‘dashboard-item-generators’
telega-stories.el:872:17:Warning: reference to free variable
    ‘dashboard-item-shortcuts’
telega-stories.el:872:17:Warning: assignment to free variable
    ‘dashboard-item-shortcuts’

In end of data:
telega-stories.el:878:1:Warning: the following functions are not known to be defined:
    dashboard-insert-heading, dashboard-get-shortcut,
    dashboard-insert-shortcut
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-transient.el at Tue Sep 14 09:40:14 2021
telega-transient.el:77:43:Warning: reference to free variable
    ‘telega-transient-telega’
telega-transient.el:79:43:Warning: reference to free variable
    ‘telega-transient-chat-sort’
telega-transient.el:81:43:Warning: reference to free variable
    ‘telega-transient-chat-filter’
telega-transient.el:83:43:Warning: reference to free variable
    ‘telega-transient-describe’
telega-transient.el:85:43:Warning: reference to free variable
    ‘telega-transient-chat-folder’
telega-transient.el:87:43:Warning: reference to free variable
    ‘telega-transient-voip’
telega-transient.el:89:43:Warning: reference to free variable
    ‘telega-transient-root-fastnav’
telega-transient.el:91:43:Warning: reference to free variable
    ‘telega-transient-root-view’
telega-transient.el:93:43:Warning: reference to free variable
    ‘telega-transient-chatbuf-fastnav’

In end of data:
telega-transient.el:143:1:Warning: the function ‘transient-define-prefix’ is
    not known to be defined.
Compiling file /home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/contrib/telega-url-shorten.el at Tue Sep 14 09:40:14 2021
telega-url-shorten.el:54:1:Error: Cannot open load file: No such file or directory, all-the-icons

Steps to Reproduce

actually, none, added pinned package to my .emacs file and runned M-x package-install RET telega...

additional information

if i run M-x telega i get:

make -C server clean
make[1]: entering directory «/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/server»
make[1]: leaving directory «/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/server»
make -C server install
make[1]: entering directory «/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/server»
cc -I/usr/local/include -Wall -g -pthread -o telega-server telega-server.c telega-dat.c telega-pngext.c -L/usr/local/lib -Wl,-rpath,/usr/local/lib -ltdjson
telega-server.c:30:10: fatal error: td/telegram/td_json_client.h: No such file or directory
   30 | #include <td/telegram/td_json_client.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:35: telega-server] Error 1
make[1]: leaving directory «/home/c68/Nextcloud/.emacs.d/elpa/telega-0.7.30/server»
make: *** [Makefile:12: server-reinstall] Error 2
zevlg commented 3 years ago

.el files compilation warnings/errors are ok

To build TDLib see https://zevlg.github.io/telega.el/index-master.html#building-tdlib

Ivan-Igorevich commented 3 years ago

my bad, sorry))