Follow ProjectTox-Core installation instructions. Don't forget to install it after building it.
Additionally to the tox build dependencies, you will need:
Package name | Version |
---|---|
valac | >= 0.18.1 |
cmake | >=2.8.7 |
libgtk-3-dev | >=3.4 |
libjson-glib-dev | >=0.14 |
libsqlite3-dev | >=3.7 |
Ubuntu >= 12.10 (Quantal Quetzal) / Linux Mint / Debian:
apt-get install valac cmake libgtk-3-dev libjson-glib-dev libsqlite3-dev
Ubuntu 12.04 (Precise Pangolin): (needs a ppa to get a newer version of valac as well as djbdns for dns resolution)
apt-add-repository ppa:vala-team/ppa
apt-get update
apt-get install valac cmake libgtk-3-dev libjson-glib-dev libsqlite3-dev
Fedora:
yum install vala cmake gtk3-devel json-glib-devel sqlite-devel
Arch Linux: (There is an aur-package)
pacman -S vala cmake gtk3 json-glib sqlite
If your version of glib is smaller than 2.34, you will need djbdns to resolve dns entries:
wget http://cr.yp.to/djbdns/djbdns-1.05.tar.gz
tar -xzf djbdns-1.05.tar.gz
cd djbdns-1.05
echo gcc -O2 -include /usr/include/errno.h > conf-cc
make
After you installed the dependencies, clone, build and install venom:
git clone git://github.com/naxuroqa/Venom.git
cd Venom
mkdir build
cd build
# For glib >= 2.34
cmake ..
# or for glib 2.32
cmake -DDJBDNS_DIRECTORY="<path-to-djbdns>" ..
make
sudo make install
Follow ProjectTox-Core installation instructions.
brew tap Tox/tox
brew install --HEAD libtoxcore
brew install --HEAD venom
The preferred way is to cross compile windows binaries from linux using the mingw-w64 toolchain.
###Dependencies
- Set up a mingw-w64 toolchain
- build ffmpeg (optionally for now)
- build libsodium
- build libtoxcore
- build gtk+-3.x
- build libjson-glib
- build libsqlite3
There is an aur-package for arch linux, which automates the build process.
###Compiling Venom
git clone git://github.com/naxuroqa/Venom.git
cd Venom
mkdir build
cd build
PKG_CONFIG_PATH=/usr/<yourcrosscompilerprefix>/lib/pkgconfig
# you may have to adapt the mingw-toolchain.cmake file for your cross compiler prefix
cmake -DCMAKE_C_FLAGS="-mwindows" \
-DCOMPILER_PREFIX=<yourcrosscompilerprefix> \
-DCMAKE_TOOLCHAIN_FILE=../cmake/mingw-toolchain.cmake \
-DCMAKE_BUILD_TYPE="Release" ..
make
sudo make install
If you are getting errors like these when running cmake
-- checking for module '<some_module>'
-- package '<some_module>' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:30 (PKG_CHECK_MODULES)
then cmake can't find one or more dependencies needed to build Venom.
Make sure, that you have all dependencies mentioned above installed.
If you used a different prefix than /usr
to install libtoxcore, you will need to tell it cmake here.
You do this by setting PKG_CONFIG_PATH=/<your_prefix>/lib/pkgconfig
and running cmake again.