--- hydra-gtk/make_xhydra.sh.orig 2013-09-04 00:53:54.000000000 +0200 +++ hydra-gtk/make_xhydra.sh 2013-09-04 00:54:42.000000000 +0200 @@ -2,19 +2,15 @@ PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/lib/pkgconfig export PKG_CONFIG_PATH echo "Trying to compile xhydra now (hydra gtk gui) - dont worry if this fails, this is really optional ..." -./configure > /dev/null 2> errors +./configure test -e Makefile || { - echo "Error: configure wasnt happy. Analyse this:" - cat errors + echo "Error: configure wasnt happy." exit 1 } -make > /dev/null 2> errors +make test -e src/xhydra || { - echo "Error: could not compile. Analyse this:" - cat errors - echo - echo 'Do not worry, as I said, xhydra is really optional. ./hydra is ready to go!' - exit 0 + echo "Error: could not compile." + exit 1 } cp -v src/xhydra .. echo "The GTK GUI is ready, type \"./xhydra\" to start"