SZIP compile and test, W10, Cygwin


#1

Hi, hdf5 newbie here, trying to compile SZIP in this environment

HW: dell XPS 15 7590, 16Gb
OS: W10, build 19043.1348
Cygwin 3.3.3(0.341/5/3)
GCC 11.2.0
zlib 1.2.11-1
GNU Make 4.3
flex 2.6.4
tar 1.34

szip 2.1.1.tar.gz downloaded from here

https://support.hdfgroup.org/doc_resource/SZIP/

FYI, from a mintty terminal, I observe

$ tar -xf szip-2.1.1.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

The W10 file-explorer checksum SHA256:

9F60F2C6CCEC8A58230A190027BB80177676EB7BDCEA4A810AA0BB56ABF42CCE  

7Zip V19.00(64) will extract the tar file from the gz

My szip config

./configure --disable-encoding --build=x86_64-pc-cygwin --prefix=/usr/local CC=/bin/gcc.exe CFLAGS="-std=gnu99 -O2 -fomit-frame-pointer -I. -I… -I/usr/include " LDFLAGS="-Wl,–stats -Wl,-O1 -Wl,–discard-all -Wl,–no-undefined -I. -I… -I/usr/include " LIBS="-lm -L/lib" CPP=/bin/cpp.exe CPPFLAGS=-I/usr/include &>szip-configure.txt

Running make, looks OK.

Running make check produces

=====================================
   SZIP 2.1.1: test/test-suite.log
=====================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: gentest
=============

Encoding is disabled...quitting...
FAIL gentest.exe (exit status: 1)

After running make install, I run

$ cygcheck -l libsz.la
(no output)

I hand copy and paste to /lib

Is this a usable library?

Comments?

Thank you.