>> Read No. 6593 article  
아파치 다시 설치하는데 에러나요...

등록 2000-09-25 20:36:00     조회 1
이름 전병혁    

		리눅스는 레드햇 6.2입니다.
mysql(mysql-3.23.12)을 설치했습니다.
그리고 아파치 데몬을 죽이고 압축을 푼다음 /etc/httpd 디렉토리에 옮기고
여기서 ./configure --prefix=/home/httpd를 하고나서 /usr/local/php에
압축을 풀고 다음과 같이 했습니다.
#pwd
/usr/local/php
#./configure --with-mysql=/usr/local/mysql --with-apache=/home/httpd --enable-track-vars
위와 같이 하고 make, make install을 했습니다. 여기까지 문제가 없습니다.
그리고 아파치를 설치하는데 에러가 생겨요
 #cd /home/httpd
[root@ns httpd]# ./configure --prefix=/home/httpd --activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.12
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc  -DLINUX=2 -I/usr/local/php -I/usr/local/php/Zend -I/usr/local/php/Zend -I/usr/local/php -DUSE_EXPAT -I./lib
/expat-lite -DNO_DL_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c   -Wl,-rpath,/usr/local/mysql/lib/mysql  -
rdynamic -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lgdbm  -ldl -l
mysqlclient -lttf -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv  -lm -lcrypt /usr/bin/ld: cannot find -lmysqlclient c
ollect2: ld returned 1 exit status make: *** [dummy] Error 1        <<------이부분 에러 Creating Makefile in sr
c  + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o php4_module uses ConfigStart/End
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
 ======== Error Output for sanity check ========
============= End of Error Report =============
  Aborting!
[root@ns httpd]# make
===> src
make[1]: Entering directory `/home/httpd'
make[2]: Entering directory `/home/httpd/src'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/httpd/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/httpd'
make: *** [build] Error 2
[root@ns httpd]# make all
===> src
make[1]: Entering directory `/home/httpd'
make[2]: Entering directory `/home/httpd/src'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/httpd/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/httpd'
make: *** [build] Error 2
 컴파일을 하면 위와같은 에러가 나옵니다.
이전버전으로 똑같은 방법으로 설치를 했는데 아무 문제가 없었는데
아파치와 php를 업하면서 에러가 나요
처음부터 잘못됐는지 어디서 틀렸는지 가르쳐 주세요
고수님들의 답변 부탁드립니다.
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.80 초 ] 작업시간: [ 0.23 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789772727
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.