# Gem install mysql error MySQL native bindings for rub on ppc

**URL:** <https://www.ruby-forum.com/t/gem-install-mysql-error-mysql-native-bindings-for-rub-on-ppc/107657>\
**Category:** Rails\
**Created:** [June 24, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-error-mysql-native-bindings-for-rub-on-ppc/107657 "2007-06-24T21:37:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kortina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/977dab/32.png) [@kortina](https://www.ruby-forum.com/u/kortina)\
**Post date:** [June 24, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-error-mysql-native-bindings-for-rub-on-ppc/107657/1 "2007-06-24T21:37:35Z")

</div>

Install went fine until the “Install MySQL native bindings for ruby”

Select which gem to install for your platform (powerpc-darwin8.0)

1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation

> 3  
> Building native extensions. This could take a while…  
> ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)  
> ERROR: Failed to build gem native extension.

ruby extconf.rb install mysql – --with-mysql-dir=/usr/local/mysql  
can’t find header files for ruby.
