|
|
|
|
293
|
fi
|
293
|
fi
|
294
|
cd $INSTALL_DIR/toxcore
|
294
|
cd $INSTALL_DIR/toxcore
|
295
|
SECONDS=0
|
295
|
SECONDS=0
|
|
|
296
|
+ if [ -f $INSTALL_DIR/configure_toxcore.txt ]; then
|
|
|
297
|
+ rm $INSTALL_DIR/configure_toxcore.txt
|
|
|
298
|
+ fi
|
|
|
299
|
+ if [ -f $INSTALL_DIR/make_toxcore.txt ]; then
|
|
|
300
|
+ rm $INSTALL_DIR/make_toxcore.txt
|
|
|
301
|
+ fi
|
296
|
autoreconf -i
|
302
|
autoreconf -i
|
297
|
./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt
|
303
|
./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt
|
298
|
- make > $INSTALL_DIR/make_toxcore.txt
|
|
|
|
|
304
|
+ make clean
|
|
|
305
|
+ make -k > $INSTALL_DIR/make_toxcore.txt
|
299
|
if [ ! "$?" = "0" ]; then
|
306
|
if [ ! "$?" = "0" ]; then
|
300
|
duration=$SECONDS
|
307
|
duration=$SECONDS
|
301
|
echo $"Toxcore compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG
|
308
|
echo $"Toxcore compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG
|
|
|
|
|
393
|
fi
|
400
|
fi
|
394
|
|
401
|
|
395
|
cd $INSTALL_DIR/toxic
|
402
|
cd $INSTALL_DIR/toxic
|
|
|
403
|
+ if [ -f $INSTALL_DIR/make_toxic.txt ]; then
|
|
|
404
|
+ rm $INSTALL_DIR/make_toxic.txt
|
|
|
405
|
+ fi
|
396
|
SECONDS=0
|
406
|
SECONDS=0
|
397
|
- make > $INSTALL_DIR/make_toxic.txt
|
|
|
|
|
407
|
+ make clean
|
|
|
408
|
+ make -k > $INSTALL_DIR/make_toxic.txt
|
398
|
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
|
409
|
if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then
|
399
|
duration=$SECONDS
|
410
|
duration=$SECONDS
|
400
|
echo $"Toxic client compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG
|
411
|
echo $"Toxic client compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed." >> $INSTALL_LOG
|