try linux build like this
set -x -e
-
if [ "$(uname)" == "Darwin" ]; then
export INSTALL_ROOT=${PREFIX}
cd macosx
@@ -10,7 +9,7 @@ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
cd unix
fi
-./configure --prefix=$PREFIX
-make
-make install
+./configure --prefix=$PREFIX
+make prefix=$PREFIX
+make prefix=$PREFIX install
