delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/29/09:03:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_HD
X-Spam-Check-By: sourceware.org
Message-ID: <4ED4E5FF.8010407@gmail.com>
Date: Tue, 29 Nov 2011 15:02:39 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can't install netCDF4
References: <1322488849 DOT 11535 DOT 52 DOT camel AT kare-desktop> <4ED39A18 DOT 10806 AT gmail DOT com>
In-Reply-To: <4ED39A18.10806@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 11/28/2011 3:26 PM, Tomas Staig wrote:
> Edvardsen KÃ¥re wrote:
>> I need to install the netCDF4 package which is the Python/numpy
>> interface to netCDF
>> (see http://code.google.com/p/netcdf4-python/ )
>>
>> I've tried to install version 0.9.4 and later, but they all give pretty
>> much the same error message (attached).
>> For me this looks like it is not ment to work under cygwin, but if
>> anyone can help me out, I would really appreciate it.
>>
>> Reards,
>> KÃ¥re
>>
>> ------------------------------------------------------------------------
>>
>> --
>> Problem reports: http://cygwin.com/problems.html
>> FAQ: http://cygwin.com/faq/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> I don't really use netCDF, but I read about a similar situation in here:
> http://code.google.com/p/netcdf4-python/issues/detail?id=2
>
> So it seems you require the flag '--enable-netcdf-4' when calling the
> configure script for netcdf-4 or you haven't installed it at all. I
> would recommend reading the building documentation for netcdf4-python
> [1] and following the steps in detail. Specifically installing HDF5 and
> netcdf-4 before attempting to build netcdf4-python.

for development he needs the dev packages:
libhdf5-devel and libnetcdf-devel

pay attention that I upgraded hdf5 to 1.8.8
while netcdf-4.1.1-2 was built against 1.8.6 so there could be
a compatibility problem if both are really needed  at the same time.

I will look to upgrade netcdf to 4.1.3 with hdf5-1.8.8

>
> Hope it helps,
> Tomas.
>
> [1]: http://netcdf4-python.googlecode.com/svn/trunk/README

Regards

Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019