[GRASS-dev] winGRASS compilation: configure: error: *** Unable to locate bzlib library.

Helmut Kudrnovsky hellik at web.de
Mon Mar 6 23:04:24 PST 2023


Hi Stefan, 
 

>Von: "Stefan Blumentrath"
> 

>I would probably refer to:
>https://github.com/OSGeo/grass/blob/main/.github/workflows/osgeo4w.yml
 
>And further to:
>https://github.com/OSGeo/grass/blob/main/.github/workflows/build_osgeo4w.sh[https://github.com/OSGeo/grass/blob/main/.github/workflows/build_osgeo4w.sh] and
>https://github.com/OSGeo/grass/blob/main/mswindows/osgeo4w/build_osgeo4w.sh[https://github.com/OSGeo/grass/blob/main/mswindows/osgeo4w/build_osgeo4w.sh]

thanks for the hints.

I've started 
 
myuser at DESKTOP-VADT8Q4 MINGW64 /usr/src/grass
$ ./.github/workflows/build_osgeo4w.sh

then I get the same error:

checking for location of zlib includes...
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for location of zlib library...
checking for deflate in -lz... yes
checking whether to use bzlib... "yes"
checking for location of bzlib includes...
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for location of bzlib library...
checking for BZ2_bzBuffToBuffCompress in -lbz2... no
=> configure: error: *** Unable to locate bzlib library. <=

I've installed all build needed packackages mentioned in

https://github.com/OSGeo/grass/blob/main/.github/workflows/osgeo4w.yml#L40

          install: tar libintl make bison flex diffutils git dos2unix zip mingw-w64-x86_64-toolchain
            mingw-w64-x86_64-fftw mingw-w64-x86_64-lapack mingw-w64-x86_64-pkgconf
            mingw-w64-x86_64-gcc mingw-w64-x86_64-ccache mingw-w64-x86_64-zlib mingw-w64-x86_64-libiconv
            mingw-w64-x86_64-bzip2 mingw-w64-x86_64-gettext mingw-w64-x86_64-libsystre
            mingw-w64-x86_64-libtre-git mingw-w64-x86_64-libwinpthread-git mingw-w64-x86_64-libpng
            mingw-w64-x86_64-pcre mingw-w64-x86_64-python3-six
 
best
Helli 
 
 


More information about the grass-dev mailing list