[MacPorts] #23645: nco +netcdf4 fails to install

MacPorts noreply at macports.org
Mon Mar 1 17:32:06 PST 2010


#23645: nco +netcdf4 fails to install
--------------------------------------+-------------------------------------
 Reporter:  barry.j.mcinnes@…         |       Owner:  takeshi@…           
     Type:  defect                    |      Status:  new                 
 Priority:  Normal                    |   Milestone:                      
Component:  ports                     |     Version:  1.8.2               
 Keywords:                            |        Port:  nco                 
--------------------------------------+-------------------------------------

Comment(by takeshi@…):

 > bash-3.2# port installed|grep netcdf
 >  netcdf @4.0.1_7 (active)

 It seems that you have netcdf-4 features are not enabled in your netcdf
 installation. nco +netcdf4 requires netcdf +netcdf4. There is no explicit
 way to specify variant dependency at the moment but I added a trick to
 stop building in such a case in the modified Portfile in r64316. I would
 like you to try the following.

 {{{
 # deactivate netcdf
 sudo port -d deactivate netcdf
 # update the port tree
 sudo port -d sync
 # upgrade those outdated
 sudo port -du upgrade outdated
 # install netcdf and nco
 sudo port -d install netcdf +netcdf4
 sudo port -d install nco +netcdf4
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/23645#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list