请教!ruby连接mysql的问题!!

请教!ruby连接mysql的问题!!

在进行rubyphp?name=%C1%AC%BD%D3" onclick="tagshow(event)" class="t_tag">连接mysql时出现如下问题:
使用的软件包:mysql-ruby-2.7.4
其中包含:extconf.rb文件

运行此文件后出现如下错误:

D:\Program Files\ruby\mysql-ruby-2.7.4>ruby extconf.rb
checking for main() in libmysql.lib... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
   --with-opt-dir
   --without-opt-dir
   --with-opt-include
   --without-opt-include=${opt-dir}/include
   --with-opt-lib
   --without-opt-lib=${opt-dir}/lib
   --with-make-prog
   --srcdir=.
   --curdir
   --ruby=D:/Program Files/ruby/bin/ruby
   --with-mysql-dir
   --without-mysql-dir
   --with-mysql-include
   --without-mysql-include=${mysql-dir}/include
   --with-mysql-lib
   --without-mysql-lib=${mysql-dir}/lib
   --with-libmysqllib
   --without-libmysqllib

请问为什么会出现这种错误啊!??
少了什么包,检查下mkmf.log看看里面的内容。