제 홈페이지는 mod_auth_mysql 모듈로 사용자 인증을 해 줍니다.
어제까지는 static 으로 컴파일 해서 잘 쓰고 있다가
이 홈페이지에 자바 tomcat를 설치해서 jsp 쓸려고 보니깐
mod_auth_mysql 를 apxs 로 컴파일 할라고 하니깐 에러가 나더군여.
그래서.. 문서를 조금 보다가 아래와 같이 하면 되는것으로 나타나더군여.
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
하면 apsx로 configureation 할고여
다음에 make install 하시면 에러가 납니다.
그래서 아래와 같이 수작업을 해 주시면 바로 되더군여.
cp config.h auth_mysql_config.h
/usr/local/apache/bin/apxs
-lmysqlclient -L/usr/local/mysql/lib/ -L./ -I/usr/local/mysql/include/
-i -a -c *.c
혹시 쓰시는 분들은 참고 하시기 바랍니다.--전 윈도우 2000 관리자랍니다. 그렇지만 리눅
서져.. :)