Q4MがMySQL 5.1.24でmakeできないのメモ
Q4M 0.4がMySQL-5.1.24-rcでmakeできないようです
5.1.23ではmakeできました
MySQLのconfigure
./configure \ --enable-shared \ --with-innodb \ --without-ndbcluster \ --with-archive-storage-engine \ --with-csv-storage-engine \ --with-blackhole-storage-engine \ --without-federated-storage-engine \ --with-partition \ --with-embedded-server \ --with-big-tables \ --with-comment="MySQL Community Server (GPL)" \ --with-mysqld-ldflags=-static \ --with-client-ldflags=-static \ --with-zlib-dir=bundled \ --enable-assembler \ --enable-local-infile \ --with-fast-mutexes \ --with-mysqld-user=mysql \ --with-unix-socket-path=/var/lib/mysql/mysql.sock \ --with-pic \ --with-extra-charsets=all \ --with-ssl \ --prefix=/usr/local/mysql \ --enable-thread-safe-client \ --with-readline
q4mのmake時のエラー
ha_queue.cc: In function 'void kill_proc(const char*, ...)': ha_queue.cc:168: warning: converting to non-pointer type 'char' from NULL ha_queue.cc: In static member function 'static queue_connection_t* queue_connection_t::current(bool)': ha_queue.cc:1520: error: invalid static_cast from type 'Ha_data' to type 'queue_connection_t*' ha_queue.cc:1523: error: no match for 'operator=' in '_current_thd()->THD::ha_data[queue_hton->handlerton::slot] = conn' /home/hogehoge/mysql-5.1.24-rc/sql/sql_class.h:1105: note: candidates are: Ha_data& Ha_data::operator=(const Ha_data&) ha_queue.cc: In static member function 'static int queue_connection_t::close(handlerton*, THD*)': ha_queue.cc:1532: error: invalid static_cast from type 'Ha_data' to type 'queue_connection_t*' make[2]: *** [libqueue_engine_la-ha_queue.lo] Error 1 make[2]: Leaving directory `/home/hogehoge/q4m-0.4/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/hogehoge/q4m-0.4/src' make: *** [all-recursive] Error 1
あと、5.1.23-rcだとDBD::mysqlがmakeできなかった。
5.1.23でq4mをinstallしたあと、他のサーバからrun_test.pl実行したところ全部passしました