SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] [macosx] configure problems with png and hdf5


Chronological Thread 
  • From: Paulo Tribolet Abreu <paulotex@ist.utl.pt>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] [macosx] configure problems with png and hdf5
  • Date: Tue, 20 Jul 2004 16:05:55 +0100

Hi:

I'm trying to build scirun under macosx 10.3.4, and it seems that configure is having some trouble:

PNG:

checking for png library and headers (optional)... yes
checking for PNG version 1.0.2 or better.... conftest-png.c:2:26: png.h: No such file or directory
conftest-png.c: In function `main':
conftest-png.c:7: error: `PNG_LIBPNG_VER' undeclared (first use in this function)
conftest-png.c:7: error: (Each undeclared identifier is reported only once
conftest-png.c:7: error: for each function it appears in.)
../src/configure: line 1: ./conftest-png: No such file or directory
PNG library too old.  Need at least 1.0.2.  Turning off PNG.

Well, I have png 1.2.5, as you can see here:

paulomac:[build]> fink list libpng
Information about 2991 packages read in 6 seconds.

i libpng-shlibs 1.0.12-7 PNG image format handling library (old version)
 i   libpng3           1.2.5-4       PNG image format handling library
i libpng3-shlibs 1.2.5-4 Shared libraries for libpng3 package

paulomac:[build]> ls /sw/lib/libpng*
/sw/lib/libpng.2.1.0.12.dylib  /sw/lib/libpng.dylib
/sw/lib/libpng.2.dylib         /sw/lib/libpng12.0.1.2.5.dylib
/sw/lib/libpng.3.1.2.5.dylib   /sw/lib/libpng12.0.dylib
/sw/lib/libpng.3.dylib         /sw/lib/libpng12.a
/sw/lib/libpng.a               /sw/lib/libpng12.dylib

paulomac:[build]> ls /sw/include/png*
/sw/include/png.h     /sw/include/pngconf.h

paulomac:[build]> env | grep FLAGS
LDFLAGS=-L/Volumes/Local/Users/paulo/lib -L/sw/lib
CPPFLAGS=-I/Volumes/Local/Users/paulo/include -I/sw/include
CXXFLAGS=-I/Volumes/Local/Users/paulo/include -I/sw/include
CFLAGS=-I/Volumes/Local/Users/paulo/include -I/sw/include

Finally, the configure script looks for:

checking for png library and headers (SCI) (optional)...
configure: WARNING: The path given /usr/sci/local/lib is not a valid directory... ignoring.
yes

and ends with a "yes". What does that mean? I don't have any /usr/sci/.


HDF5:

I have HDF5 in /usr/local, so I didn't bother to specify a path, I just used --with-hdf5. However, I got this message:

checking for hdf5 library and headers (optional)...
configure: WARNING: The path given yes/lib is not a valid directory... ignoring.
yes

It looks like configure was looking for hdf5 in "yes/lib"... But the last line says "yes". Does this mean it is going to use hdf5?


Thanks

Paulo

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================




  • [SCIRUN-USERS] [macosx] configure problems with png and hdf5, Paulo Tribolet Abreu, 07/20/2004

Archive powered by MHonArc 2.6.16.

Top of page