Teleseed tutorial (part 1): Installation

This is the first part of a tutorial: How-to create your own bot using TeleSeed. Teleseed is an advance Group Administration Bot based on yagop telegram-bot licensed under GNU General Public License.

This tutorial is divided in three parts:

It’s very easy, and it will help you managing your groups. The official bot is @teleseed, and you can follow its channel in @teleseedch and read news about the bot. Let’s start!

PART 1: INSTALLATION

Follow this three steps to install the bot:

CREATING A Cloud9 ACCOUNT

STARTING BOT PROJECT

INSTALLING

CREATING A Cloud9 ACCOUNT

  1. Access to the website https://c9.io/web/sign-up/free and complete the boxes as you want.
  2. Then, click on ‘’Go to your dashboard’’.
  3. Remember to verify your account in your email box.

STARTING BOT PROJECT

  1. Now, you will see your dashboard. It will be something like that:installing c9 teleseed
  2. Click on ‘’Create a new workspace’’, and configure it like that:create new workspace teleseed

Workspace Name: ‘your workspace name’

Description: ‘this is optional’

Hosted Workspace: We recommend you to select Provate, but in free accounts, only one workspace can be private

Choose a template: SELECT Custom (Ubuntu)

  1. Click on Create Workspace

INSTALLING BOT

  1. Now, you will see this screen:installing c9 teleseed
  2. Close all windows, so it will easier for you, and you won’t confuse while you’re creating the bot.
  3. Open a new terminal clicking in + button, next to the closed README.md, or using CTRL+ALT+T.new terminal teleseed
  4. Verify that you see this: (‘your username in C9’):~/workspace $.
  5. Now, type this command:

sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev

  1. When it finish, type this other command:

git clone https://github.com/SEEDTEAM/TeleSeed.git

It will clone TeleSeed bot to your workspace.

  1. Finally, type this commands, one after one:

cd TeleSeed

chmod +x launch.sh

./launch.sh install

./launch.sh

Explanation:
cd Teleseed will open TeleSeed folder in terminal
chmod +x launch.sh will able you to run bot
./launch.sh install will setup all folders that bot needs and install it
./launch.sh will run the bot

  1. When it finishes, and you had ran ./launch.sh, bot will ask you for your phone number. Remember to include your country prefix (+1, +34, etc).
  2. Now, enter your code that this number had received, and you will have the bot running in your account.

In the next tutorial we will show you how to run the bot in cloud 9.

Geeks Channel
Follow us on Telegram Geeks Channel.

