Project

General

Profile

Installation with cygwin - Help desperately needed!

Added by Nathanael Harwood about 7 years ago

Hi,

Regridding of large file didn't work on my old (windows32) version of CDO so I'm trying to get it working on Cygwin.

I have cygwin and have unpacked the tar.gz file, but ./configure returns:

$ ./configure

checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/cygdrive/c/CDO2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

From (https://code.mpimet.mpg.de/boards/1/topics/5087?r=5153#message-5153) I realise I need to install a number of packages for CDO to work.

I have tried a number of different ways and would really appreciate a number of simple steps to follow through to get this working. Like for example - what packages exactly to install when I rerun the cygwin installation. The instructions on here plus forum posts have not been simple to follow thus far.

Many thanks,
Nathanael


Replies (1)

RE: Installation with cygwin - Help desperately needed! - Added by Nathanael Harwood about 7 years ago

For those who are struggling with this as I did, here are the steps that got it working:

Download cygwin. Install and in package section, go through and select
- netcdf -> under libs, click to select ‘bin’
- udunits -> libudunits-devel under libs
- libproj -> libproj-devel under libs
- libgomp
Download CDO, unzip in folder.
In cygwin, set directory with cd (eg cd c:/cdo)
Then type ./cdo.exe

Those instructions, together with the packages Ralf Mueller lists in his end post on the forum post I linked above, got it working for me.

It would be useful for those of us confined to windows to update the cygwin instructions on this website. I'm always first to sing CDO's praises as an exceptional tool, but using the latest version via cygwin was far more painful than it needed to be.

Many thanks,
Nathanael

    (1-1/1)