[Bug 1631] New: ./configure errors on missing headers are misleading on Linux
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Fri Aug 7 01:13:57 EST 2009
https://bugzilla.mindrot.org/show_bug.cgi?id=1631
Summary: ./configure errors on missing headers are misleading
on Linux
Product: Portable OpenSSH
Version: 5.2p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: pepper at reppep.com
On Linux, OpenSSH's configure script complains that zlib and libcrypto
are missing even when they are installed -- what it actually needs are
the corresponding -devel RPMs.
Since the problem is absence of the headers, and they're in different
RPMs on Linux, please improve the errors to mention 'headers' -- -devel
RPMs are too specific unless you wanted to special-case the relevant
Linux flavors.
[root at si-node openssh]# autoreconf
[root at si-node openssh]# ./configure && make
...
checking for deflate in -lz... no
configure: error: *** zlib missing - please install first or check
config.log ***
[root at si-node openssh]# rpm -qa|grep zlib
zlib-1.2.3-3
[root at si-node openssh]# rpm -ql zlib
/usr/lib/libz.so.1
/usr/lib/libz.so.1.2.3
/usr/share/doc/zlib-1.2.3
/usr/share/doc/zlib-1.2.3/README
[root at si-node openssh]# uname -a
Linux si-node.mskcc.org 2.6.18-128.2.1.el5 #1 SMP Tue Jul 14 06:39:56
EDT 2009 i686 i686 i386 GNU/Linux
[root at si-node openssh]# cat /etc/redhat-release
CentOS release 5.3 (Final)
I installed zlib-devel-1.2.3-3.i386.rpm, then got past zlib to a
similar error about openssl:
configure: error: *** Can't find recent OpenSSL libcrypto (see
config.log for details) ***
[root at si-node openssh]# rpm -qa|grep crypto
The fix was to install openssl-devel-0.9.8e-7.el5.i386.rpm.
This was in HEAD from today.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list