libyal / libewf

Libewf is a library to access the Expert Witness Compression Format (EWF)
GNU Lesser General Public License v3.0
264 stars 76 forks source link

How do I use the configure with-zlib option? #177

Closed CanuteTheGreat closed 1 year ago

CanuteTheGreat commented 1 year ago

Hello!

When running './configure --with-zlib' the script fails:

checking whether to use search for zlib in includedir and libdir or in the specified DIR, or no if not to use zlib... (cached) yes configure: error: in `/home/canutethegreat/Downloads/libewf/libewf-20201230': configure: error: no such directory: yes See `config.log' for more details Previous versions compiled fine with zlib so I am not sure if that is expected nor not.
joachimmetz commented 1 year ago

Can you attach config.log ?

joachimmetz commented 1 year ago

Never mind you're holding it wrong per configure --help this is how to use the --with-zlib option

  --with-zlib[=DIR]       search for zlib in includedir and libdir or in the
                          specified DIR, or no if not to use zlib
                          [default=auto-detect]
CanuteTheGreat commented 1 year ago

Ah, RTFM indeed. --with-zlib=auto-detect does in fact work.

joachimmetz commented 1 year ago

Also there is no need to explicitly add --with-zlib=auto-detect it is the default