Index: /issm/trunk-jpl/externalpackages/gdal/install-3-python-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gdal/install-3-python-static.sh	(revision 27148)
+++ /issm/trunk-jpl/externalpackages/gdal/install-3-python-static.sh	(revision 27149)
@@ -43,9 +43,10 @@
 	--with-pic \
 	--with-python \
+	--with-curl="${CURL_ROOT}/bin/curl-config" \
+	--with-hdf5="${HDF5_ROOT}" \
 	--with-libz="${ZLIB_ROOT}" \
-	--with-hdf5="${HDF5_ROOT}" \
 	--with-netcdf="${NETCDF_ROOT}" \
-	--with-proj="${PROJ_ROOT}" \
-	--with-pg=no
+	--with-pg=no \
+	--with-proj="${PROJ_ROOT}"
 
 # Compile and install
Index: /issm/trunk-jpl/externalpackages/gdal/install-3-python.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gdal/install-3-python.sh	(revision 27148)
+++ /issm/trunk-jpl/externalpackages/gdal/install-3-python.sh	(revision 27149)
@@ -35,6 +35,6 @@
 	--enable-fast-install \
 	--with-python \
+	--with-hdf5="${HDF5_ROOT}" \
 	--with-libz="${ZLIB_ROOT}" \
-	--with-hdf5="${HDF5_ROOT}" \
 	--with-netcdf="${NETCDF_ROOT}" \
 	--with-proj="${PROJ_ROOT}"
Index: /issm/trunk-jpl/externalpackages/gdal/install-3-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gdal/install-3-static.sh	(revision 27148)
+++ /issm/trunk-jpl/externalpackages/gdal/install-3-static.sh	(revision 27149)
@@ -42,9 +42,10 @@
 	--enable-static \
 	--with-pic \
+	--with-curl="${CURL_ROOT}/bin/curl-config" \
+	--with-hdf5="${HDF5_ROOT}" \
 	--with-libz="${ZLIB_ROOT}" \
-	--with-hdf5="${HDF5_ROOT}" \
 	--with-netcdf="${NETCDF_ROOT}" \
-	--with-proj="${PROJ_ROOT}" \
-	--with-pg=no
+	--with-pg=no \
+	--with-proj="${PROJ_ROOT}"
 
 # Compile and install
Index: /issm/trunk-jpl/externalpackages/gdal/install-3.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gdal/install-3.sh	(revision 27148)
+++ /issm/trunk-jpl/externalpackages/gdal/install-3.sh	(revision 27149)
@@ -30,6 +30,6 @@
 	--prefix="${PREFIX}" \
 	--enable-fast-install \
+	--with-hdf5="${HDF5_ROOT}" \
 	--with-libz="${ZLIB_ROOT}" \
-	--with-hdf5="${HDF5_ROOT}" \
 	--with-netcdf="${NETCDF_ROOT}" \
 	--with-proj="${PROJ_ROOT}"
Index: /issm/trunk-jpl/externalpackages/gmsh/install-4-static.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gmsh/install-4-static.sh	(revision 27148)
+++ /issm/trunk-jpl/externalpackages/gmsh/install-4-static.sh	(revision 27149)
@@ -55,4 +55,5 @@
 	-DENABLE_OCC=0 \
 	-DENABLE_TOUCHBAR=0 \
+	-DBLAS_LAPACK_LIBRARIES="-L${LAPACK_ROOT}/lib -lflapack -L${BLAS_ROOT}/lib -lfblas /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/libgfortran.a /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/libquadmath.a /usr/local/Cellar/gcc/11.3.0/lib/gcc/11/gcc/x86_64-apple-darwin15/11/libgcc.a" \
 	-DMETIS_ROOT="${METIS_ROOT}"
 
Index: /issm/trunk-jpl/externalpackages/gmsh/install-4.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/gmsh/install-4.sh	(revision 27148)
+++ /issm/trunk-jpl/externalpackages/gmsh/install-4.sh	(revision 27149)
@@ -53,4 +53,5 @@
 	-DENABLE_OCC=0 \
 	-DENABLE_TOUCHBAR=0 \
+	-DBLAS_LAPACK_LIBRARIES="-L${LAPACK_ROOT}/lib -lflapack -L${BLAS_ROOT}/lib -lfblas" \
 	-DMETIS_ROOT="${METIS_ROOT}"
 
Index: /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh
===================================================================
--- /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh	(revision 27148)
+++ /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-matlab.sh	(revision 27149)
@@ -145,5 +145,5 @@
 
 	# Check that all tests passed
-	sed -i '' "/FAILED TO establish the default connection to the WindowServer/d" matlab.log # First, need to remove WindowServer error message
+	sed -i "/FAILED TO establish the default connection to the WindowServer/d" matlab.log # First, need to remove WindowServer error message
 	numTestsFailed=`grep -c -E "FAILED|ERROR" matlab.log`
 
Index: /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-2.sh
===================================================================
--- /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-2.sh	(revision 27148)
+++ /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-2.sh	(revision 27149)
@@ -144,5 +144,5 @@
 
 	# Check that all tests passed
-	sed -i '' "/FAILED TO establish the default connection to the WindowServer/d" python.log # First, need to remove WindowServer error message
+	sed -i "/FAILED TO establish the default connection to the WindowServer/d" python.log # First, need to remove WindowServer error message
 	numTestsFailed=`grep -c -E "FAILED|ERROR" python.log`
 
Index: /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh
===================================================================
--- /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh	(revision 27148)
+++ /issm/trunk-jpl/packagers/linux/package-issm-linux-binaries-python-3.sh	(revision 27149)
@@ -147,5 +147,5 @@
 
 	# Check that all tests passed
-	sed -i '' "/FAILED TO establish the default connection to the WindowServer/d" python.log # First, need to remove WindowServer error message
+	sed -i "/FAILED TO establish the default connection to the WindowServer/d" python.log # First, need to remove WindowServer error message
 	numTestsFailed=`grep -c -E "FAILED|ERROR" python.log`
 
