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 librarybut 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.cThis 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 doingmake install
Did you run "make install-headers" and "make install-lib? In the generated
Makefile:
install-lib: libjpeg.$(A) install-headers
$(INSTALL_LIB) libjpeg.$(A) $(libdir)/$(binprefix)libjpeg.$(A)
install-headers: jconfig.h
$(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
$(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
$(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
$(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
ยทยทยท
On Tue, Apr 5, 2016 at 8:22 PM, Joshua D'Agostino <u5696810@anu.edu.au> wrote:
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.1So 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.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: x.com
--
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia