Miscellaneous

lighttpd 알아보기 (1)

빅토르최·2014년 8월 26일·조회 6,202

 

다운로드는 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 모두 성공적으로 되었다.

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

 

 

댓글 4

로그인 후 댓글을 남길 수 있습니다.

  • 베쯔니· 2014년 8월 27일
    어디에 쓰는 건가요..?? ㅠㅠ
  • 빅토르최빅토르최· 2014년 8월 31일
    fragile/ 요즘 뜨고 있는 경량형 웹 서버입니다. 저도 이번에 처음 접해봅니다. 좀 더 공부해보고 또 공유하지요.
  • 제끼나제끼나· 2014년 9월 1일
    오 다음 아티클이 기대가 됩니다!
  • nnastyboy· 2014년 9월 1일
    무려 2003년도에 나왔죠. 11살.