Hi Chris,

My guess is that a directory was not specified in which to install the
software. The configure tries to test if the software can be installed
in the /usr/local/ directory but you don't have access to it.

Could that be the issue?

The --prefix option is for specifying the directory in which you
wish to install the software.

You can type ./configure -help to see the options that can be used
with configure.

-Barbara


Thanks for the tip, looks like you are exactly right. I confirmed this works on 
a more recent linux kernel, although I need to get it working on this older 
version. I compiled the C code with no problem, and then moved on to compiling 
the Java code on top of this. However, the configuration script is giving me 
some type of write error, and I'm not sure what to make of it. Based on the 
script output below, can you tell me what needs to be writable?

Thanks,
Chris

[chrisbr@pdelogin08 hdf-java]$ ./runconfig-example.sh
checking if tr works... yes
checking for gawk... gawk
checking if expr works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for ceil in -lm... yes
checking for rm... /bin/rm
checking for find... /usr/bin/find
checking build system type... x86_64-pc-linux-gnuoldld
checking host system type... x86_64-pc-linux-gnuoldld
checking target system type... x86_64-pc-linux-gnuoldld
FYI the target here is: x86_64-pc-linux-gnuoldld
checking gzip compression... yes
zlib found: /home/chrisbr/temp/zlib-1.2.3-MacOSX-intel/lib/libz.a
checking jpeg compression... no
checking szip compression... suppressed
checking HDF4 library... suppressed
checking HDF5 library... yes
HDF5 found: /home/chrisbr/hdf-1.8.7/lib
checking dependencies for HDF5 library... OK
checking HDF4to5 library... no
checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking for java... /nfs/local/.package/jdk-1.6.0_04/bin/java
checking for javac... /nfs/local/.package/jdk-1.6.0_04/bin/javac
checking for javadoc... /nfs/local/.package/jdk-1.6.0_04/bin/javadoc
checking for jar... /nfs/local/.package/jdk-1.6.0_04/bin/jar
configure: error:   : not writable


--
Barbara Jones
[email protected]


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to