Bug 8256

Summary: libfontenc's configure should die if zlib is not installed
Product: xorg Reporter: Andres Salomon <dilinger>
Component: Lib/libfontencAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: high CC: maarten.ter.huurne
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
cause autoconf script to bail if zlib is not installed none

Description Andres Salomon 2006-09-13 13:20:11 UTC
Using libfontenc from git, if zlib is not installed on the host system, the
configure script notices:

checking for gzclose in -lz... no

However, it continues.  The build certainly notices:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DFONTENC_NO_LIBFONT
-DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts/encodings/encodings.dir\"
-g -O2 -MT encparse.lo -MD -MP -MF .deps/encparse.Tpo -c encparse.c  -fPIC -DPIC
-o .libs/encparse.o
encparse.c:52:18: error: zlib.h: No such file or directory
encparse.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'FontFilePtr'


The configure script should really bail out if zlib isn't present in the build
environment.
Comment 1 Andres Salomon 2006-09-13 13:21:39 UTC
Created attachment 6950 [details] [review]
cause autoconf script to bail if zlib is not installed
Comment 2 Daniel Stone 2007-02-27 01:33:32 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Matej Cepl 2010-06-23 04:58:12 UTC
*** Bug 16482 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Adkins 2010-11-26 18:21:18 UTC

*** This bug has been marked as a duplicate of bug 31595 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.