More logging of compile
This commit is contained in:
parent
286d796722
commit
24579e62c9
|
@ -293,17 +293,20 @@ function compile_toxcore {
|
||||||
fi
|
fi
|
||||||
cd $INSTALL_DIR/toxcore
|
cd $INSTALL_DIR/toxcore
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
./configure --enable-daemon --disable-av
|
./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo $'Unable to configure toxcore' >> $INSTALL_LOG
|
echo $'Unable to configure toxcore' >> $INSTALL_LOG
|
||||||
|
echo $'See $INSTALL_DIR/configure_toxcore.txt' >> $INSTALL_LOG
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
make > /root/make_toxcore.txt
|
rm $INSTALL_DIR/configure_toxcore.txt
|
||||||
|
make > $INSTALL_DIR/make_toxcore.txt
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo $'Unable to make toxcore' >> $INSTALL_LOG
|
echo $'Unable to make toxcore' >> $INSTALL_LOG
|
||||||
|
echo $'See $INSTALL_DIR/make_toxcore.txt' >> $INSTALL_LOG
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
rm /root/make_toxcore.txt
|
rm $INSTALL_DIR/make_toxcore.txt
|
||||||
make install
|
make install
|
||||||
cp /usr/local/lib/libtoxcore* /usr/lib/
|
cp /usr/local/lib/libtoxcore* /usr/lib/
|
||||||
|
|
||||||
|
@ -390,12 +393,13 @@ function compile_tox_client {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $INSTALL_DIR/toxic
|
cd $INSTALL_DIR/toxic
|
||||||
make > /root/make_toxic.txt
|
make > $INSTALL_DIR/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
|
||||||
|
echo $"See $INSTALL_DIR/make_toxic.txt" >> $INSTALL_LOG
|
||||||
exit 74872
|
exit 74872
|
||||||
fi
|
fi
|
||||||
rm /root/make_toxic.txt
|
rm $INSTALL_DIR/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