Bug 8256 - libfontenc's configure should die if zlib is not installed
Summary: libfontenc's configure should die if zlib is not installed
Status: RESOLVED DUPLICATE of bug 31595
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/libfontenc (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 16482 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-13 13:20 UTC by Andres Salomon
Modified: 2018-06-17 19:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
cause autoconf script to bail if zlib is not installed (385 bytes, patch)
2006-09-13 13:21 UTC, Andres Salomon
no flags Details | Splinter Review

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.