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

Compiling telegram #379

Closed
kalacy opened this Issue Dec 30, 2014 · 13 comments

Comments

Projects
None yet
@kalacy

kalacy commented Dec 30, 2014

I wanted to compile a new telegram application. I followed the following steps -

  1. git clone https://github.com/vysheng/tg.git
  2. sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev
  3. cd tg
  4. ./configure

Got error "configure: error: no libevent found"

  1. sudo apt-get install libevent-dev
  2. make

Get error "make: *** No rule to make target 'tgl/scheme.tl' needed by 'auto/scheme.tl'. Stop"

Any ideas why I can't compile telegram.

Thank You

@ciopper90

This comment has been minimized.

Show comment
Hide comment
@ciopper90

ciopper90 commented Dec 30, 2014

git clone --recursive https://github.com/vysheng/tg.git

@kalacy

This comment has been minimized.

Show comment
Hide comment
@kalacy

kalacy Dec 30, 2014

Thank you very much. That fixed my issue. I did still need to add
libevent-dev to get it to compile.

Thanks again ...

On Tue, Dec 30, 2014 at 10:53 AM, ciopper90 notifications@github.com
wrote:

git clone --recursive https://github.com/vysheng/tg.git


Reply to this email directly or view it on GitHub
#379 (comment).

kalacy commented Dec 30, 2014

Thank you very much. That fixed my issue. I did still need to add
libevent-dev to get it to compile.

Thanks again ...

On Tue, Dec 30, 2014 at 10:53 AM, ciopper90 notifications@github.com
wrote:

git clone --recursive https://github.com/vysheng/tg.git


Reply to this email directly or view it on GitHub
#379 (comment).

@vysheng vysheng closed this Jan 12, 2015

@ivansabik

This comment has been minimized.

Show comment
Hide comment
@ivansabik

ivansabik May 21, 2015

I also needed:

$ sudo apt-get install libjansson*

ivansabik commented May 21, 2015

I also needed:

$ sudo apt-get install libjansson*
@arielb2

This comment has been minimized.

Show comment
Hide comment
@arielb2

arielb2 May 29, 2015

fedora:
yum install libevent-devel
thanks.

arielb2 commented May 29, 2015

fedora:
yum install libevent-devel
thanks.

@zhilevan

This comment has been minimized.

Show comment
Hide comment
@zhilevan

zhilevan Mar 23, 2016

I am on Centos 7 , after yum install libevent-devel face configure: error: no libreadline found how resolve it?

zhilevan commented Mar 23, 2016

I am on Centos 7 , after yum install libevent-devel face configure: error: no libreadline found how resolve it?

@zhilevan

This comment has been minimized.

Show comment
Hide comment
@zhilevan

zhilevan Mar 23, 2016

I resolve it with sudo yum install readline-devel
after that I face

configure: error: No libconfig found. Try --disable-libconfig
Error. Exiting.
:(

zhilevan commented Mar 23, 2016

I resolve it with sudo yum install readline-devel
after that I face

configure: error: No libconfig found. Try --disable-libconfig
Error. Exiting.
:(

@arielb2

This comment has been minimized.

Show comment
Hide comment
@arielb2

arielb2 Mar 24, 2016

Can you try yum install libconfig-devel ?

arielb2 commented Mar 24, 2016

Can you try yum install libconfig-devel ?

@authorized13

This comment has been minimized.

Show comment
Hide comment
@authorized13

authorized13 Apr 18, 2016

libconfig-devel ?

authorized13 commented Apr 18, 2016

libconfig-devel ?

@mohammadmdp

This comment has been minimized.

Show comment
Hide comment
@mohammadmdp

mohammadmdp Jul 21, 2016

How can i get rid of this error in "WINDOWS"? not everyone uses linux you know? I'm using Git-Bash

mohammadmdp commented Jul 21, 2016

How can i get rid of this error in "WINDOWS"? not everyone uses linux you know? I'm using Git-Bash

@ingria

This comment has been minimized.

Show comment
Hide comment
@irisyasmeen

This comment has been minimized.

Show comment
Hide comment
@irisyasmeen

irisyasmeen Mar 20, 2017

I got this error
checking for library containing backtrace... none required
checking for event_base_new in -levent... no
configure: error: no libevent found
Error. Exiting.

irisyasmeen commented Mar 20, 2017

I got this error
checking for library containing backtrace... none required
checking for event_base_new in -levent... no
configure: error: no libevent found
Error. Exiting.

@rogerionsouza

This comment has been minimized.

Show comment
Hide comment
@rogerionsouza

rogerionsouza Apr 26, 2018

On recent versions of Linux, if this doesn't work, then you may have to install the readline development libraries with a command like:

  yum install readline-devel         (RPM-based systems)
  apt-get install libreadline5-dev   (Debian-based systems)

rogerionsouza commented Apr 26, 2018

On recent versions of Linux, if this doesn't work, then you may have to install the readline development libraries with a command like:

  yum install readline-devel         (RPM-based systems)
  apt-get install libreadline5-dev   (Debian-based systems)
@alastor81

This comment has been minimized.

Show comment
Hide comment
@alastor81

alastor81 May 29, 2018

`mika@alastor:/tg$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing clock_gettime... none required
checking for library containing backtrace... none required
checking for event_base_new in -levent... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for rl_save_prompt in -lreadline... no
configure: error: no libreadline found
mika@alastor:
/tg$ apt list --installed | grep libreadline

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libreadline-dev/kali-rolling,now 7.0-3 amd64 [installed]
libreadline5/kali-rolling,now 5.2+dfsg-3+b1 amd64 [installed,auto-removable]
libreadline7/kali-rolling,now 7.0-3 amd64 [installed]
mika@alastor:~/tg$`

alastor81 commented May 29, 2018

`mika@alastor:/tg$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing clock_gettime... none required
checking for library containing backtrace... none required
checking for event_base_new in -levent... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for rl_save_prompt in -lreadline... no
configure: error: no libreadline found
mika@alastor:
/tg$ apt list --installed | grep libreadline

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libreadline-dev/kali-rolling,now 7.0-3 amd64 [installed]
libreadline5/kali-rolling,now 5.2+dfsg-3+b1 amd64 [installed,auto-removable]
libreadline7/kali-rolling,now 7.0-3 amd64 [installed]
mika@alastor:~/tg$`

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