From: Ryutaro Amano Date: 2007-02-16T20:40:37+09:00 Subject: [ruby-list:43186] mysql-ruby-2.7.3_OSX 天野と申します。 $ ruby -v ruby 1.8.5 (2006-12-25 patchlevel 12) [powerpc-darwin8.8.0]です。 MySQL-5.0.27 をソースからインストール後mysql-ruby-2.7.3を インストールすると以下のエラーになります。 $ ruby extconf.rb --with-mysql-dir=/usr/local/mysql checking for mysql_query() in -lmysqlclient... yes checking for mysql_ssl_set()... yes checking for mysql.h... no checking for mysql/mysql.h... yes creating Makefile [20:16:07 ryutaro:~/rubysrc/mysql-ruby-2.7.3] $ make gcc -I. -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.8.0 -I. - DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_MYSQL_H -I/usr/local/mysql/include - fno-common -g -O2 -fno-common -pipe -fno-common -c mysql.c mysql.c: In function ‘Init_mysql’: mysql.c:2018: error: ‘ulong’ undeclared (first use in this function) mysql.c:2018: error: (Each undeclared identifier is reported only once mysql.c:2018: error: for each function it appears in.) mysql.c:2018: error: parse error before numeric constant mysql.c:2021: error: parse error before numeric constant make: *** [mysql.o] Error 1 2.7.2や2.7.1でも同じようなエラーです。 以前の備忘録を見ると 5.0.22+mysql-ruby-2.7.1では問題は起きていないのですが、どのあた りに問題があるのでしょうか? Ryutaro Amano wn9r-amn@asahi-net.or.jp