|
@@ -293,17 +293,20 @@ function compile_toxcore {
|
293
|
293
|
fi
|
294
|
294
|
cd $INSTALL_DIR/toxcore
|
295
|
295
|
autoreconf -i
|
296
|
|
- ./configure --enable-daemon --disable-av
|
|
296
|
+ ./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt
|
297
|
297
|
if [ ! "$?" = "0" ]; then
|
298
|
298
|
echo $'Unable to configure toxcore' >> $INSTALL_LOG
|
|
299
|
+ echo $'See $INSTALL_DIR/configure_toxcore.txt' >> $INSTALL_LOG
|
299
|
300
|
return
|
300
|
301
|
fi
|
301
|
|
- make > /root/make_toxcore.txt
|
|
302
|
+ rm $INSTALL_DIR/configure_toxcore.txt
|
|
303
|
+ make > $INSTALL_DIR/make_toxcore.txt
|
302
|
304
|
if [ ! "$?" = "0" ]; then
|
303
|
|
- echo $'Unable to make toxcore' >> $INSTALL_LOG
|
304
|
|
- return
|
|
305
|
+ echo $'Unable to make toxcore' >> $INSTALL_LOG
|
|
306
|
+ echo $'See $INSTALL_DIR/make_toxcore.txt' >> $INSTALL_LOG
|
|
307
|
+ return
|
305
|
308
|
fi
|
306
|
|
- rm /root/make_toxcore.txt
|
|
309
|
+ rm $INSTALL_DIR/make_toxcore.txt
|
307
|
310
|
make install
|
308
|
311
|
cp /usr/local/lib/libtoxcore* /usr/lib/
|
309
|
312
|
|
|
@@ -390,12 +393,13 @@ function compile_tox_client {
|
390
|
393
|
fi
|
391
|
394
|
|
392
|
395
|
cd $INSTALL_DIR/toxic
|
393
|
|
- make > /root/make_toxic.txt
|
|
396
|
+ make > $INSTALL_DIR/make_toxic.txt
|
394
|
397
|
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
|
395
|
398
|
echo $'Unable to make tox client' >> $INSTALL_LOG
|
|
399
|
+ echo $"See $INSTALL_DIR/make_toxic.txt" >> $INSTALL_LOG
|
396
|
400
|
exit 74872
|
397
|
401
|
fi
|
398
|
|
- rm /root/make_toxic.txt
|
|
402
|
+ rm $INSTALL_DIR/make_toxic.txt
|
399
|
403
|
make install
|
400
|
404
|
if [ ! -f $TOXIC_FILE ]; then
|
401
|
405
|
echo $"Tox client was not installed to $TOXIC_FILE" >> $INSTALL_LOG
|