Re: h5utils can't find libraries during configure

"Kyle Douglass" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
Thanks Bin Jiang for the reply. Unfortunately I can not find many of the packages in the Cygwin repositories, so I have compiled many of them from source.

I did manage to get h5topng to compile. It required both libpng14 and libpng14-devel (version 1.4.3-2) from the Cygwin repositories. The default png libraries with Cygwin are libpng12 and libpng12-devel (version 1.2.44-1) I now have both versions installed which fixed that problem.

The ./configure script still can not find libmatheval or the hdf4 libraries that I compiled from source. I have set the following environment variable in addition to the two previously mentioned via the command

export LD_RUN_PATH=/usr/local/lib

Any insight into why the configure script can not recognize the matheval and hdf4 libraries would be appreciated.

kmd
----------------------------------------------------------------------
Date: Mon, 23 Aug 2010 13:12:02 -0400
From: Kyle Douglass <[email protected]>
Subject: [MPB-discuss] h5utils can't find libraries during configure
To: [email protected] 
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ab-initio.mit.edu/pipermail/mpb-discuss/attachments/20100823/b2fa1443/attachment-0001.htm>
------------------------------
_______________________________________________
mpb-discuss mailing list
[email protected] 
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss 
End of mpb-discuss Digest, Vol 54, Issue 4
******************************************
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.