다운로드는 http://www.lighttpd.net/download/ 에서 가능하다.

 

따짜고짜 ./configure --prefix=.... 

그러나 실패한다.

configure: error: bzip2-headers and/or libs where not found, install them or build with --without-bzip2

 

bzip-headers가 없는 것 같아, yum으로 설치한다.

# yum install bzip2-headers
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.kaist.ac.kr
 * extras: ftp.kaist.ac.kr
 * updates: ftp.kaist.ac.kr
base                                                                                                       | 3.7 kB     00:00
extras                                                                                                     | 3.4 kB     00:00
updates                                                                                                    | 3.4 kB     00:00
Setting up Install Process
No package bzip2-headers available.
Error: Nothing to do

 

그런데 bzip2-headers라는 것은 없다고 한다.

이번에는 bzip2 를 설치한다.

# yum install bzip2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.kaist.ac.kr
 * extras: ftp.kaist.ac.kr
 * updates: ftp.kaist.ac.kr
Setting up Install Process
Package bzip2-1.0.5-7.el6_0.x86_64 already installed and latest version
Nothing to do

 

이미 최신버전이라고 한다.

이 때, 감으로 -devel 버전을 설치해본다.

# yum install bzip2-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.kaist.ac.kr
 * extras: ftp.kaist.ac.kr
 * updates: ftp.kaist.ac.kr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bzip2-devel.x86_64 0:1.0.5-7.el6_0 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
==================================================================================================================================
 Package                          Arch                        Version                             Repository                 Size
==================================================================================================================================
Installing:
 bzip2-devel                      x86_64                      1.0.5-7.el6_0                       base                      250 k
 
Transaction Summary
==================================================================================================================================
Install       1 Package(s)
 
Total download size: 250 k
Installed size: 412 k
Is this ok [y/N]: y
Downloading Packages:
bzip2-devel-1.0.5-7.el6_0.x86_64.rpm                                                                       | 250 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : bzip2-devel-1.0.5-7.el6_0.x86_64
  Verifying  : bzip2-devel-1.0.5-7.el6_0.x86_64                                                                               1/1
 
Installed:
  bzip2-devel.x86_64 0:1.0.5-7.el6_0
 
Complete!

 

역시 진리의 kaist 서버로부터 잘 설치되었다.

이후 configure, make, make install 모두 성공적으로 되었다.

본격적인 조작은 다음에 또 이어서..