php4 configure 실행시 나오는 에러입니다. 어떻하죠?
글쓴이: moonspace / 작성시간: 금, 2003/05/30 - 1:53오전
checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
Forums:
MySQL을 못찾네요..MySQL이 설치된 경로를 확인해 보세요
MySQL을 못찾네요..
MySQL이 설치된 경로를 확인해 보세요
잘 모르시겠다면 mysql,php의 configure시의 옵션부분을 적어 주시구여
설치시옵션입니다. 답글 갑사합니다.
-------------------------------------------------------------------
mysql 설치시 옵션
CFLAGS=" -static -march=i686 -funroll-loops -fomit-frame-pointer"\
> CXXFLAGS=" -static -march=i686 -funroll-loops -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" \
> ./configure \
> --prefix=/usr \
> --sysconfdir=/etc \
> --localstatedir=/var/lib/mysql \
> --mandir=/usr/share/man \
> --disable-shared \
> --with-mysqld-user=mysql \
> --with-unix-socket-path=/var/lib/mysql/mysql.sock \
> --with-client-ldflags=-all-static \
> --with-mysqld-ldflags=-all-static \
> --without-debug \
> --without-docs \
> --without-bench
------------------------------------------------------------------------
php 설치시 옵션
./configure --with-apache=/usr/local/apache --with-mysql=/usr --with-zlib=/usr
답변이 너무 늦은듯한데요..이글 보시거든 답변 바랍니다.
이 옵션과
이 옵션이 문제라고생각 합니다..
어디 까지나 짐작입니다만..
위 옵션은 컴파일시에 라이브러리 화일을 실행화일안에 포함시키라고 하는 옵션인거 같은데요.. static 컴파일이 컴파일시에 라이브러리 화일을 따로 컴파일 하는것이 아니고 실행화일안에 포함을 시키는것 인것이거든요..
위의 옵션이 필요 하시면 라이브러리를 따로 컴파일 하신후에 위의 디렉토리에 저장을 하셔야 하실듯 합니다.
확인 방법은.. /usr/lib/mysql 이 디렉토리 안에
libmysqlclient.a 와 같은 화일들이 있는지 확인 하시기 바랍니다.
댓글 달기