From 13e67f4ce395dc2c30cf7ffcae74fa455fbeebea Mon Sep 17 00:00:00 2001 From: JFreegman Date: Tue, 4 Mar 2014 03:08:04 -0500 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index adec50a..c022e33 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,16 @@ -## Toxic +# Toxic Toxic is an ncurses based instant messaging client for [Tox](http://tox.im) which formerly resided in the [Tox core repository](https://github.com/irungentoo/ProjectTox-Core) and is now available as a standalone program. It looks like [this](http://i.imgur.com/hL7WhVl.png). +## Installation +* Generate the configure script by running the ```autoreconf -i``` command. -To compile, first generate the configure script by running the ```autoreconf -i``` command. +* Execute the configure script with ```./configure``` (you may need to pass it the location of your dependency libraries, i.e.): +```./configure --prefix=/where/to/install --with-libtoxcore-headers=/path/to/ProjectTox-Core/core --with-libtoxcore-libs=/path/to/ProjectTox-Core/build/core --with-libsodium-headers=/path/to/libsodium/include/ --with-libsodium-libs=/path/to/sodiumtest/lib/ ``` -Then execute the configure script with ./configure (you may need to pass it the location of your dependency libraries, i.e.): -``` -./configure --prefix=/where/to/install --with-libtoxcore-headers=/path/to/ProjectTox-Core/core --with-libtoxcore-libs=/path/to/ProjectTox-Core/build/core --with-libsodium-headers=/path/to/libsodium/include/ --with-libsodium-libs=/path/to/sodiumtest/lib/ +* Compile and install the program with ```make && sudo make install``` -``` -*Note:* If your default prefix is /usr/local and you happen to get an error that says "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory", then you can try running ```sudo ldconfig```. If that doesn't fix it, run: +#### Notes +If your default prefix is /usr/local and you get the error: "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory", then you can try running ```sudo ldconfig```. If that doesn't fix it, run: ``` echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf sudo ldconfig