rasterio / rasterio-wheels

MIT License
11 stars 16 forks source link

add zstd support #68

Closed vincentsarago closed 3 years ago

vincentsarago commented 3 years ago

resolves #23

sgillies commented 3 years ago

Thanks @vincentsarago !

sgillies commented 3 years ago

@vincentsarago the zstd library doesn't install. Here's the tail of the output from make install:

creating pkgconfig
sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
  -i[SUFFIX], --in-place[=SUFFIX]
                 edit files in place (makes backup if extension supplied)
  -c, --copy
                 use copy instead of rename when shuffling files in -i mode
         (avoids change of input file ownership)
  -l N, --line-length=N
                 specify the desired line-wrap length for the `l' command
  --posix
                 disable all GNU extensions.
  -r, --regexp-extended
                 use extended regular expressions in the script.
  -s, --separate
                 consider files as separate rather than as a single continuous
                 long stream.
  -u, --unbuffered
                 load minimal amounts of data from the input files and flush
                 the output buffers more often
      --help     display this help and exit
      --version  output version information and exit
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.
E-mail bug reports to: bonzini@gnu.org .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
make[1]: *** [libzstd.pc] Error 4
make[1]: Leaving directory `/io/zstd-1.4.7/lib'
make: *** [install] Error 2
vincentsarago commented 3 years ago

@sgillies not sure what's going on, looking at zstd repo I found https://github.com/facebook/zstd/issues/2215 definitely something I never saw. Is it not installing for all env ?

sgillies commented 3 years ago

Tomorrow I'll try make -j4 PREFIX=$BUILD_PREFIX ZSTD_LEGACY_SUPPORT=0 SED_ERE_OPT="-r".

sgillies commented 3 years ago

Actually, would need to be make install SED_ERE_OPT="-r"