sun's longitude:300 45 37.33 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  
자유 게시판(광고사절)
[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
25 번 글의 답장글: Re: 책내용중 mod_perl에 대해서
글쓴이: 산이 [홈페이지] 글쓴날: 2000년 11월 21일 02:37:10 화(새벽) 조회: 2154
[표순찬]님이 남기신 글:

>안녕하세요 표순찬입니다.
>이번 책은 정말 저한테는 도움이 많이 된 책입니다.
>책 내용중 apache 와 php를 깔려고 
>rpm으로 된 apache mysql php mod_perl을 지웠어여
>소스로 다시 설치할려구요
>근데 mod_prel 소스 설치에서 계속 에러가 납니다.
>책내용대로 윗 첫 글자 /usr/bin/perl 로 바꿔줬구요
>
>Please tell me where I can find your apache src 에서
>/usr/local/apache/src 로 적어줬구요 ㅤ(소스디렉이
거기있거든여)
>
>Configure mod_perl with /usr/local/apache/src ? [y] 에서
>y를 쳐 줬어여
>
>Shall I build httpd in /usr/local/apache/src for you? [y]여기서두
>y를 쳐 줬거든요
>그리고 엔터 후 .. 
>
>Appending mod_perl to src/Configuration
>Using config file: /usr/local/src/mod_perl-1.21/src/Configuration
>Creating Makefile
> + configured for Linux platform
> + setting C compiler to gcc
> + setting C pre-processor to gcc -E
> + checking for system header files
> + adding selected modules
> + checking sizeof various data types
> + doing sanity check on compiler and options
>Creating Makefile in support
>Creating Makefile in regex
>Creating Makefile in os/unix
>Creating Makefile in ap
>Creating Makefile in main
>Creating Makefile in lib/expat-lite
>Creating Makefile in modules/standard
>EXTRA_CFLAGS: -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I$(SRCDIR)/lib/expat-lite
-DNO_DL_NEEDED
>PerlDispatchHandler.........disabled (enable with PERL_DISPATCH=1)
>PerlChildInitHandler........enabled
>PerlChildExitHandler........enabled
>PerlPostReadRequestHandler..disabled (enable with
PERL_POST_READ_REQUEST=1)
>PerlTransHandler............disabled (enable with PERL_TRANS=1)
>PerlHeaderParserHandler.....disabled (enable with PERL_HEADER_PARSER=1)
>PerlAccessHandler...........disabled (enable with PERL_ACCESS=1)
>PerlAuthenHandler...........disabled (enable with PERL_AUTHEN=1)
>PerlAuthzHandler............disabled (enable with PERL_AUTHZ=1)
>PerlTypeHandler.............disabled (enable with PERL_TYPE=1)
>PerlFixupHandler............disabled (enable with PERL_FIXUP=1)
>PerlHandler.................enabled
>PerlLogHandler..............disabled (enable with PERL_LOG=1)
>PerlInitHandler.............disabled (enable with PERL_INIT=1)
>PerlCleanupHandler..........disabled (enable with PERL_CLEANUP=1)
>PerlStackedHandlers.........disabled (enable with
PERL_STACKED_HANDLERS=1)
>PerlMethodHandlers..........disabled (enable with
PERL_METHOD_HANDLERS=1)
>PerlDirectiveHandlers.......disabled (enable with
PERL_DIRECTIVE_HANDLERS=1)
>PerlTableApi................disabled (enable with PERL_TABLE_API=1)
>PerlLogApi..................disabled (enable with PERL_LOG_API=1)
>PerlUriApi..................disabled (enable with PERL_URI_API=1)
>PerlUtilApi.................disabled (enable with PERL_UTIL_API=1)
>PerlFileApi.................disabled (enable with PERL_FILE_API=1)
>PerlConnectionApi...........enabled
>PerlServerApi...............enabled
>PerlSections................disabled (enable with PERL_SECTIONS=1)
>
>PerlSSI.....................disabled (enable with PERL_SSI=1)
>
>Will run tests as User: 'nobody' Group: 'root'
>Checking CGI.pm VERSION..........ok
>Checking for LWP::UserAgent......failed
>Can't locate LWP/UserAgent.pm in @INC (@INC contains: ./lib
/usr/lib/perl5/5.00503/i386-linux 
>/usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux
/usr/lib/perl5/site_perl/5.005 .) 
>at Makefile.PL line 1002.
>The libwww-perl library is needed to run the test suite.
>Installation of this library is recommended, but not required.   
>
>Checking for HTML::HeadParser....failed
>Can't locate HTML/HeadParser.pm in @INC (@INC contains: ./lib
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at
Makefile.PL line 1020.
>
>The HTML-Parser package is needed (by libwww-perl) to run the test
suite.
>Writing Makefile for Apache
>Writing Makefile for Apache::Connection
>Writing Makefile for Apache::Constants
>Writing Makefile for Apache::File
>Writing Makefile for Apache::Leak
>Writing Makefile for Apache::Log
>Writing Makefile for Apache::ModuleConfig
>Writing Makefile for Apache::PerlRunXS
>Writing Makefile for Apache::Server
>Writing Makefile for Apache::Symbol
>Writing Makefile for Apache::URI
>Writing Makefile for Apache::Util
>Writing Makefile for mod_perl
>Writing Makefile for Apache::Table
>
>에서 에러 파일이 납니다.
>도대체 이유가 먼지 모르겠어요
>
>그리고 억지로 make make install
>해서
>아파치 를 설치하면 펄 부분에서 make 에러가 떠요
>당연한 말이지만 이것때문에 cgi를 사용할수가 없어요
>
>혹시나 해서 다시 rpm으로 설치할려면 서버 에러 라면서 설치가
되지 않
>구요 제발 도와주세요 
>
>참고로 apache_1.3.12 이고요 mod_perl은 1.21 입니다.
>
>여기다 이런 글을 올려도 되는지 모르겠지만..
>보시고 좀 도와주세요
>계속 이것때문에 않되니 힘들어져요..
>좀 부탁드리겠습니다.
 

