Bug 21951 - Configure script lacks check for openssl dev kit
Summary: Configure script lacks check for openssl dev kit
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 17:28 UTC by David Campbell
Modified: 2018-06-12 18:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description David Campbell 2009-05-26 17:28:17 UTC
Building Xorg server 7.4 resulted in the following, openssl/sha.h not found during the build.  I would thus think that the configure script should include a check for availability of the openssl dev kit, which would appear to be a dependency.

gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -g -O2 -MT glyph.lo -MD -MP -MF .deps/glyph.Tpo -c glyph.c  -fPIC -DPIC -o .libs/glyph.o
glyph.c:30:25: error: openssl/sha.h: No such file or directory
glyph.c: In function 'HashGlyph':
glyph.c:205: error: 'SHA_CTX' undeclared (first use in this function)
glyph.c:205: error: (Each undeclared identifier is reported only once
glyph.c:205: error: for each function it appears in.)
glyph.c:205: error: expected ';' before 'ctx'
glyph.c:208: warning: implicit declaration of function 'SHA1_Init'
glyph.c:208: warning: nested extern declaration of 'SHA1_Init'
glyph.c:208: error: 'ctx' undeclared (first use in this function)
glyph.c:212: warning: implicit declaration of function 'SHA1_Update'
glyph.c:212: warning: nested extern declaration of 'SHA1_Update'
glyph.c:220: warning: implicit declaration of function 'SHA1_Final'
glyph.c:220: warning: nested extern declaration of 'SHA1_Final'
make[1]: *** [glyph.lo] Error 1
make[1]: Leaving directory `/big/Downloads/xorg-server-1.5.1/render'
make: *** [all-recursive] Error 1
Comment 1 Adam Jackson 2018-06-12 18:43:21 UTC
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.


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.