#28549: py26-h5py @1.3.1 Configure error - build failure -------------------------------------+-------------------------------------- Reporter: bobby.mendoza@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py26-h5py -------------------------------------+-------------------------------------- I am running Mac OS 10.6.6 on a fresh macports installation. I have installed hdf5-18 as follows: {{{ sudo port installed hdf5-18 The following ports are currently installed: hdf5-18 @1.8.6_1+gcc45 (active) }}} Here is my output of the build fail: {{{
sudo port -v install py26-h5py ---> Computing dependencies for py26-h5py. ---> Fetching py26-h5py ---> Verifying checksum(s) for py26-h5py ---> Checksumming h5py-1.3.1.tar.gz ---> Extracting py26-h5py ---> Extracting h5py-1.3.1.tar.gz ---> Configuring py26-h5py Undefined symbols: "_inflateEnd", referenced from: _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o) _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o) _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o) "_SZ_encoder_enabled", referenced from: _H5Z_init_interface in libhdf5.a(H5Z.o) "_compress2", referenced from: _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o) "_inflateInit_", referenced from: _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o) "_SZ_BufftoBuffDecompress", referenced from: _H5Z_filter_szip in libhdf5.a(H5Zszip.o) "_SZ_BufftoBuffCompress", referenced from: _H5Z_filter_szip in libhdf5.a(H5Zszip.o) "_inflate", referenced from: _H5Z_filter_deflate in libhdf5.a(H5Zdeflate.o) ld: symbol(s) not found collect2: ld returned 1 exit status
Configure: Autodetecting HDF5 settings... Custom HDF5 dir: /opt/local Custom API level: (1, 8) Failed to compile HDF5 test program. Please check to make sure: * You have a C compiler installed * A development version of Python is installed (including header files) * A development version of HDF5 is installed (including header files) * If HDF5 is not in a default location, supply the argument --hdf5=<path> ****************************************** error: command 'cc' failed with exit status 1 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-h5py/work/h5py-1.3.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py configure --api=18 --hdf5=/opt/local " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Warning: the following items did not execute (for py26-h5py): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for py26-h5py is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-h5py/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} I have attached the full log file. -- Ticket URL: <https://trac.macports.org/ticket/28549> MacPorts <http://www.macports.org/> Ports system for Mac OS