xaizek / zograscope

Mainly a syntax-aware diff that also provides a number of additional tools.
GNU Affero General Public License v3.0
51 stars 2 forks source link

Installation instructions #8

Closed amejiarosario closed 3 years ago

amejiarosario commented 3 years ago

Hi, This project looks great and I'd like to try it out. However, I'm new to C++ and having some difficulties installing the program.

Could you please provide instructions how to get the dependencies installed (e.g., Boost)?

image

xaizek commented 3 years ago

Hello,

it depends on the distribution you're using. List of additional packages for Ubuntu is listed in .travis.yml:

libarchive13 is a dependency of SrcML, for which you can download a binary from their site.

You can avoid building by using AppImage from releases page, which I have just updated to include latest changes. You just download and make it executable, should work in most environments.

amejiarosario commented 3 years ago

Thanks for the pointer. Looking at the travis.yml was useful. After some trial and error, I found that bison and flex were also needed.

# installing dependencies
sudo apt install -y libboost-filesystem-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libarchive13
sudo apt install -y bison flex
# installing srcml
wget http://131.123.42.38/lmcrs/beta/srcML-Ubuntu18.04.deb && sudo apt install ./srcML-Ubuntu18.04.deb

Do you mind if I create a PR expanding on installation instructions to help other users?

xaizek commented 3 years ago

Do you mind if I create a PR expanding on installation instructions to help other users?

Of course I don't mind.