[MacPorts] #38078: hdfeos's +szip variant should require_active_variants +szip for its dependency on hdf4
MacPorts
noreply at macports.org
Fri Feb 15 12:09:32 PST 2013
#38078: hdfeos's +szip variant should require_active_variants +szip for its
dependency on hdf4
---------------------+--------------------------------
Reporter: egall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: hdf4 hdfeos
---------------------+--------------------------------
I was recently trying to install `hdfeos +szip`, and its configure step
gave me the following error:
{{{
checking for hdf4 szip decoding filter... no
checking for hdf4 szip encoding filter... no
configure: error: HDF4 was linked without SZIP, but --with-szlib was given
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_hdfeos/hdfeos/work/hdfeos"
&& ./configure --prefix=/opt/local --disable-dependency-tracking --with-
hdf4=/opt/local --with-jpeg=/opt/local --with-zlib=/opt/local --enable-
shared --disable-dependency-tracking --with-szlib=/opt/local
Exit code: 1
Error: org.macports.configure for port hdfeos returned: configure failure:
command execution failed
DEBUG: Error code: NONE
}}}
After that I reinstalled hdf4, this time using the `+szip` variant for
that, and after I did that, `hdfeos +szip` built successfully. To fix
this, hdfeos's portfile should include something like the following inside
its szip variant:
{{{
require_active_variants hdf4 szip
}}}
--
Ticket URL: <https://trac.macports.org/ticket/38078>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list