bundle install problem: mysql.h is missing

前端 未结 12 1540
迷失自我
迷失自我 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:49

    Posting this wherever I can--hopefully it will help someone and save them a lot of time.

    I dug through 2 days worth of the internet and Stack Overflow, and it wasn't until I found this link and then starting working through this ticket for mysql2 that I actually resolved the issue.

    With my setup (as explained in the ticket), the compiler switches of -Wno-null-conversion -Wno-unused-private-field would break and give me an error that wasn't exactly correct, which was:

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

提交回复
热议问题