Opened 6 years ago

Closed 6 years ago

#7223 closed defect (fixed)

lzma is optional with autoconf, but required in the internal libtiff

Reported by: Kurt Schwehr Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: lzma libtiff
Cc:

Description

If you build on a system without the lzma headers, configure is okay with it, but compiling fails when trying to build tif_lzma.c: gtiff/libtiff/tif_lzma.c:#include "lzma.h". The GNUMakefile always includes tif_lzma.c in the sources and LZMA_SUPPORT was set.

This was a transient failure for me when setting up a new machine and I forgot to record the exact configure line used that triggered the trouble. :(

Change History (1)

comment:1 by Even Rouault, 6 years ago

Resolution: fixed
Status: newclosed

In 41379:

configure: check presence of lzma.h, in addition to liblzma, to enable LZMA (fixes #7223)

Note: See TracTickets for help on using tickets.