X-Recipient: archive-cygwin@delorie.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.atzeri@gmail.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@cygwin.com
Subject: Re: Can't install netCDF4
References: <1322488849.11535.52.camel@kare-desktop> <4ED39A18.10806@gmail.com>
In-Reply-To: <4ED39A18.10806@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

