리눅스

LINUX : Jasper 설치하기

이석사 중 2023. 6. 13. 03:14
728x90

wrf 모델 필수 라이브러리들 중에 마지막인 Jasper입니다


cd $HOME/WRF/Downloads
unzip jasper-1.900.1.zip
cd jasper-1.900.1/
autoreconf -i
./configure --prefix=$DIR
make
make install
export JASPERLIB=$DIR/lib
export JASPERINC=$DIR/include

Jasper는 앞에 다른 라이브러리들과 다르게 tar.gz가 아니라 zip으로 다운로드 받기 때문에

 

unzip이 없다고 출력이 되면 sudo apt-get install upzip을 해주시면 됩니다

 

여기도 크게 다른게 없으니 결과만 보여드리고 넘어가겠습니다

 

autoreconf -i

libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
Makefile.am:59: warning: support for distribution archives compressed with legacy program 'compress' is deprecated.
Makefile.am:59:   It will be removed in Automake 2.0
src/appl/Makefile.am:81: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/base/Makefile.am:76: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/bmp/Makefile.am:67: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/jp2/Makefile.am:67: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/jpc/Makefile.am:105: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/jpg/Makefile.am:79: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/mif/Makefile.am:66: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/pgx/Makefile.am:67: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/pnm/Makefile.am:67: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/libjasper/ras/Makefile.am:67: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
(lncl) lsh@DESKTOP-8N2HJ5V:~/WRF/Downloads/jasper-1.900.1$

 

 

configure

configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/appl/Makefile
config.status: creating src/libjasper/Makefile
config.status: creating src/libjasper/base/Makefile
config.status: creating src/libjasper/bmp/Makefile
config.status: creating src/libjasper/include/Makefile
config.status: creating src/libjasper/include/jasper/Makefile
config.status: creating src/libjasper/jp2/Makefile
config.status: creating src/libjasper/jpc/Makefile
config.status: creating src/libjasper/jpg/Makefile
config.status: creating src/libjasper/mif/Makefile
config.status: creating src/libjasper/pgx/Makefile
config.status: creating src/libjasper/pnm/Makefile
config.status: creating src/libjasper/ras/Makefile
config.status: creating src/msvc/Makefile
config.status: creating jasper.spec
config.status: creating src/libjasper/include/jasper/jas_config.h
config.status: src/libjasper/include/jasper/jas_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
(lncl) lsh@DESKTOP-8N2HJ5V:~/WRF/Downloads/jasper-1.900.1$

 

 

make

Making all in appl
make[2]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/appl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/appl'
Making all in msvc
make[2]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/msvc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/msvc'
make[2]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[1]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[1]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1'
(lncl) lsh@DESKTOP-8N2HJ5V:~/WRF/Downloads/jasper-1.900.1$

 

make install

Making install in msvc
make[2]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/msvc'
make[3]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/msvc'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/msvc'
make[2]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src/msvc'
make[2]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[3]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[2]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[1]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1/src'
make[1]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1'
make[2]: Entering directory '/home/lsh/WRF/Downloads/jasper-1.900.1'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1'
make[1]: Leaving directory '/home/lsh/WRF/Downloads/jasper-1.900.1'
(lncl) lsh@DESKTOP-8N2HJ5V:~/WRF/Downloads/jasper-1.900.1$

이렇게 다 설치해주시고 환경 변수를 설정해서 라이브러리 설치를 마무리해주시면 됩니다

export JASPERLIB=$DIR/lib
export JASPERINC=$DIR/include

 

다음 포스팅부터는 본격적으로 wrf를 설치해보겠습니다

728x90

'리눅스' 카테고리의 다른 글

LINUX : WPS 설치하기  (4) 2023.06.13
LINUX : WRF 모델 설치하기  (0) 2023.06.13
LINUX : libpng 설치하기  (0) 2023.06.13
LINUX : MPICH 설치하기  (0) 2023.06.13
LINUX : netCDF - fortran 설치하기  (2) 2023.06.13