54 Responses

  1. Avatar cupcake says:

    After i enter the code, it sayes: Enter Password. :/ what to do?

  2. Avatar Militix says:

    Loading plugin onservice
    Loading plugin inrealm
    Loading plugin ingroup
    Loading plugin inpm
    Loading plugin banhammer
    Loading plugin stats
    Loading plugin anti_spam
    Loading plugin owners
    Loading plugin arabic_lock
    Loading plugin set
    Loading plugin get
    Loading plugin broadcast
    Loading plugin download_media
    Loading plugin invite
    Loading plugin all
    Loading plugin leave_ban
    Loading plugin isup.lua
    Error loading plugin isup.lua
    ./bot/seedbot.lua:459: attempt to call a nil value
    user#id90695575
    Not valid: old msg
    [20 Jan] IlluminatiBot »»» x = 9
    telegram-cli: interface.c:3446: print_media: Assertion `0′ failed.
    SIGNAL received
    h./tg/bin/telegram-cli(print_backtrace+0x20)[0x46f800]
    ./tg/bin/telegram-cli(termination_signal_handler+0x64)[0x46f884]
    /lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7f2f8d581d40]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39)[0x7f2f8d581cc9]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f2f8d5850d8]
    /lib/x86_64-linux-gnu/libc.so.6(+0x2fb86)[0x7f2f8d57ab86]
    /lib/x86_64-linux-gnu/libc.so.6(+0x2fc32)[0x7f2f8d57ac32]
    ./tg/bin/telegram-cli(print_media+0x50e)[0x47a90e]
    ./tg/bin/telegram-cli(print_message+0x1fb)[0x47e7cb]
    ./tg/bin/telegram-cli(print_message_gw+0x95)[0x47f385]
    ./tg/bin/telegram-cli[0x4ac97c]
    ./tg/bin/telegram-cli[0x4af03e]
    ./tg/bin/telegram-cli[0x4a02fb]
    ./tg/bin/telegram-cli(tglq_query_result+0x10f)[0x4995df]
    ./tg/bin/telegram-cli[0x49308a]
    ./tg/bin/telegram-cli[0x4b517b]
    /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x754)[0x7f2f8efd5f24]
    ./tg/bin/telegram-cli(net_loop+0xa4)[0x470d34]
    ./tg/bin/telegram-cli(loop+0x195)[0x472045]
    ./tg/bin/telegram-cli(main+0x2d3)[0x46e0a3]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f2f8d56cec5]
    ./tg/bin/telegram-cli[0x46e1b3]

    Process exited with code: 1

    —————
    Please, help P:

  3. Avatar reza says:

    Telegram-cli version 1.3.3, Copyright (C) 2013-2015 Vitaly Valtman
    Telegram-cli 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.
    Telegram-cli uses libtgl version 2.0.3
    Telegram-cli includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit. (http://www.openssl.org/)
    Telegram-cli uses libpython version 3.5.1
    I: config dir=[/home/ubuntu/.telegram-cli]
    Can’t connect with Redis, install/configure it!
    Redis addr: 127.0.0.1
    Redis port: 6379
    Allowed user: 110626080
    Allowed user: 103649648
    Allowed user: 111020322
    Allowed user: 197246658
    Allowed user: 131681931
    Loading plugin onservice
    Loading plugin inrealm
    Loading plugin ingroup
    Loading plugin inpm
    Loading plugin banhammer
    Loading plugin stats
    Loading plugin anti_spam
    Loading plugin owners
    Loading plugin arabic_lock
    Loading plugin set
    Loading plugin get
    Loading plugin broadcast
    Loading plugin download_media
    Loading plugin invite
    Loading plugin all
    Loading plugin leave_ban
    >
    ………………………………………………………………………………………………………
    what should i do and i am not bot admin i type !plugins and bot says This plugin requires privileged user and how can i create group and bot ansewr some commands likes !google

  4. Avatar liltechy says:

    why is it returning permission denied after i use the comman: ./launch.sh install?

  5. Avatar med says:

    I got this after first command :

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package libreadline-dev
    E: Unable to locate package libconfig-dev
    E: Unable to locate package lua5.2
    E: Couldn’t find any package by regex ‘lua5.2’
    E: Unable to locate package liblua5.2-dev
    E: Couldn’t find any package by regex ‘liblua5.2-dev’
    E: Unable to locate package libevent-dev
    E: Unable to locate package libjansson-dev
    E: Unable to locate package expat

    What should I do ?

    • M4STER ANGEL M4STER ANGEL says:

      Try
      sudo apt-get update
      sudo apt-get upgrade

      If it doesn’t fix your eror, what Linux versión are you using?

      • Avatar austin says:

        how to see my linux version?

      • Avatar austin says:

        after i type sudo apt-get upgrade, it come the following msg:
        Errors were encountered while processing:
        udev
        initramfs-tools
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        how should i do?

  6. Avatar Michele says:

    When write
    ./launch.sh install -> I have this error “configure: error: no libevent found”
    “Error. Exiting”
    so
    ./launch.sh -> show the error “tg binary not found”

    What is the problem!?

  7. Avatar DB says:

    the bot stop on loading admin plugins

    Loading plugin onservice
    Loading plugin inrealm
    Loading plugin ingroup
    Loading plugin inpm
    Loading plugin banhammer
    Loading plugin stats
    Loading plugin anti_spam
    Loading plugin owners
    Loading plugin arabic_lock
    Loading plugin set
    Loading plugin get
    Loading plugin broadcast
    Loading plugin download_media
    Loading plugin invite
    Loading plugin all
    Loading plugin admin
    >
    >

  8. Avatar Oscar says:

    I do all the process corectly but when i but ./launch.sh install it give me and error, how can i solve this?

  9. Avatar Daniel says:

    Cuando escritura
    ./launch.sh instalar -> Tengo este error “configure: error: no se encontró libevent”
    “Error. Al salir ”
    por lo
    ./launch.sh -> mostrar el error” tg binario no encontrado ”

    ¿¡Cuál es el problema!?

  10. Avatar H3M0 says:

    how can i add pluggin and make it run

  11. Avatar Thomas says:

    I have a Problem with Teleseed. I write ./launch.sh install and become this error

    collect2: error: ld returned 1 exit status
    make: *** [bin/telegram-cli] Error 1
    Error. Exiting.

  12. Avatar Shalhoubs says:

    I got everything right
    in telegram the bot only responds to /id command in private, nothing else.
    what shall I do now ?

  13. Avatar mobin says:

    How can i fix this ?

    make: *** [bin/telegram-cli] Error 1
    Error. Exiting.

  14. Avatar Henry says:

    Hey,I Wanted to install teleseed and when it installed i did ./launch.sh but it said: tg binary not found
    Run ./launch.sh install

    What to do?

  15. Avatar Nezam says:

    The commands which you wrote fail to work specially the apt-get install list. I managed to cross it but in the install it says

    configure: error: No libconfig found. Try –disable-libconfig

  16. Avatar Richard says:

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Note, selecting ‘liblua5.2-0’ for regex ‘lua5.2’
    Package libreadline-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package libpython-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘libreadline-dev’ has no installation candidate
    E: Unable to locate package libconfig-dev
    E: Unable to locate package liblua5.2-dev
    E: Couldn’t find any package by regex ‘liblua5.2-dev’
    E: Unable to locate package libjansson-dev
    E: Package ‘libpython-dev’ has no installation candidate

    • Avatar Richard says:

      I did cd
      sudo apt-get update
      sudo apt-get upgrade

      but got the following error

      Errors were encountered while processing:
      udev
      initramfs-tools
      E: Sub-process /usr/bin/dpkg returned an error code (1)

    • Avatar Richard says:

      Can’t connect with Redis, install/configure it!
      Redis addr: 127.0.0.1
      Redis port: 6379

  17. Avatar arash says:

    root@adib:/home/arash/TeleSeed# ./launch.sh
    rm: cannot remove ‘../.telegram-cli/state’: No such file or directory
    change_user_group: can’t find the user telegramd to switch to
    Telegram-cli version 1.4.1, Copyright (C) 2013-2015 Vitaly Valtman
    Telegram-cli 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.
    Telegram-cli uses libtgl version 2.1.0
    Telegram-cli includes software developed by the OpenSSL Project
    for use in the OpenSSL Toolkit. (http://www.openssl.org/)
    I: config dir=[/root/.telegram-cli]
    [/root/.telegram-cli] created
    [/root/.telegram-cli/downloads] created
    *** 1464285944.734689 lua: .///bot/utils.lua:1: module ‘socket.url’ not found:
    no field package.preload[‘socket.url’]
    no file ‘/usr/local/share/lua/5.2/socket/url.lua’
    no file ‘/usr/local/share/lua/5.2/socket/url/init.lua’
    no file ‘/usr/local/lib/lua/5.2/socket/url.lua’
    no file ‘/usr/local/lib/lua/5.2/socket/url/init.lua’
    no file ‘/usr/share/lua/5.2/socket/url.lua’
    no file ‘/usr/share/lua/5.2/socket/url/init.lua’
    no file ‘./socket/url.lua’
    no file ‘.luarocks/share/lua/5.2/socket/url.lua’
    no file ‘.luarocks/share/lua/5.2/socket/url/init.lua’
    no file ‘/usr/local/lib/lua/5.2/socket/url.so’
    no file ‘/usr/lib/x86_64-linux-gnu/lua/5.2/socket/url.so’
    no file ‘/usr/lib/lua/5.2/socket/url.so’
    no file ‘/usr/local/lib/lua/5.2/loadall.so’
    no file ‘./socket/url.so’
    no file ‘.luarocks/lib/lua/5.2/socket/url.so’
    no file ‘/usr/local/lib/lua/5.2/socket.so’
    no file ‘/usr/lib/x86_64-linux-gnu/lua/5.2/socket.so’
    no file ‘/usr/lib/lua/5.2/socket.so’
    no file ‘/usr/local/lib/lua/5.2/loadall.so’
    no file ‘./socket.so’
    no file ‘.luarocks/lib/lua/5.2/socket.so’

    whatsd wrong?

  18. Avatar ZOOM says:

    sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Note, selecting ‘liblua5.2-0’ for regex ‘lua5.2’
    Package libreadline-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package libpython-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘libreadline-dev’ has no installation candidate
    E: Unable to locate package libconfig-dev
    E: Unable to locate package liblua5.2-dev
    E: Couldn’t find any package by regex ‘liblua5.2-dev’
    E: Unable to locate package libjansson-dev
    E: Package ‘libpython-dev’ has no installation candidate

    —–
    What can i do?!

  19. Avatar alireza says:

    help me

    sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    g++ is already the newest version.
    libconfig-dev is already the newest version.
    liblua5.2-dev is already the newest version.
    libpython-dev is already the newest version.
    libreadline-dev is already the newest version.
    lua5.2 is already the newest version.
    make is already the newest version.
    libjansson-dev is already the newest version.
    redis-server is already the newest version.
    libevent-dev is already the newest version.
    libexpat1-dev is already the newest version.
    libssl-dev is already the newest version.
    unzip is already the newest version.
    expat is already the newest version.
    git is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    2 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up udev (204-5ubuntu20.19) …
    * udev requires hotplug support, not started
    …fail!
    invoke-rc.d: initscript udev, action “restart” failed.
    dpkg: error processing package udev (–configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of initramfs-tools:
    initramfs-tools depends on udev (>= 147~-5); however:
    Package udev is not configured yet.

    dpkg: error processing package initramfs-tools (–configure):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:
    udev
    initramfs-tools
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  20. Avatar mehrad says:

    hi
    i did all of the configs
    but it says
    tg binary not found
    i even did ./launch.sh install
    but same error what should i do?

  21. Avatar arya says:

    Hello
    I made a spam robot.
    But that is more than 200 other members of the group does not work.
    Help me please
    Thanks

  22. Avatar kisstal says:

    Already up-to-date.
    Submodule ‘tg’ (https://github.com/SEEDTEAM/tg) registered for path ‘tg’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/tg’…
    Submodule path ‘tg’: checked out ‘c841f197b7eb9ef829e499a3e8b283a2d45ae023’
    Submodule ‘tgl’ (https://github.com/vysheng/tgl.git) registered for path ‘tg/tgl’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/tg/tgl’…
    Submodule path ‘tg/tgl’: checked out ’08b6340c1cbf1ef59690007b0207de9d5c904c07′
    Submodule ‘tl-parser’ (https://github.com/vysheng/tl-parser) registered for path ‘tg/tgl/tl-parser’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/tg/tgl/tl-parser’…
    Submodule path ‘tg/tgl/tl-parser’: checked out ‘1659d87b8dfee385cc587661d592a5ade2b4171b’
    patching file tg/configure.ac
    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 sqrt in -lm… yes
    checking for library containing clock_gettime… none required
    checking for library containing backtrace… none required
    checking for event_base_new in -levent… no
    configure: error: no libevent found
    Error. Exiting.

    what can i do?

    • Avatar kisstal says:

      at first i got this

      Reading package lists… Done
      Building dependency tree
      Reading state information… Done
      Package libpython-dev is not available, but is referred to by another package.
      This may mean that the package is missing, has been obsoleted, or
      is only available from another source

      E: Unable to locate package libreadline-dev
      E: Unable to locate package libconfig-dev
      E: Unable to locate package lua5.2
      E: Couldn’t find any package by regex ‘lua5.2’
      E: Unable to locate package liblua5.2-dev
      E: Couldn’t find any package by regex ‘liblua5.2-dev’
      E: Unable to locate package libevent-dev
      E: Unable to locate package libjansson-dev
      E: Package ‘libpython-dev’ has no installation candidate
      E: Unable to locate package expat

      i am using ubuntu 16.04

  23. Avatar gabriel says:

    ihellobrz:~/workspace/TeleSeed (master) $ ./launch.sh install
    Already up-to-date.
    patching file tg/configure.ac
    Reversed (or previously applied) patch detected! Skipping patch.
    2 out of 2 hunks ignored — saving rejects to file tg/configure.ac.rej
    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 sqrt in -lm… yes
    checking for library containing clock_gettime… none required
    checking for library containing backtrace… none required
    checking for event_base_new in -levent… no
    configure: error: no libevent found
    Error. Exiting.

  24. Avatar Mattia Lobriglio says:

    When I type the first code, it says:

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package libpython-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Unable to locate package libreadline-dev
    E: Unable to locate package libconfig-dev
    E: Unable to locate package lua5.2
    E: Couldn’t find any package by regex ‘lua5.2’
    E: Unable to locate package liblua5.2-dev
    E: Couldn’t find any package by regex ‘liblua5.2-dev’
    E: Unable to locate package libevent-dev
    E: Unable to locate package libjansson-dev
    E: Package ‘libpython-dev’ has no installation candidate
    E: Unable to locate package expat

  25. Avatar afandindi says:

    I got these errors, after that the bot did’t ask about telephone number

    Resolving deltas: 100% (612/612), done.
    afandiphd:~/workspace $ cd TeleSeed
    afandiphd:~/workspace/TeleSeed (master) $ chmod+lauch.sh
    bash: chmod+lauch.sh: command not found
    afandiphd:~/workspace/TeleSeed (master) $ chmod +x launch.sh
    afandiphd:~/workspace/TeleSeed (master) $ ./launch.sh install
    Already up-to-date.
    Submodule ‘tg’ (https://github.com/SEEDTEAM/tg) registered for path ‘tg’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/tg’…
    Submodule path ‘tg’: checked out ‘c841f197b7eb9ef829e499a3e8b283a2d45ae023’
    Submodule ‘tgl’ (https://github.com/vysheng/tgl.git) registered for path ‘tg/tgl’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/tg/tgl’…
    Submodule path ‘tg/tgl’: checked out ’08b6340c1cbf1ef59690007b0207de9d5c904c07′
    Submodule ‘tl-parser’ (https://github.com/vysheng/tl-parser) registered for path ‘tg/tgl/tl-parser’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/tg/tgl/tl-parser’…
    Submodule path ‘tg/tgl/tl-parser’: checked out ‘1659d87b8dfee385cc587661d592a5ade2b4171b’
    patching file tg/configure.ac
    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 sqrt in -lm… yes
    checking for library containing clock_gettime… none required
    checking for library containing backtrace… none required
    checking for event_base_new in -levent… no
    configure: error: no libevent found
    Error. Exiting.
    afandiphd:~/workspace/TeleSeed (master) $ git clone –recursive https://github.com/vysheng/tg.git
    fatal: destination path ‘tg’ already exists and is not an empty directory.
    afandiphd:~/workspace/TeleSeed (master) $ git clone –recursive https://github.com/SEEDTEAM/TeleSeed.git
    Cloning into ‘TeleSeed’…
    remote: Counting objects: 1055, done.
    remote: Total 1055 (delta 0), reused 0 (delta 0), pack-reused 1055
    Receiving objects: 100% (1055/1055), 475.04 KiB | 253.00 KiB/s, done.
    Resolving deltas: 100% (612/612), done.
    Submodule ‘tg’ (https://github.com/SEEDTEAM/tg) registered for path ‘tg’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/TeleSeed/tg’…
    Submodule path ‘tg’: checked out ‘c841f197b7eb9ef829e499a3e8b283a2d45ae023’
    Submodule ‘tgl’ (https://github.com/vysheng/tgl.git) registered for path ‘tg/tgl’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/TeleSeed/tg/tgl’…
    Submodule path ‘tg/tgl’: checked out ’08b6340c1cbf1ef59690007b0207de9d5c904c07′
    Submodule ‘tl-parser’ (https://github.com/vysheng/tl-parser) registered for path ‘tg/tgl/tl-parser’
    Cloning into ‘/home/ubuntu/workspace/TeleSeed/TeleSeed/tg/tgl/tl-parser’…
    Submodule path ‘tg/tgl/tl-parser’: checked out ‘1659d87b8dfee385cc587661d592a5ade2b4171b’
    afandiphd:~/workspace/TeleSeed (master) $ cd TeleSeed
    afandiphd:~/workspace/TeleSeed/TeleSeed (master) $ chmod +x lauch.sh
    chmod: cannot access ‘lauch.sh’: No such file or directory
    afandiphd:~/workspace/TeleSeed/TeleSeed (master) $ chmod +x launch.sh
    afandiphd:~/workspace/TeleSeed/TeleSeed (master) $ ./launch.sh install
    Already up-to-date.
    patching file tg/configure.ac
    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 sqrt in -lm… yes
    checking for library containing clock_gettime… none required
    checking for library containing backtrace… none required
    checking for event_base_new in -levent… no
    configure: error: no libevent found
    Error. Exiting.
    afandiphd:~/workspace/TeleSeed/TeleSeed (master) $ ./launch.sh
    tg binary not found
    Run ./launch.sh install

  26. Avatar man says:

    my Cloud9 account has been suspended as i created my bot why that happened

  27. Avatar CS says:

    hi, i completed the installation on Cloud9 and linked it to my telegram account. But whats the name of the bot? What should I do next?

  28. Avatar arman_hc says:

    root@berbidvps:~/TeleSeed# ./launch.sh
    rm: cannot remove ‘../.telegram-cli/state’: No such file or directory
    ./launch.sh: line 125: 12890 Segmentation fault ./tg/bin/telegram-cli -k ./tg/tg-server.pub -s ./bot/seedbot.lua -l 1 -E $@

    what is the problem??
    what can i do?

  29. Avatar kimaani says:

    ~/workspace $ sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package libpython-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Unable to locate package libreadline-dev
    E: Unable to locate package libconfig-dev
    E: Unable to locate package lua5.2
    E: Couldn’t find any package by regex ‘lua5.2’
    E: Unable to locate package liblua5.2-dev
    E: Couldn’t find any package by regex ‘liblua5.2-dev’
    E: Unable to locate package libevent-dev
    E: Unable to locate package libjansson-dev
    E: Package ‘libpython-dev’ has no installation candidate
    E: Unable to locate package expat
    kimaani:~/workspace $ git clone https://github.com/SEEDTEAM/TeleSeed.git

  30. Avatar Roman says:

    I have a problem when writing a command – sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git redis-server g++ libjansson-dev libpython-dev expat libexpat1-dev

    An error – Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package libpython-dev is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Unable to locate package libreadline-dev
    E: Unable to locate package libconfig-dev
    E: Unable to locate package lua5.2
    E: Couldn’t find any package by regex ‘lua5.2’
    E: Unable to locate package liblua5.2-dev
    E: Couldn’t find any package by regex ‘liblua5.2-dev’
    E: Unable to locate package libevent-dev
    E: Unable to locate package libjansson-dev
    E: Package ‘libpython-dev’ has no installation candidate
    E: Unable to locate package expat

    How to solve a problem? Because writing commands – cd
    sudo apt-get Update
    sudo apt-get upgrade

    This does not solve the problem!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.