========================================

인사는 생략합니다..

...

소스 위치가 적당하지 않은것 같군요...

꼭 그렇지는 않지만

일반적으로 소스로 직접컴파일하여
 설치할 경우는

/usr/local/src

가 그 위치이며 이렇게 컴파일하여 설치할 경우(사용자)
설치되는 디렉토리는

/usr/local

이 됩니다. 그런데 소스 위치가

/usr/local/apache/src

....좀 어색하군요...

아파치 데몬을 꼭 /usr/local/apache
로 설치하라는 법은 없지만요...


[권장하는 방법]

- 기존의 /usr/local/apache 디렉토리를 /usr/local/src/apache
로 옮기세요

- 아파치 설치할 디렉토리를 /usr/local/apache로
 잡든지 아니면
아니면 /usr/local/src가 아닌 다른곳으로 설정하시길...

- 압축을 푼 아파치소스와 mod_perl 소스를 동등한 디렉토리에
위치시키십시오



# pwd
/usr/local/src
#
# ls
apache_xxx
mod_perl-xxx
#


...

처음부터 다시시작하는 맘으로 해보세요.
mod_perl 모듈설치는 php 모듈 설치와 동일한 방법(개념)입니다.



--------------



>여기다 이런 글을 올려도 되는지 모르겠지만..
>보시고 좀 도와주세요
>계속 이것때문에 않되니 힘들어져요..
>좀 부탁드리겠습니다.
 


웁....

게시판 선택을 잘못하셨군요..


다음부터..묻고답하기
 게시판을 이용해 주세요


-------------
혼자만의 중얼)

헙...php move 함수가 필요할듯....................시간도
 없는데....
고쳐야할곳이 한두가지가 아닌데.......

 
이전글 : 책내용중 mod_perl에 대해서
다음글 : Re: Re: 답변 감사드립니다.  
 from 211.187.71.193
JS(Redhands)Board 0.4 +@

책내용중 mod_perl에 대해서 Re: Re: 답변 감사드립니다.
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2026. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds