webalizer 가 아파치 2.x 버전에서만 설치 되나요?
우선 제 컴에는 레드햇9, 아파치 1.23.28 이 깔려 있습니다.
rpmfind.net 에서 레드햇9용 webalizer.2.01 버전을 받아서 설치하려니
다음과 같은 의존성 에러가 나네요.
근데 아파치 웹서버가 잘 작동하고 있는데 웹서버가 필요하다는 말은 뭔지..
[root@linux rpm]# rpm -ivh webalizer.rpm
오류: Failed dependencies:
libgd.so.1.8 is needed by webalizer-2.01_10-11
webserver is needed by webalizer-2.01_10-11
그래서 up2date 로 설치를 할려고 하니깐... 아파치 2.x 대 버전을 받는것입니다. 그래서 중단했구요.
webalizer 가 아파치 2.x 버전에서만 설치 되나요?
[root@linux rpm]# up2date -i webalizer
Testing package set / solving RPM inter-dependencies...
########################################
webalizer-2.01_10-11.i386.r ########################## Done.
gd-1.8.4-11.i386.rpm: ########################## Done.
httpd-2.0.40-21.5.i386.rpm: ################### 62 k/sec, 00:00:04 rem.
[1]+ Stopped up2date -i webalizer
-----------------------------------------------------------------
아파치가 RPM 으로 설치한것이 아니라서 그럴까요? webalizer 소스를 받아서 설치를 해봐야겟어요. 근데 책에 있는 http://www.mrunix.net/webalizer 는 접속이 안되는데 소스는 어디서 받을 수 가 있나요?
-----------------------------------------------------------------
아 프로그램은 받았어요.
http://ftp.superuser.co.kr/pub/weblog/webalizer/
근데 ./configure 에서 에러가 나네요.
[root@linux webalizer]# ./configure --with-language=korean
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking whether char is unsigned... no
checking for main in -l44bsd... no
checking for main in -lm... yes
checking for main in -lz... yes
checking for gzrewind in -lz... yes
checking for main in -lpng... no
configure: error: png library not found... please install png.
png.. 라.. libpng 하고 libjpeg, gd, freetype, zlib 등등 다 최신업데이트를 했거든요.. 이상하네요;;
# up2date -i png 로 검색하니깐 그런 팩키지는 없다고 나와요
---------------------------------------------------
libpng-devel
libpng
libpng10
gd-progs
gd-devel
gdbm
gdbm-devel
gdb
gd
를 모두 설치하니깐 에러없이 컴파일과 설치를 완료했습니다.
이런 부분때문에 시간이 소비해야하는게 단점같습니다.;;
Re: webalizer 가 아파치 2.x 버전에서만 설치 되나요?
지금 그홈 접속 잘되는데여
그리고 저ㅗㅂ속 안된며
www.rpmfind.net여기서 srpm구해서 rebuild해ㅔ보세야
즐린
이상하네요 전 접속이 안되는데..;근데 srpm 을 받아서 리빌드
이상하네요 전 접속이 안되는데..;
근데 srpm 을 받아서 리빌드를 하라는 말은 무슨말인가요?
srpm 은 잘 모르거든요. 금방 검색해보니깐 srpm 은 소스라고만 나와 있는데.. 명령어 좀 가르추세요;
아직 초보라서 질문조차도 엉성할 수 있습니다.
이해하시구요.^^.
제 글을 읽어주시는 분들, 답변해주시는 분들께 항상 감사드립니다.
[quote="cohuman1"]이상하네요 전 접속이 안되는데..;
rpm --rebuild xxx.srpm하세여
그럼 의존성 해결됩니다.
시스템에 있는 라이브러리에 맞게 컴파일되져
그리고 이 옵션 사용하려면
rpmbuild패키지 깔아야합니다
즐린
댓글 달기