>> Delete No. 13138 article
No. [질문] apache+php4 컴파일 에러..

등록 2000-12-01 10:07:00 By localhost     조회 2
이름 jin    

		서버 환경은 솔라리스 스팍이고 os는 솔라리스 7 입니다.
 어제 밤 새고.. 아직까지 해도 계속 같은 메세지가 뜨네요..
 apxs로 깔면 php4 모듈이 안 올라오고 정적으로 깔면 apache에서
 파일을 못찾고 흑흑흑.. 에러 메세지 함 보고 뭐가 잘 못됐는지 봐주세요..
 제발 부탁입니다.. 집에가서 자고 싶어요 ㅠ_ㅠ;
 정적 모듈로 컴파일 에러
 정적 옵션
 # ./configure --prefix=/usr/local/apache
# cd php4*
# ./configure --with-apache=/usr/local/src/apache_1.3.6 --with-mysql=/usr/local/
# make
# make install
# ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libp
hp4.a
# make
 ./gen_test_char >test_char.h
ld.so.1: ./gen_test_char: fatal: libpng.so.2: open failed: No such file or direc
tory
 *** Error code 137
make: Fatal error: Command failed for target `test_char.h'
Current working directory /usr/local/apache_1.3.6/src/main
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /usr/local/apache_1.3.6/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /usr/local/apache_1.3.6
*** Error code 1
make: Fatal error: Command failed for target `build'
  apxs 모듈로 깔때 에러 메세지
 php4 ./configure 옵션
 # ./configure 
> --with-apxs=/usr/local/apache/bin/apxs 
> --with-config-file-path=/usr/local/apache/conf 
> --with-mysql 
> --with-gd =/usr/local/gd-1.8.3
 /usr/local/apache/bin/apxs -i -a -n php4 libs/libphp4.so
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: cannot access libs/libphp4.so
apxs:Break: Command failed with rc=131072
 php4 ./configure 옵션
 # ./configure 
> --with-apxs=/usr/local/apache/bin/apxs 
> --with-config-file-path=/usr/local/apache/conf 
> --with-mysql 
> --with-gd =/usr/local/gd-1.8.3
 ld: fatal: library -lpng: not found
ld: fatal: library -lz: not found
ld: fatal: library -lgd: not found
ld: fatal: library -lpng: not found
ld: fatal: library -lz: not found
ld: fatal: library -lgd: not found
ld: fatal: File processing errors. No output written to .libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target `libphp4.la'
Current working directory /usr/local/php-4.0.2
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'--왕초초초초초초초초초초초초초보
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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