-
-
Save notadecent/f3e65d6ab603703b1a0a to your computer and use it in GitHub Desktop.
#!/bin/bash | |
## wget -O tox.sh waa.ai/iqt && chmod +x ./tox.sh && ./tox.sh | |
## ./tox.sh -sl to skip libsodium (they don't update that often) | |
## ./tox.sh -sd to skip libsodium and all the other dependencies | |
## If libraries are missing, remove /etc/ld.so.conf.d/locallib.conf and | |
## try running again. Else, try messing around with the prefix paths. | |
## Suggestions, comments and the alike are welcome on http://waa.ai/4xtC | |
## or send me a mail, to notadecent AT tox DOT im | |
#upd=2014/06/25 # Date this script was updated | |
#com="update toxic build instructions, could be slightly unstable" | |
# Check if script is being ran as root | |
test "$(whoami)" == 'root' && (echo "Please don't run this script as root"; exit 1) | |
# Check for arguments | |
nolibsm=0 | |
nodep=0 | |
[ "$1" == '-sl' ] && nolibsm=1 | |
[ "$1" == '-sd' ] && nodep=1 | |
[ "$nodep" == "1" ] && nolibsm=1 | |
# As of 2014/08/10, we have moved to | |
# https://raw.githubusercontent.com/Tox/tox-scripts/master/tox.sh | |
# You will be redirected | |
link=https://raw.githubusercontent.com/Tox/tox-scripts/master/tox.sh | |
rm tox.sh && wget $link && chmod +x ./tox.sh && ./tox.sh $1 |
@GGMethos should be working now
on openSUSE the packages libopus-devel and libvpx-devel are missing for correct AV support
Hi guys, I've forked this and fixed so that it can compile on Debian 7 (wheezy) smoothly! Also I've removed useless "sudo" in some places ;)
Here you can get it https://gist.github.com/arno01/ebdc7fdbe683e732599c
These are the differences between the current and my version
(moved to http://p.pomf.se/3333 )
If /etc/portage exists
install layman
install overlay
install from overlay
@arno01
I updated my script with yours.
Did it a while ago but forgot to mention.
My builds failed because I didn't have /usr/local/lib/ in /etc/ld.so.conf.d/locallib.conf.
https://gist.github.com/doublet/68041f615a7cb3129d1e
I added this in exportlibpath():
grep --quiet "^/usr/local/lib/$" /etc/ld.so.conf.d/locallib.conf || echo "Make sure you have /usr/local/lib/ in /etc/ld.so.conf.d/locallib.conf, otherwise builds may fail"
My gist is at https://gist.github.com/doublet/68041f615a7cb3129d1e
@doublet
Fixed it, please update and try again.
Sorry for the inconvenience, but for consistency reasons, I've moved this script to http://waa.ai/4xtV
If possible, please open up an issue in that repository instead of commenting here, thank you.
Is the stupiddog website up? It always fails to connect to the website in the beginning. This script used to work perfectly prior.