Skip to content

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

Open
@akam-pico

Description

@akam-pico

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

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

Metadata

Metadata

Assignees

Labels

exampleProblem with a code example.rewrite[nature] Revise existing text for structure/phrasing/terms

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions