Announcement

Collapse
No announcement yet.

I cannot install voltdb community edition on CentOS 7

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • I cannot install voltdb community edition on CentOS 7

    Hi there,
    I am Hiroshi Tagami, Japanese a web developer.
    VoltDB's fast process attracted me very much !
    So I want to use VoltDB on my CentOS 7

    After downloading VoltDB from github and

    $ cd voltdb
    $ ant

    *voltdb's version is 6.7

    below message show up on the screen ant failed to install.

    ee_buildmakefile:
    [exec] Cannot find compiler version by running "g++"
    [exec] Traceback (most recent call last):
    [exec] File "build.py", line 99, in <module>
    [exec] CTX.CPPFLAGS += " " + CTX.CXX_VERSION_FLAG
    [exec] AttributeError: BuildContext instance has no attribute 'CXX_VERSION_FLAG'

    BUILD FAILED
    /root/voltdb/build.xml:1586: exec returned: 1

    Anyone can help me ?

    By the way I already installed dependent tools below

    yum -y install ant ant-nodeps ant-junit ant-scripts ant-javadoc ant-trax \
    > gcc gcc-c++ python valgrind ntp python26 git-all python-httplib2 \
    > python-setuptools python-devel ccache cmake bzip2

  • #2
    What is the output of 'gcc -v' ?

    Ruth

    Comment


    • #3
      I ran into exactly the same issue, and workarounded it by exporting the followings before build

      export LANG=en_US.UTF-8
      export LC_ALL=en_US.UTF-8

      I suggest these export should be added in voltdb build script so that Linux not in en_US.UTF-8 by default could also build voltdb successfully.

      Comment


      • #4
        lliang - thanks for the tip on language settings. We filed this as https://issues.voltdb.com/browse/ENG-11387.

        Ruth

        Comment

        Working...
        X