Compiling toxcore and toxic
This commit is contained in:
parent
e611870937
commit
fb5314f228
|
@ -298,15 +298,16 @@ function compile_toxcore {
|
|||
echo $'Unable to configure toxcore' >> $INSTALL_LOG
|
||||
return
|
||||
fi
|
||||
chroot "$rootdir" make
|
||||
make > /root/make_toxcore.txt
|
||||
if [ ! "$?" = "0" ]; then
|
||||
echo $'Unable to make toxcore' >> $INSTALL_LOG
|
||||
return
|
||||
fi
|
||||
rm /root/make_toxcore.txt
|
||||
make install
|
||||
cp /usr/local/lib/libtoxcore* /usr/lib/
|
||||
|
||||
if [ ! -f $rootdir/usr/local/bin/tox-bootstrapd ]; then
|
||||
if [ ! -f /usr/local/bin/tox-bootstrapd ]; then
|
||||
echo $"File not found /usr/local/bin/tox-bootstrapd" >> $INSTALL_LOG
|
||||
return
|
||||
fi
|
||||
|
@ -389,11 +390,12 @@ function compile_tox_client {
|
|||
fi
|
||||
|
||||
cd $INSTALL_DIR/toxic
|
||||
make
|
||||
make > /root/make_toxic.txt
|
||||
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
|
||||
echo $'Unable to make tox client' >> $INSTALL_LOG
|
||||
exit 74872
|
||||
fi
|
||||
rm /root/make_toxic.txt
|
||||
make install
|
||||
if [ ! -f $TOXIC_FILE ]; then
|
||||
echo $"Tox client was not installed to $TOXIC_FILE" >> $INSTALL_LOG
|
||||
|
|
Loading…
Reference in New Issue