Skip to content
Alexandr Topilski edited this page May 9, 2022 · 12 revisions

Building FastoNoSQL

Clone sources:

git clone https://github.com/fastogt/fastonosql
cd fastonosql
git submodule update --init --recursive

Install FastoGT python scripts:

git clone https://gitlab.com/fastogt/pyfastogt
cd pyfastogt
python3 setup.py install

Windows

Enviroment
install msys2 http://msys2.github.io
in mingw64 console install next packages:
pacman -S base-devel git mingw-w64-x86_64-toolchain mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-openssl mingw-w64-x86_64-qt5 mingw-w64-x86_64-ninja

External libraries
From build folder execute next:
python3 build_env.py

FastoNoSQL
From build folder execute next:
python3 build.py ..

Linux

Enviroment
Debian based systems:
apt-get install build-essential mesa-common-dev libgl1-mesa-dev cmake libssl-dev qtbase5-dev qttools5-dev ninja-build
Red Hat based systems:
yum groupinstall "C Development Tools and Libraries" mesa-libGL-devel cmake qt5-qtbase-devel ninja

External libraries
From build folder execute next:
python3 build_env.py

FastoNoSQL
From build folder execute next:
python3 build.py ..

FreeBSD

Enviroment
/usr/ports/devel/clang/ && make install clean
/usr/ports/devel/cmake/ && make install clean
/usr/ports/devel/openssl/ && make install clean
/usr/ports/devel/qt5/ && make install clean
/usr/ports/devel/ninja/ && make install clean

External libraries
From build folder execute next:
python build_env.py

FastoNoSQL
From build folder execute next:
python3 build.py ..

MacOS X

Enviroment
Install MacPorts https://www.macports.org/
port install openssl cmake ninja
Build Qt for MacOSX

External libraries
From build folder execute next:
python3 build_env.py

FastoNoSQL
From build folder execute next:
python3 build.py ..

Android

Enviroment
export JAVA_HOME=/usr/lib/jvm/java-6-jdk
export ANDROID_SDK_ROOT=/opt/android-sdk export ANDROID_API_VERSION=android-18 export PATH=${JAVA_HOME}/bin:$PATH

Openssl
CC=/opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc ./Configure android-armv7 --prefix=/opt/android-ndk/platforms/android-9/arch-arm/usr ANDROID_DEV=/opt/android-ndk/platforms/android-9/arch-arm/usr
make install
Build Qt for Android

External libraries
From build folder execute next:
python3 build_env.py

FastoNoSQL
From build folder execute next:
python3 build.py .. android 32 make

Clone this wiki locally