Show config.log contents if configure failed
This should help understanding why Qt libraries are not found under Bionic and may also be useful in case of other failures in the future.
This commit is contained in:
@@ -54,7 +54,14 @@ case $wxTOOLSET in
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 'Configuring...' && echo -en 'travis_fold:start:script.configure\\r'
|
echo 'Configuring...' && echo -en 'travis_fold:start:script.configure\\r'
|
||||||
./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS
|
./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$?
|
||||||
|
if [ $rc != 0 ]; then
|
||||||
|
echo '*** Configuring failed, contents of config.log follows: ***'
|
||||||
|
echo '-----------------------------------------------------------'
|
||||||
|
cat config.log
|
||||||
|
echo '-----------------------------------------------------------'
|
||||||
|
exit $rc
|
||||||
|
fi
|
||||||
echo -en 'travis_fold:end:script.configure\\r'
|
echo -en 'travis_fold:end:script.configure\\r'
|
||||||
|
|
||||||
echo 'Building...' && echo -en 'travis_fold:start:script.build\\r'
|
echo 'Building...' && echo -en 'travis_fold:start:script.build\\r'
|
||||||
|
Reference in New Issue
Block a user