Building Vera++ on Debian Stretch

Jurjen Bokma

Last modified: "2016-12-21 11:55:00 jurjen"


Vera++ is a C++ layout tool, but Debian Stretch has version 1.2.1, which is old. Here we install vera++ 1.3 from source.

Table of Contents

The building

  1. sudo apt-get build-dep vera++
    sudo apt-get install libluabind-dev tk-dev tcl-dev python-dev liblua5.1-0-dev

  2. wget
    tar zxf ~/Downloads/vera++-1.3.0.tar.gz
    cd vera++-1.3.0

  3. mkdir build>
    cd build

  4. export CXXFLAGS='-fPIC'
    cmake ..
    make -j
    sudo make install

  5. sudo apt-get purge vera++make -j

  6. Don't foget to run debfoster to clean up the packages that were installed just for this build.