Skip to content
Snippets Groups Projects
Commit 24579e62 authored by Bob Mottram's avatar Bob Mottram
Browse files

More logging of compile

parent 286d7967
No related branches found
No related tags found
No related merge requests found
......@@ -293,17 +293,20 @@ function compile_toxcore {
fi
cd $INSTALL_DIR/toxcore
autoreconf -i
./configure --enable-daemon --disable-av
./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt
if [ ! "$?" = "0" ]; then
echo $'Unable to configure toxcore' >> $INSTALL_LOG
echo $'See $INSTALL_DIR/configure_toxcore.txt' >> $INSTALL_LOG
return
fi
make > /root/make_toxcore.txt
rm $INSTALL_DIR/configure_toxcore.txt
make > $INSTALL_DIR/make_toxcore.txt
if [ ! "$?" = "0" ]; then
echo $'Unable to make toxcore' >> $INSTALL_LOG
return
echo $'Unable to make toxcore' >> $INSTALL_LOG
echo $'See $INSTALL_DIR/make_toxcore.txt' >> $INSTALL_LOG
return
fi
rm /root/make_toxcore.txt
rm $INSTALL_DIR/make_toxcore.txt
make install
cp /usr/local/lib/libtoxcore* /usr/lib/
......@@ -390,12 +393,13 @@ function compile_tox_client {
fi
cd $INSTALL_DIR/toxic
make > /root/make_toxic.txt
make > $INSTALL_DIR/make_toxic.txt
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
echo $'Unable to make tox client' >> $INSTALL_LOG
echo $"See $INSTALL_DIR/make_toxic.txt" >> $INSTALL_LOG
exit 74872
fi
rm /root/make_toxic.txt
rm $INSTALL_DIR/make_toxic.txt
make install
if [ ! -f $TOXIC_FILE ]; then
echo $"Tox client was not installed to $TOXIC_FILE" >> $INSTALL_LOG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment