php4컴파일(db, imap, gd, apache)할때 오류가 나거든요..
설치환경 : linux 7.0, mod_ssl-2.8,apache-1.3.19,php.4.04,.....
KLDP 에서 문서를 찾아서 컴파일을 하려고 하는데....
default(RPM)로 openssl 이 설치가 되어있었습니다.
그래서 find 명령어로 openssl 를 찾아보니까...
다음의 두 경로로 되어 있더라구요...
/usr/include/openssl
/usr/bin/openssl
명령:
php-4.0.4pl1>$CFLAGS='02 -l/usr/include/openssl' ./configure --disable-
debug --with-imap=/usr/local/imap ...
위의 명령어로 php4.x 를 컴파일 하려고 하는데....아래와 같은 오류 메세지
가 뜨는군요..아무래도 경로가 잘못 잡힌것 같은데....혹시 RPM 으로 설치된
openssl 의 경로가 어떻게 되는지요...
아님 openssl 을 컴파일해서 사용한다면(RPM 을 보니까 perl등등해서..복잡
하게 의존성 문제가 있던것 같던데....) 어떤 주의점이 있을까요...
오류메세지 :
checking whether the C compiler (gcc 02 -l/usr/include/openssl)
works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
고수님들의 조언 부탁드립니다..은혜 잊지 않겠습니다..