diff --git a/ci-utils/install_prereq_linux.sh b/ci-utils/install_prereq_linux.sh index cb1564e0..6abfbbb2 100755 --- a/ci-utils/install_prereq_linux.sh +++ b/ci-utils/install_prereq_linux.sh @@ -142,17 +142,15 @@ if [[ $BUILD_Z5_DEP -eq 1 ]]; then cd ../../ fi +JPEG_INSTALL_PATH=$PWD +curl -L http://www.ijg.org/files/jpegsrc.v9f.tar.gz -o jpegsrc.v9f.tar.gz +tar -xzf jpegsrc.v9f.tar.gz +cd jpeg-9f +./configure --prefix="$JPEG_INSTALL_PATH"/"$LOCAL_INSTALL_DIR" +make install-lib +cd .. if [[ $BULD_DCMTK_DEP -eq 1 ]]; then - JPEG_INSTALL_PATH=$PWD - curl -L http://www.ijg.org/files/jpegsrc.v9e.tar.gz -o jpegsrc.v9e.tar.gz - tar -xzf jpegsrc.v9e.tar.gz - cd jpeg-9e - ./configure --prefix= - make DESTDIR="$JPEG_INSTALL_PATH"/"$LOCAL_INSTALL_DIR" install - ./libtool --finish "$JPEG_INSTALL_PATH"/"$LOCAL_INSTALL_DIR"/lib - cd .. - curl -L https://github.com/glennrp/libpng/archive/refs/tags/v1.6.39.zip -o v1.6.39.zip unzip v1.6.39.zip cd libpng-1.6.39