cruppstahl/upscaledb

CentOS 6.8 - Error Building Upscaledb 2.2.1 - ./configure: line 21049:

Closed this issue · 7 comments

Steps for Build Upscaledb

Install Step For
uname -a
Linux SERVER 2.6.32-642.15.1.el6.x86_64 #1 SMP Fri Feb 24 14:31:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
CentOS release 6.8 (Final)

Library
yum install -y binutils make gc gcc gcc-c++ libtool autoconf automake ;
yum install -y protobuf-compiler protobuf-devel ;

Libray Boost
#yum install -y boost boost-devel ;
yum erase -y boost boost-* ;
mkdir -p /dados_ssd/setup/boost ;
cd /dados_ssd/setup/boost ;
wget https://sourceforge.net/projects/boost/files/boost/1.63.0/boost_1_63_0.tar.gz ;
tar xzf boost_1_63_0.tar.gz .
cd boost_1_63_0 ;
sh bootstrap.sh ;
./b2 && ./b2 install;

Download
mkdir -p /dados_ssd/setup/upscaledb ;
cd /dados_ssd/setup/upscaledb ;
wget https://github.com/cruppstahl/upscaledb/archive/topic/2.2.1.zip -O upscaledb-2.2.1.zip ;
unzip upscaledb-2.2.1.zip ;

Compile
cd /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1 ;
sh bootstrap.sh ;
./configure --prefix=/opt/upscaledb-2.2.1 --disable-java ;
make -j 8 ;
make install ;

Log

[root@SERVER setup]# uname -a
Linux SERVER 2.6.32-642.15.1.el6.x86_64 #1 SMP Fri Feb 24 14:31:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@SERVER setup]# cat /etc/redhat-release
CentOS release 6.8 (Final)
[root@SERVER setup]# yum install -y binutils make gc gcc gcc-c++ libtool autoconf automake ;
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: centos.xpg.com.br
  • epel: mirror.globo.com
  • extras: centos.xpg.com.br
  • updates: centos.xpg.com.br
    Package binutils-2.20.51.0.2-5.44.el6.x86_64 already installed and latest version
    Package 1:make-3.81-23.el6.x86_64 already installed and latest version
    Package gc-7.1-12.el6_4.x86_64 already installed and latest version
    Package gcc-4.4.7-17.el6.x86_64 already installed and latest version
    Package gcc-c++-4.4.7-17.el6.x86_64 already installed and latest version
    Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version
    Package autoconf-2.63-5.1.el6.noarch already installed and latest version
    Package automake-1.11.1-4.el6.noarch already installed and latest version
    Nothing to do
    [root@SERVER setup]# yum install -y protobuf-compiler protobuf-devel ;
    Loaded plugins: fastestmirror
    Setting up Install Process
    Loading mirror speeds from cached hostfile
  • base: centos.xpg.com.br
  • epel: mirror.globo.com
  • extras: centos.xpg.com.br
  • updates: centos.xpg.com.br
    Package protobuf-compiler-2.3.0-9.el6.x86_64 already installed and latest version
    Package protobuf-devel-2.3.0-9.el6.x86_64 already installed and latest version
    Nothing to do
    [root@SERVER setup]#

