tarantool / tarantool/doc

Manual "Building from source" is outdated for Ubuntu 20.04.2.0 LTS. Example does not work, dependencies is outdated, package choice not obvious

Open
#2,302 0 comments 0 reactions 1 assignee View on GitHub

@artembo is already working on this.

Since Sep 3, 2021.

example rewrite
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Update building from source information for Ubuntu

Product: Tarantool
Root document: https://www.tarantool.io/en/doc/latest/dev_guide/building_from_source/
SME: @
Peer reviewer: @

Details

Bug description

Инструкция
https://www.tarantool.io/en/doc/latest/dev_guide/building_from_source/
устарела для убунты

  1. Пример не работает
  2. Зависимости указаны не все
  3. Часть указанных зависимостей указаны неверно - выбраны неверные (нерабочие) пакеты
  4. Выбор пакета по известной зависимости неочевиден, а в примере указано не всё, а что-то указано не верно (пример - python3-gevent указан, но тесты всё равно не компилируются, выдают ошибку на отсутствие gevent)

Предлагаю заменить пример на следующий


sudo apt install git
git clone https://github.com/tarantool/tarantool.git
cd tarantool
git submodule update --init --recursive
sudo apt install cmake make libreadline-dev autoconf libtool libncurses-dev clang libssl-dev zlib1g-dev libicu-dev
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
make

#для построения тестов
cd ../test-run 
sudo apt install python3 python-yaml libevent-dev python3-gevent python3-six python-hypothes
make test

но тесты с ним всё равно не компилятся, для компиляции тестов его ещё нужно доработать

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.