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
|
echo $'Unable to configure toxcore' >> $INSTALL_LOG
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
chroot "$rootdir" make
|
make > /root/make_toxcore.txt
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo $'Unable to make toxcore' >> $INSTALL_LOG
|
echo $'Unable to make toxcore' >> $INSTALL_LOG
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
rm /root/make_toxcore.txt
|
||||||
make install
|
make install
|
||||||
cp /usr/local/lib/libtoxcore* /usr/lib/
|
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
|
echo $"File not found /usr/local/bin/tox-bootstrapd" >> $INSTALL_LOG
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
@ -389,11 +390,12 @@ function compile_tox_client {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $INSTALL_DIR/toxic
|
cd $INSTALL_DIR/toxic
|
||||||
make
|
make > /root/make_toxic.txt
|
||||||
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
|
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
|
||||||
echo $'Unable to make tox client' >> $INSTALL_LOG
|
echo $'Unable to make tox client' >> $INSTALL_LOG
|
||||||
exit 74872
|
exit 74872
|
||||||
fi
|
fi
|
||||||
|
rm /root/make_toxic.txt
|
||||||
make install
|
make install
|
||||||
if [ ! -f $TOXIC_FILE ]; then
|
if [ ! -f $TOXIC_FILE ]; then
|
||||||
echo $"Tox client was not installed to $TOXIC_FILE" >> $INSTALL_LOG
|
echo $"Tox client was not installed to $TOXIC_FILE" >> $INSTALL_LOG
|
||||||
|
|
Loading…
Reference in New Issue