Skip to content
Snippets Groups Projects
Commit 4201623e authored by Coda Phillips's avatar Coda Phillips
Browse files

Forgot hdf

parent b63f4f7e
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
yum install -y libjpeg-turbo-static.x86_64 zlib-static.x86_64 subversion glibc-static wget yum install -y libjpeg-turbo-static.x86_64 zlib-static.x86_64 subversion glibc-static wget bison flex
./download_src.sh ./download_src.sh
tar xf hdf-4.2.13.tar.bz2 tar xf hdf-4.2.13.tar.bz2
tar xf hdf5-1.8.20.tar.bz2 tar xf hdf5-1.8.20.tar.bz2
tar xf netcdf-c-4.7.1.tar.gz && tar xf netcdf-fortran-4.5.1.tar.gz tar xf netcdf-c-4.7.1.tar.gz
tar xf netcdf-fortran-4.5.1.tar.gz
cd hdf-4.2.13 cd /root/hdf-4.2.13
export PREFIX=/root/hdf4
./configure --enable-static --enable-netcdf=no --prefix=/root/hdf4/ ./configure --enable-static --enable-netcdf=no --prefix=/root/hdf4/
make make
make install make install
...@@ -17,9 +19,8 @@ export PREFIX=/root/hdf5 ...@@ -17,9 +19,8 @@ export PREFIX=/root/hdf5
make make
make install make install
export PREFIX=/root/netcdf
cd /root/netcdf-c-4.7.1 cd /root/netcdf-c-4.7.1
export PREFIX=/root/netcdf
CFLAGS='-I/root/hdf5/include/' LDFLAGS='-L/root/hdf5/lib/' ./configure --prefix=/root/netcdf/ --enable-static --disable-dap CFLAGS='-I/root/hdf5/include/' LDFLAGS='-L/root/hdf5/lib/' ./configure --prefix=/root/netcdf/ --enable-static --disable-dap
make make
make install make install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment