Hi Joshua,

Could you please send the config.log file (or just check a section where 
configure tries to link with the jpeg library and see what the error is)?

Thank you!

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




On Apr 5, 2016, at 6:22 PM, Joshua D'Agostino 
<[email protected]<mailto:[email protected]>> wrote:

I am having some trouble installing HDF4 due to the jpeg library.

When I am in the HDF4 directory and type:

./configure --prefix=/usr/local/hdf4/ 
--with-jpeg=~/Documents/hdf-4.2.11/jpeg-6b/

I get the following error:

checking for jpeglib.h... no
configure: error: couldn't find jpeg library

but jpeglib.h is definitely located in jpeg-6b/:

Joshuas-MacBook-Pro:jpeg-6b joshuajd$ ls
#install.doc# jcmainct.o jdhuff.h jmemnobs.o rdjpgcom
#libjpeg.doc# jcmarker.c jdhuff.o jmemsys.h rdjpgcom.1
Makefile jcmarker.o jdinput.c jmorecfg.h rdjpgcom.c
README jcmaster.c jdinput.o jpegint.h rdjpgcom.o
ansi2knr.1 jcmaster.o jdmainct.c jpeglib.h rdppm.c

This is only showing a portion of the directory jpeg-6b/, but yu can definitely 
see jpeglib.h in the bottom row.

Admittedly, this is not the directory (I think) that I installed the jpeg 
library. After following the prompts and finally doing

make install

this was what I received in the terminal:

/usr/bin/install -c cjpeg /usr/local/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
/usr/bin/install -c -m 644 ./djpeg.1 /usr/local/man/man1/djpeg.1
/usr/bin/install -c -m 644 ./jpegtran.1 /usr/local/man/man1/jpegtran.1
/usr/bin/install -c -m 644 ./rdjpgcom.1 /usr/local/man/man1/rdjpgcom.1
/usr/bin/install -c -m 644 ./wrjpgcom.1 /usr/local/man/man1/wrjpgcom.1

So I know none of these contain jpeglib.h, but this was where it installed 
whatever it is that it was installing... but when the configure code for hdf4 
is looking for jpeglib.h, well I'm giving it the proper directory and it still 
can't find it.

Does anyone know how to solve this?

-----
Joshua J. D'Agostino
PhD student
Research School of Astronomy and Astrophysics
The Australian National University
Ph: +61 (0)422 673 081



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]<mailto:[email protected]>
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to