-
Notifications
You must be signed in to change notification settings - Fork 56
Building Apache Ignite
aborkar-ibm edited this page Jun 25, 2019
·
32 revisions
General Notes:
- When following the steps below please use a standard permission user unless otherwise specified.
- A directory
/<source_root>/
will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.
Apache Ignite binaries are available and can be downloaded from here. Following are the dependencies to be installed.
- Download and install AdoptOpenJDK 8 from here
Note: At the time of creation of these build instructions Apache Ignite was verified with AdoptOpenJDK version (build 1.8.0_192-b12_openj9) .
export SOURCE_ROOT=/<source_root>/
cd $SOURCE_ROOT
sudo yum install -y wget tar make flex gcc gcc-c++ gcc-devel.s390 binutils-devel bzip2
wget ftp://gcc.gnu.org/pub/gcc/releases/gcc-6.3.0/gcc-6.3.0.tar.gz
tar -xvzf gcc-6.3.0.tar.gz
cd gcc-6.3.0/
./contrib/download_prerequisites
cd $SOURCE_ROOT
mkdir gcc_build
cd gcc_build/
../gcc-6.3.0/configure --prefix="/opt/gcc" --enable-shared --with-system-zlib --enable-threads=posix --enable-__cxa_atexit --enable-checking --enable-gnu-indirect-function --enable-languages="c,c++" --disable-bootstrap --disable-multilib
Note: By changing the prefix, you can specify a different installation directory. Make sure to use the same directory in below commands
make
sudo make install
export PATH=/opt/gcc/bin:$PATH
sudo ln -sf /opt/gcc/bin/gcc /usr/bin/gcc
export C_INCLUDE_PATH=/opt/gcc/lib/gcc/s390x-ibm-linux-gnu/6.3.0/include
export CPLUS_INCLUDE_PATH=/opt/gcc/lib/gcc/s390x-ibm-linux-gnu/6.3.0/include
sudo ln -sf /opt/gcc/lib64/libstdc++.so.6 /lib64/libstdc++.so.6
To start an Ignite node, unzip binary to $SOURCE_ROOT
and follow the steps given below.
export IGNITE_HOME=$SOURCE_ROOT/<apache_ignite_binary_folder>
cd $SOURCE_ROOT/<apache_ignite_binary_folder>
bin/ignite.sh
The information provided in this article is accurate at the time of writing, but on-going development in the open-source projects involved may make the information incorrect or obsolete. Please open issue or contact us on IBM Z Community if you have any questions or feedback.