안녕하세요.
64비트 운영체제 mysql 소스를 컴파일 해서 사용중인데
여기에 innotop 같은 모니터링 유틸을 깔려고 하니
DBD:mysql 이 안깔리는군요.
DBD-mysql-4.003
make 시
gcc -c -I/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/DBI -I/usr/local/mysql/include/mysql -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION=\"4.003\" -DXS_VERSION=\"4.003\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" dbdimp.c
dbdimp.c:1269: error: conflicting types for 'mysql_dr_error'
dbdimp.h:288: error: previous declaration of 'mysql_dr_error' was here
dbdimp.c:1269: error: conflicting types for 'mysql_dr_error'
dbdimp.h:288: error: previous declaration of 'mysql_dr_error' was here
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:3419: error: too few arguments to function `mysql_dr_error'
dbdimp.c:3583: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_st_FETCH_internal':
dbdimp.c:3915: error: too few arguments to function `mysql_dr_error'
dbdimp.c:3929: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_bind_ph':
dbdimp.c:4244: error: too few arguments to function `mysql_dr_error'
dbdimp.c:4271: error: too few arguments to function `mysql_dr_error'
dbdimp.c:4283: error: too few arguments to function `mysql_dr_error'
dbdimp.c: In function `mysql_db_reconnect':
dbdimp.c:4445: error: too few arguments to function `mysql_dr_error'
같은 에러가 나네요.
rpm 으로 설치 해도 제대로 동작도 안하고..
mysql 버전은 4.0.18 입니다.
혹시 설치에 성공하신분 계시면 도움 부탁드립니다.
좋은 하루 되세요. |