Forum: Installation

Post: Try to build community edition on CentOS 7.0 64bit (build error)

Try to build community edition on CentOS 7.0 64bit (build error)
franz2000
Sep 26, 2014
Hi,

I am trying to build the community edition under CentOS 7.0 64bit. I have downloaded the files as explained in the "Building VoltDB" document. The build process terminates with the following error:

buildinfo:
[exec] Version: 4.8 voltdb-4.7-104-g910f5d2

ee_makefile.uptodate:

ee_buildmakefile:
[exec] Traceback (most recent call last):
[exec] File "build.py", line 4, in <module>
[exec] from buildtools import *
[exec] File "/home/thiel/voltdb/buildtools.py", line 409, in <module>
[exec] compiler_name, compiler_major, compiler_minor, compiler_point = getCompilerVersion()
[exec] File "/home/thiel/voltdb/buildtools.py", line 406, in getCompilerVersion
[exec] return "gcc", int(vinfo[0]), int(vinfo[1]), int(vinfo[2])
[exec] IndexError: list index out of range

BUILD FAILED
/home/thiel/voltdb/build.xml:1221: exec returned: 1

Can someone help here?
Thanks

Franz
rmorgenstein
Sep 29, 2014
Hi Franz,

What is the output of gcc -v?

Ruth
franz2000
Sep 30, 2014
Hi Ruth,

the output is as follows:

[thiel@drfthcentos voltdb]$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
[thiel@drfthcentos voltdb]$

But I made another observation: The Region / Language setting was German and I changed it back to English (US), and guess, the build succeeded (that reminds me of Microsoft):

voltdbclient.jar:

compile:

buildinfo:
[exec] Version: 4.8 voltdb-4.7-104-g910f5d2

voltdbclient.jar:
[jar] Building jar: /home/thiel/voltdb/voltdb/voltdbclient-4.8.jar

default:

BUILD SUCCESSFUL
Total time: 2 minutes 42 seconds


The tutorials are working fine (tutorial 1 and tutorial 2).

Thank you very much for coming back on my request.

Franz