linux – Should I use the manufacturer instructions for installing Griddb on Ubuntu or use Quick intall from deb?

I am following the instructions of https://github.com/griddb/.
But I am experiencing difficulties with it:

~/griddb$ sudo make
Making all in 3rd_party/MessagePack
make(1): Entering directory '/home/abc/griddb/3rd_party/MessagePack'
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-objectc.o -MD -MP -MF .deps/libmsgpack_a-objectc.Tpo -c -o libmsgpack_a-objectc.o `test -f './src/objectc.c' || echo './'`./src/objectc.c
mv -f .deps/libmsgpack_a-objectc.Tpo .deps/libmsgpack_a-objectc.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-unpack.o -MD -MP -MF .deps/libmsgpack_a-unpack.Tpo -c -o libmsgpack_a-unpack.o `test -f './src/unpack.c' || echo './'`./src/unpack.c
mv -f .deps/libmsgpack_a-unpack.Tpo .deps/libmsgpack_a-unpack.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-version.o -MD -MP -MF .deps/libmsgpack_a-version.Tpo -c -o libmsgpack_a-version.o `test -f './src/version.c' || echo './'`./src/version.c
mv -f .deps/libmsgpack_a-version.Tpo .deps/libmsgpack_a-version.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-vrefbuffer.o -MD -MP -MF .deps/libmsgpack_a-vrefbuffer.Tpo -c -o libmsgpack_a-vrefbuffer.o `test -f './src/vrefbuffer.c' || echo './'`./src/vrefbuffer.c
mv -f .deps/libmsgpack_a-vrefbuffer.Tpo .deps/libmsgpack_a-vrefbuffer.Po
gcc -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I./include   -O3 -fno-tree-vectorize -DNDEBUG -MT libmsgpack_a-zone.o -MD -MP -MF .deps/libmsgpack_a-zone.Tpo -c -o libmsgpack_a-zone.o `test -f './src/zone.c' || echo './'`./src/zone.c
mv -f .deps/libmsgpack_a-zone.Tpo .deps/libmsgpack_a-zone.Po
rm -f libmsgpack.a
ar cru libmsgpack.a libmsgpack_a-objectc.o libmsgpack_a-unpack.o libmsgpack_a-version.o libmsgpack_a-vrefbuffer.o libmsgpack_a-zone.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libmsgpack.a
make(1): Leaving directory '/home/abc/griddb/3rd_party/MessagePack'
Making all in utility
make(1): Entering directory '/home/abc/griddb/utility'
g++ -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I../utility   -Wall -finput-charset=UTF-8 -Wpointer-arith -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-parameter -std=gnu++0x -O3 -fno-tree-vectorize -DNDEBUG -MT libutil_a-allocator.o -MD -MP -MF .deps/libutil_a-allocator.Tpo -c -o libutil_a-allocator.o `test -f './util/allocator.cpp' || echo './'`./util/allocator.cpp
mv -f .deps/libutil_a-allocator.Tpo .deps/libutil_a-allocator.Po
g++ -DPACKAGE_NAME="GridDB" -DPACKAGE_TARNAME="griddb" -DPACKAGE_VERSION="4.6.0" -DPACKAGE_STRING="GridDB 4.6.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="griddb" -DVERSION="4.6.0" -I.  -I../utility   -Wall -finput-charset=UTF-8 -Wpointer-arith -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-parameter -std=gnu++0x -O3 -fno-tree-vectorize -DNDEBUG -MT libutil_a-code.o -MD -MP -MF .deps/libutil_a-code.Tpo -c -o libutil_a-code.o `test -f './util/code.cpp' || echo './'`./util/code.cpp
In file included from ./util/code.cpp:43:0:
./util/code.h: In function ‘int32_t util::varIntDecode64(const uint8_t*, uint64_t&)’:
./util/code.h:3476:14: warning: result of ‘(127 << 28)’ requires 36 bits to represent, but ‘int’ only has 32 bits (-Wshift-overflow=)
   a &= (0x7f << 28) | (0x7f << 14) | (0x7f);
         ~~~~~^~~~~
./util/code.h:3489:14: warning: result of ‘(127 << 28)’ requires 36 bits to represent, but ‘int’ only has 32 bits (-Wshift-overflow=)
   b &= (0x7f << 28) | (0x7f << 14) | (0x7f);
         ~~~~~^~~~~
./util/code.h: In static member function ‘static void util::ObjectCoder::Impl::decodeInternal(C&, S&, T&, const Attribute&, const Traits&, const util::ObjectCoder::Impl::TypeTag<(util::ObjectCoder::Type)5>&)’:
./util/code.h:4765:43: error: expected primary-expression before ‘>’ token
   value.push_back(coder.create<ElementType>());
                                           ^
./util/code.h:4765:45: error: expected primary-expression before ‘)’ token
   value.push_back(coder.create<ElementType>());
                                             ^
./util/code.h: In static member function ‘static void util::ObjectCoder::Impl::decodeInternal(C&, S&, T&, const Attribute&, const Traits&, const util::ObjectCoder::Impl::TypeTag<(util::ObjectCoder::Type)8>&)’:
./util/code.h:4818:24: error: expected primary-expression before ‘>’ token
  value = coder.create<T>();
                        ^
./util/code.h:4818:26: error: expected primary-expression before ‘)’ token
  value = coder.create<T>();
                          ^
Makefile:394: recipe for target 'libutil_a-code.o' failed
make(1): *** (libutil_a-code.o) Error 1
make(1): Leaving directory '/home/abc/griddb/utility'
Makefile:383: recipe for target 'all-recursive' failed
make: *** (all-recursive) Error 1