--- build.orig 2015-11-05 18:10:02 UTC +++ build @@ -51,7 +51,7 @@ if [ -f conf/util/configure ]; then if [ `uname -s` = Darwin -a -d /opt/X11 ]; then util/configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib -srcdir . else - util/configure -srcdir . + util/configure --prefix=${PREFIX} --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib -srcdir . fi if [ ! -f ../src/include/config.h ] || \ @@ -102,8 +102,14 @@ if [ -f conf/mkheader ]; then fi echo Creating makefiles in the subdirectories... $makeprog make + if [ $? -ne 0 ]; then + exit $? + fi echo ...done $makeprog all 2> ../../errs + if [ $? -ne 0 ]; then + exit $? + fi echo done echo Check the errs file for any problems. echo To finish the installation, cd to src/bin, become root, and type