h5utils can't find libraries during configure

Kyle Douglass <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
I'm running MPB 1.4.2 under Cygwin 1.7.6 and Windows 7 without a problem.
However, h5utils will not configure properly when I try to build from
source. The following lines from the output of ./configure seem to indicate
the problem:

checking for png_create_write_struct in -lpng... no
configure: WARNING: can't find libpng: won't be able to compile h5topng
checking for evaluator_get_variables in -lmatheval... no
configure: WARNING: can't find libmatheval: won't be able to compile h5math
checking for h4toh5... no
checking for h5toh4... no
checking for jpeg_start_compress in -ljpeg... yes
checking for DFSDgetdata in -ldf... no
configure: WARNING: can't find libdf (HDF4): won't be able to compile
h5fromh4 or h4fromh5

...

checking for mkoctfile... no
configure: WARNING: can't find mkoctfile: won't be able to compile
h5read.oct

However, I have libpng12.a and libpng12.dll.a (from the Cygwin package
repository) in my /usr/lib directory and I built libmatheval 1.1.7 from
source. It's libraries are in /usr/local/lib.

I tried setting the following environment variables in bash but the problem
persists:
export LDFLAGS="-L/usr/local/lib/:/usr/lib/"
export CPPFLAGS="-I/usr/local/include/:/usr/include/"

Any help at building h5utils would be appreciated. Thanks!

kmd

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.