Opened 10 years ago
Closed 10 years ago
#394 closed task (invalid)
Impossible to build ROPP on (unsupported platform) Cygwin
Reported by: | Ian Culverwell | Owned by: | frdo,idculv |
---|---|---|---|
Priority: | normal | Milestone: | 9.0 |
Component: | ROPP (all) | Version: | 7.1 |
Keywords: | Cc: |
Description
ROPP8.0 beta reviewer Dave Offiler (UKMO) found:
Beta-test Report on ROPP-8 (Cygwin) - Dave Offiler =================================================== System OS: Windows 7 Pro / Cygwin 1.7.33 64-bit Compilers: gcc/gfortran v4.8.3 (distro version) ROPP tarball ropp-8.0.tar.gz downloaded from ROM SAF ROPP-beta website ----------------------------------------------------------------------------- 1) Basic build All dependency packages & ROPP modules build using the 'build*_ropp' wrapper scripts to the main 'buildpack' script and using the provided configure mini-scripts. a) Dependencies Release versions as recommended for use with ROPP, and provided on the ROPP-beta website: netCDF v4.1.3 in classic (non-HDF5) mode GRIB-API v1.9.9 ECMWF BUFR v387 b) Issues netCDF (classic and -4): Cannot be built due to: "C++ pre-processor /lib/cpp fails sanity check" in ./configure. Inspection of the config.log suggests a syntax error in the dummy test program, but this stuff is black magic to me, and there is no obvious solution. GRIB-API: Fails on a test: TEST: ./ieee.sh ./ieee.sh: line 42: 5056 Segmentation fault (core dumped) ${tools_dir}grib_filter -o $out32 w.filter $infile FAIL: ieee.sh Manual 'make install'... ECBUFR: OK ROPP_UTILS: ./configure fails: "configure: error: cannot guess build type; you must specify one" ROPP_IO: ./configure fails: "Module NETCDF not found" ROPP_PP, ROPP_FM, ROPP_1DVAR: same as ROPP_UTILS. Additional text: "checking build system type... ./config.guess: unable to guess system type This script, last modified 2005-02-10, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from ftp://ftp.gnu.org/pub/gnu/config/ If the version you run (./config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system. config.guess timestamp = 2005-02-10 uname -m = x86_64 uname -r = 1.7.33-2(0.280/5/3) uname -s = CYGWIN_NT-6.1 uname -v = 2014-11-13 15:47 /usr/bin/uname -p = unknown /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = x86_64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = x86_64 UNAME_RELEASE = 1.7.33-2(0.280/5/3) UNAME_SYSTEM = CYGWIN_NT-6.1 UNAME_VERSION = 2014-11-13 15:47 configure: error: cannot guess build type; you must specify one" Give up on Cygwin!!!
Looks pretty hopeless ... consider dropping Cygwin support entirely?
Note:
See TracTickets
for help on using tickets.
This turns out not be the case. The latest installation of Cygwin does not automatically include the gcc compiler, which was the root of the problem. Installing gcc manually solves these problems.