bundle install problem: mysql.h is missing

前端 未结 12 1517
迷失自我
迷失自我 2020-12-07 17:02

in my mac OSX 10.6 32 bit, I can install mysql2 gem quite easily, but not in mini mac 10.6 64bit server.

I have installed MySQL 5.5.11 in troublesome server, while i

12条回答
  •  隐瞒了意图╮
    2020-12-07 17:54

    I did a bundle install on a redmine repo and got the same error message :

    mysql.h is missing. please check your installation of mysql and try again.

    Running Fedora 16 64 bits, all I did was install mysql-devel (development package) from the distro rpm and the problem was solved!

    So I think you could just

    yum install mysql-devel
    

    or apt-get the missing devel package.

提交回复
热议问题