File: runconfig-example.sh

package info (click to toggle)
jhdf 2.11.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 40,088 kB
  • sloc: java: 100,416; ansic: 24,920; sh: 2,256; makefile: 957; cpp: 48
file content (61 lines) | stat: -rw-r--r-- 1,912 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/sh

## This is an example script to set the configure parameters for
## the HDF Java products.
##
## The paths need to be set according to the local configuration
##
## May need to adjust the arguments to configure
##
##

##
## IMPORTANT NOTE:  The make files require 'gmake'
##
##  Be sure to 'setenv MAKE gmake' if necessary
##

INSTDIR= #where to install the hdfview.

JAVAINC=  #path to java includes (jni.h, etc.)
JAVALIB=  #path to java lib (the rt.jar, etc.)

HDF5= # path to HDF5 installation, e.g., /usr/local/hdf5-1.6.2
HDF4= # path to HDF4 installation (if used)
HDF45= # path to HDF4 to HDF5 installation (if used)

## Autoconf detects shared libraries, but we need static versions
## must set these paths for external libraries needed for HDF libraries.

# JPEG is required by HDF4.  If HDF4 is used, _must_ set JPEG
JPEG= # path to JPEG installation (the path to libjpeg.a is needed)

# GZIP is required by HDF4 and optional for HDF5.  
# If HDF4 is used, _must_ set GZIP
# If HDF5 is used and zlib is used, _must_ set GZIP
GZIP= # path to GZIP installation (the path to libz.a is needed)

# SZIP is optional for HDF4 and HDF5.  
# If szip is used in one or both HDF libraries, _must_ set SZIP
SZIP= # path to SZIP installation (the path to libsz.a is needed)

####

./configure --prefix=$INSTDIR --with-jdk=$JAVAINC,$JAVALIB --with-hdf5=$HDF5/include,$HDF5/lib --with-hdf4=$HDF4/include,$HDF4/lib --with-libsz=$SZIP/include,$SZIP/lib --with-libz=$GZIP/include,$GZIP/lib --with-libjpeg=$JPEG/include,$JPEG/lib 

# other options
#  
#  --without-hdf4  -- omit HDF4
#  --without-hdf5  -- omit HDF5
#  --without-libsz  -- omit SZIP
#  --without-libz  -- omit GZIP
#  --without-libsz  -- omit GZIP
#

#
#  Some options required only for macOSX
# 
#  -build=powerpc-apple 
#  --with-jdkclasses=   # path to classes if not in 'jdk/lib'
#  --with-javabin=  # path to java bin, if not in 'jdk/bin'