[root@SERVER upscaledb]# # Compile
[root@SERVER upscaledb]# cd /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1 ;
[root@SERVER upscaledb-topic-2.2.1]# sh bootstrap.sh ;

  • libtoolize
    libtoolize: putting auxiliary files in .'. libtoolize: linking file ./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, m4'. libtoolize: linking file m4/libtool.m4'
    libtoolize: linking file m4/ltoptions.m4' libtoolize: linking file m4/ltsugar.m4'
    libtoolize: linking file m4/ltversion.m4' libtoolize: linking file m4/lt~obsolete.m4'
  • aclocal -I m4
  • autoconf
  • automake --add-missing
    configure.ac:34: installing ./compile' configure.ac:14: installing ./config.guess'
    configure.ac:14: installing ./config.sub' configure.ac:11: installing ./install-sh'
    configure.ac:11: installing ./missing' 3rdparty/json/Makefile.am: installing ./depcomp'
    [root@SERVER upscaledb-topic-2.2.1]# ./configure --prefix=/opt/upscaledb-2.2.1 --disable-java ;
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for a sed that does not truncate output... /bin/sed
    checking how to run the C preprocessor... gcc -std=gnu99 -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for an ANSI C-conforming const... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for size_t... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc -std=gnu99... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1966080
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
    checking for dlfcn.h... yes
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for objdir... .libs
    checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
    checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
    checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
    checking if gcc -std=gnu99 static flag -static works... no
    checking if gcc -std=gnu99 supports -c -o file.o... yes
    checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
    checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... no
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
    checking for off_t... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for mmap... yes
    checking for munmap... yes
    checking for madvise... yes
    checking for getpagesize... (cached) yes
    checking for fdatasync... yes
    checking for fsync... yes
    checking for writev... yes
    checking for pread... yes
    checking for pwrite... yes
    checking for posix_fadvise... yes
    checking for usleep... yes
    checking for sched_yield... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking for unistd.h... (cached) yes
    checking whether the compiler supports GCC C++ ABI name demangling... yes
    checking for Boost headers version >= 1.53.0... yes
    checking for Boost's header version... 1_63
    checking for the toolset name used by Boost for g++... gcc44 -gcc
    checking boost/system/error_code.hpp usability... yes
    checking boost/system/error_code.hpp presence... yes
    checking for boost/system/error_code.hpp... yes
    checking for the Boost system library... yes
    checking for boost/system/error_code.hpp... (cached) yes
    checking for the Boost system library... (cached) yes
    checking boost/filesystem/path.hpp usability... yes
    checking boost/filesystem/path.hpp presence... yes
    checking for boost/filesystem/path.hpp... yes
    checking for the Boost filesystem library... (cached) yes
    checking for the flags needed to use pthreads... -pthread
    checking for boost/system/error_code.hpp... (cached) yes
    checking for the Boost system library... (cached) yes
    checking boost/thread.hpp usability... yes
    checking boost/thread.hpp presence... yes
    checking for boost/thread.hpp... yes
    checking for the Boost thread library... (cached) yes
    ./configure: line 21049: syntax error near unexpected token ;' ./configure: line 21049: ; then'
    [root@SERVER upscaledb-topic-2.2.1]#

I needed to update this packages manually, now the build starts but returns error at the end.

Update Autoconf
mkdir -p /dados_ssd/setup/autoconf ;
cd /dados_ssd/setup/autoconf ;
wget http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz
tar xzf autoconf-latest.tar.gz
cd autoconf-2.69
./configure
make && make install

Update Automake
mkdir -p /dados_ssd/setup/automake ;
cd /dados_ssd/setup/automake ;
wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz ;
tar xzf automake-1.15.tar.gz ;
cd automake-1.15
./configure
make && make install

LAST Compile Error
[root@SERVER upscaledb-topic-2.2.1]# ./configure --prefix=/opt/upscaledb-2.2.1 --disable-java ;
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a sed that does not truncate output... /bin/sed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether make supports nested variables... (cached) yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... (cached) ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... no
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for off_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for mmap... yes
checking for munmap... yes
checking for madvise... yes
checking for getpagesize... (cached) yes
checking for fdatasync... yes
checking for fsync... yes
checking for writev... yes
checking for pread... yes
checking for pwrite... yes
checking for posix_fadvise... yes
checking for usleep... yes
checking for sched_yield... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking whether the compiler supports GCC C++ ABI name demangling... yes
checking for Boost headers version >= 1.53.0... yes
checking for Boost's header version... 1_63
checking for the toolset name used by Boost for g++... gcc44 -gcc
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... yes
checking for boost/system/error_code.hpp... (cached) yes
checking for the Boost system library... (cached) yes
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking for the Boost filesystem library... (cached) yes
checking for the flags needed to use pthreads... -pthread
checking for boost/system/error_code.hpp... (cached) yes
checking for the Boost system library... (cached) yes
checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... (cached) yes
checking for boost/system/error_code.hpp... (cached) yes
checking for the Boost system library... (cached) yes
checking boost/chrono.hpp usability... yes
checking boost/chrono.hpp presence... yes
checking for boost/chrono.hpp... yes
checking for the Boost chrono library... (cached) yes
checking google/tcmalloc.h usability... no
checking google/tcmalloc.h presence... no
checking for google/tcmalloc.h... no
checking for tc_malloc in -ltcmalloc_minimal... no
checking for EVP_EncryptInit_ex in -lcrypto... no
checking openssl/evp.h usability... no
checking openssl/evp.h presence... no
checking for openssl/evp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking snappy.h usability... no
checking snappy.h presence... no
checking for snappy.h... no
checking if google protocol buffers are installed... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/2protobuf/Makefile
config.status: creating src/2protoserde/Makefile
config.status: creating include/Makefile
config.status: creating include/ups/Makefile
config.status: creating samples/Makefile
config.status: creating unittests/Makefile
config.status: creating 3rdparty/Makefile
config.status: creating 3rdparty/json/Makefile
config.status: creating tools/Makefile
config.status: creating tools/ups_bench/Makefile
config.status: creating src/5server/Makefile
config.status: creating java/Makefile
config.status: creating java/java/Makefile
config.status: creating java/src/Makefile
config.status: creating java/unittests/Makefile
config.status: creating 3rdparty/liblzf/Makefile
config.status: creating 3rdparty/murmurhash3/Makefile
config.status: creating 3rdparty/simdcomp/Makefile
config.status: creating 3rdparty/streamvbyte/Makefile
config.status: creating 3rdparty/libfor/Makefile
config.status: creating 3rdparty/libvbyte/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
#================================================================

Configuring upscaledb version 2.2.1

Settings: (encryption) (libcrypto missing - encryption disabled) (ssl-devel missing - encryption disabled) (zlib) (no snappy) (simd-sse4) (simd-sse2) (no java) (remote)

The Java API is not built because you specified

--disable-java or because $JDK is not set

Recommendation: install google's performance tools to increase performance

#================================================================
make: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/2protobuf' protoc ./messages.proto --cpp_out=. make: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/2protobuf'
make: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/tools' protoc ./export.proto --cpp_out=. make: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/tools'
make: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/unittests' g++ -fPIC -shared -o plugin.so plugin.cc -I../include -I../include -I../src -std=c++11 -DUPS_ENABLE_REMOTE cc1plus: error: unrecognized command line option "-std=c++11" make: *** [plugin] Error 1 make: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/unittests'
[root@SERVER upscaledb-topic-2.2.1]# make -j 32 ;
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/missing autoheader)
configure.ac:31: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from...
m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
m4/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from...
m4/libtool.m4:785: _LT_LANG is expanded from...
m4/libtool.m4:768: LT_LANG is expanded from...
m4/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
m4/libtool.m4:138: _LT_SETUP is expanded from...
m4/libtool.m4:67: LT_INIT is expanded from...
configure.ac:31: the top level
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make all-recursive
make[1]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1' Making all in 3rdparty make[2]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty'
Making all in liblzf
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/liblzf' CC lzf_c.lo CC lzf_d.lo CCLD liblzf.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/liblzf'
Making all in murmurhash3
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/murmurhash3' CXX MurmurHash3.lo CXXLD libmurmurhash3.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/murmurhash3'
Making all in libfor
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/libfor' CC for.lo CXX frameofreference.lo CXXLD libfor.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/libfor'
Making all in libvbyte
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/libvbyte' CXX vbyte.lo CC varintdecode.lo CXXLD libvbyte.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/libvbyte'
Making all in simdcomp
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/simdcomp' CC src/simdbitpacking.lo CC src/simdcomputil.lo CC src/simdfor.lo CC src/simdintegratedbitpacking.lo CC src/simdpackedsearch.lo CC src/simdpackedselect.lo CC src/unit.o CCLD libsimdcomp.la CCLD unit make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/simdcomp'
Making all in streamvbyte
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/streamvbyte' CXX streamvbyte.lo CXXLD libstreamvbyte.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/streamvbyte'
Making all in json
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/json' CC ConvertUTF.lo CC JSON_parser.lo CCLD libjson.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty/json'
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty' make[3]: Nothing to be done for all-am'.
make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty' make[2]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/3rdparty'
Making all in src
make[2]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src' Making all in 2protoserde make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/2protoserde'
make[3]: Nothing to be done for all'. make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/2protoserde'
Making all in 2protobuf
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/2protobuf' CXX messages.pb.lo CXXLD libprotocol.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/2protobuf'
Making all in 5server
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/5server' CXX upsserver.lo CXXLD libupsserver.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src/5server'
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src' CXX 1base/error.lo CXX 1base/util.lo CXX 1errorinducer/errorinducer.lo CXX 1globals/callbacks.lo CXX 1globals/globals.lo CXX 1mem/mem.lo CXX 1os/os.lo CXX 1os/os_posix.lo CXX 2compressor/compressor_factory.lo CXX 2page/page.lo CXX 3changeset/changeset.lo CXX 3blob_manager/blob_manager_inmem.lo CXX 3blob_manager/blob_manager_disk.lo CXX 3btree/btree_check.lo CXX 3btree/btree_cursor.lo CXX 3btree/btree_erase.lo CXX 3btree/btree_find.lo CXX 3btree/btree_index.lo CXX 3btree/btree_insert.lo CXX 3btree/btree_stats.lo CXX 3btree/btree_update.lo CXX 3btree/btree_visit.lo CXX 3journal/journal.lo CXX 3page_manager/freelist.lo CXX 3page_manager/page_manager.lo CXX 4cursor/cursor_local.lo CXX 4cursor/cursor_remote.lo CXX 4db/db.lo CXX 4db/db_local.lo CXX 4db/db_remote.lo CXX 4db/histogram.lo CXX 4env/env.lo CXX 4env/env_local.lo CXX 4env/env_remote.lo CXX 4txn/txn_cursor.lo CXX 4txn/txn_local.lo CXX 4txn/txn_remote.lo CXX 4uqi/parser.lo CXX 4uqi/plugins.lo CXX 4uqi/scanvisitorfactory.lo CXX 4uqi/uqi.lo CXX 5upscaledb/upscaledb.lo CXXLD libupscaledb.la make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src'
make[2]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/src' Making all in include make[2]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/include'
Making all in ups
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/include/ups' make[3]: Nothing to be done for all'.
make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/include/ups' make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/include'
make[3]: Nothing to be done for all-am'. make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/include'
make[2]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/include' Making all in samples make[2]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/samples'
CC db1.o
CC db2.o
CC db3.o
CC db4.o
CC db5.o
CXX db6.o
CC env1.o
CC env2.o
CXX env3.o
CC uqi1.o
CC uqi2.o
CC server1.o
CC client1.o
CCLD db5
CCLD db4
CCLD db3
CCLD db1
CCLD db2
CCLD server1
CCLD uqi1
CCLD client1
CCLD env2
CCLD uqi2
CCLD env1
CXXLD db6
CXXLD env3
make[2]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/samples' Making all in tools make[2]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/tools'
Making all in ups_bench
make[3]: Entering directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/tools/ups_bench' CXX berkeleydb.o CXX database.o CXX generator_parser.o CXX generator_runtime.o CXX getopts.o CC common.o CXX upscaledb.o CXX main.o In file included from /usr/local/include/boost/filesystem/path_traits.hpp:22, from /usr/local/include/boost/filesystem/path.hpp:25, from /usr/local/include/boost/filesystem.hpp:16, from main.cc:24: /usr/local/include/boost/type_traits/decay.hpp: In instantiation of ‘boost::decay<Configuration::<anonymous enum> >’: main.cc:1100: instantiated from here /usr/local/include/boost/type_traits/decay.hpp:35: error: ‘Configuration::<anonymous enum>’ is/uses anonymous type /usr/local/include/boost/type_traits/decay.hpp:35: error: trying to instantiate ‘template<class T> struct boost::remove_reference’ /usr/local/include/boost/type_traits/decay.hpp:37: error: ‘Configuration::<anonymous enum>’ is/uses anonymous type /usr/local/include/boost/type_traits/decay.hpp:37: error: trying to instantiate ‘template<class T> struct boost::remove_reference’ make[3]: *** [main.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/tools/ups_bench'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /dados_ssd/setup/upscaledb/upscaledb-topic-2.2.1'
make: *** [all] Error 2
[root@SERVER upscaledb-topic-2.2.1]#

The bug is on file "tools/ups_bench/main.cc"
main.cc:1100: instantiated from here

Does this compile on RHEL/Centos 6.x (with gnu compilers gcc-Version 4.4.7 20120313 (Red Hat 4.4.7-18))?

How did you fix this issue (scl enable devtoolset-3 <buildcommands> etc...)?

Yes, it compiles completely, except for a one binary, but before you need to manually update the packages of autoconf and automake

Hi @fmgdias
Thank you very much for your instructions. After trying hard for many days, I was finally able to compile it successfully.
However, while running the db1 file, i faced another error and I am not able to proceed further.

[vinay@localhost samples]$ ./db1
/home/vinay/Downloads/upscaledb-2.2.1/samples/.libs/lt-db1: error while loading shared libraries: libboost_thread.so.1.63.0: cannot open shared object file: No such file or directory

Could you please suggest what I might be doing wrong ?

hello, I didn't get to implement upscaledb in production, I ended up preferring MySQL NDB Cluster + MemCached, another solution that works is ScyllaDB.

Hello @fmgdias , that's aright! Thank you!

I found the same issue raised #69.

The guy is telling to some something to "path". I am new to linux programming, so trying to work around it.
Thank you!