반응형
centos openssh 소스 컴파일시 zlib error
발생시 다음과 같이 진행 하시오
configure: error: *** zlib.h missing - please install first or check config.log ***
[root@santafe openssh-6.2p2]# yum -y install zlib-devel
Installing : 1:pkgconfig-0.23-9.1.el6.i686 1/2
Installing : zlib-devel-1.2.3-29.el6.i686 2/2
Verifying : 1:pkgconfig-0.23-9.1.el6.i686 1/2
Verifying : zlib-devel-1.2.3-29.el6.i686 2/2
[root@santafe openssh-6.2p2]# yum -install openssl-devel
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: ftp.neowiz.com
* extras: ftp.neowiz.com
* updates: ftp.neowiz.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.i686 0:1.0.0-27.el6_4.2 will be installed
--> Processing Dependency: krb5-devel for package: openssl-devel-1.0.0-27.el6_4.2.i686
--> Running transaction check
---> Package krb5-devel.i686 0:1.10.3-10.el6_4.6 will be installed
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-10.el6_4.6.i686
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-10.el6_4.6.i686
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-10.el6_4.6.i686
--> Running transaction check
---> Package keyutils-libs-devel.i686 0:1.4-4.el6 will be installed
---> Package libcom_err-devel.i686 0:1.41.12-14.el6_4.2 will be installed
---> Package libselinux-devel.i686 0:2.0.94-5.3.el6_4.1 will be installed
--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.3.el6_4.1.i686
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.3.el6_4.1.i686
--> Running transaction check
---> Package libsepol-devel.i686 0:2.0.41-4.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
openssl-devel i686 1.0.0-27.el6_4.2 updates 1.1 M
Installing for dependencies:
keyutils-libs-devel i686 1.4-4.el6 base 28 k
krb5-devel i686 1.10.3-10.el6_4.6 updates 493 k
libcom_err-devel i686 1.41.12-14.el6_4.2 updates 31 k
libselinux-devel i686 2.0.94-5.3.el6_4.1 updates 136 k
libsepol-devel i686 2.0.41-4.el6 base 64 k
Transaction Summary
=========================================================================================================
Install 6 Package(s)
Total download size: 1.9 M
Installed size: 4.7 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 1.9 M
(1/6): keyutils-libs-devel-1.4-4.el6.i686.rpm | 28 kB 00:00
(2/6): krb5-devel-1.10.3-10.el6_4.6.i686.rpm | 493 kB 00:03
(3/6): libcom_err-devel-1.41.12-14.el6_4.2.i686.rpm | 31 kB 00:00
(4/6): libselinux-devel-2.0.94-5.3.el6_4.1.i686.rpm | 136 kB 00:01
(5/6): libsepol-devel-2.0.41-4.el6.i686.rpm | 64 kB 00:00
(6/6): openssl-devel-1.0.0-27.el6_4.2.i686.rpm | 1.1 MB 00:07
---------------------------------------------------------------------------------------------------------
Total 131 kB/s | 1.9 MB 00:14
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libsepol-devel-2.0.41-4.el6.i686 1/6
Installing : libselinux-devel-2.0.94-5.3.el6_4.1.i686 2/6
Installing : libcom_err-devel-1.41.12-14.el6_4.2.i686 3/6
Installing : keyutils-libs-devel-1.4-4.el6.i686 4/6
Installing : krb5-devel-1.10.3-10.el6_4.6.i686 5/6
Installing : openssl-devel-1.0.0-27.el6_4.2.i686 6/6
Verifying : keyutils-libs-devel-1.4-4.el6.i686 1/6
Verifying : libcom_err-devel-1.41.12-14.el6_4.2.i686 2/6
Verifying : krb5-devel-1.10.3-10.el6_4.6.i686 3/6
Verifying : libselinux-devel-2.0.94-5.3.el6_4.1.i686 4/6
Verifying : openssl-devel-1.0.0-27.el6_4.2.i686 5/6
Verifying : libsepol-devel-2.0.41-4.el6.i686 6/6
Installed:
openssl-devel.i686 0:1.0.0-27.el6_4.2
Dependency Installed:
keyutils-libs-devel.i686 0:1.4-4.el6 krb5-devel.i686 0:1.10.3-10.el6_4.6
libcom_err-devel.i686 0:1.41.12-14.el6_4.2 libselinux-devel.i686 0:2.0.94-5.3.el6_4.1
libsepol-devel.i686 0:2.0.41-4.el6
[root@santafe openssh-6.2p2]# yum install make
[root@santafe openssh-6.2p2]# ./configure --prefix=/usr/local/ssh --with-ssl-dir=/usr/local/ssl
반응형
'IT' 카테고리의 다른 글
vsftpd 접속 500 oops error 대처법 (0) | 2013.09.14 |
---|---|
umask 설정 (0) | 2013.09.14 |
tomcat 80포트를 8080 포트로 리다이렉팅 하는 법 (0) | 2013.09.14 |
iptables (0) | 2013.09.14 |
톰켓 시작 데몬 등록 (0) | 2013.09.14 |