# Problem with mysql gem installation

**URL:** <https://www.ruby-forum.com/t/problem-with-mysql-gem-installation/160041>\
**Category:** Ruby\
**Created:** [February 11, 2009, 8:32am UTC](https://www.ruby-forum.com/t/problem-with-mysql-gem-installation/160041 "2009-02-11T08:32:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fannus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/db5fbb/32.png) [@fannus](https://www.ruby-forum.com/u/fannus)\
**Post date:** [February 11, 2009, 8:32am UTC](https://www.ruby-forum.com/t/problem-with-mysql-gem-installation/160041/1 "2009-02-11T08:32:02Z")

</div>

Hi. So, I reached the point in my learning Ruby where I’d like to start  
doing work with actual web applications. My server, setup in Debian  
Lenny (Unstable), doesn’t seem to like the MySQL gem: Upon researching  
it, I found plenty of problems very similar to mine. However, none of  
the solutions that I found (Changing the path for config/dir, getting  
development library for mysql and perhaps something else that I can’t  
even remember now.) actually accomplished anything… I mean, the size  
of all the shit going down when I try to install has definetely gotten  
better.  
But I still can’t do it.  
HOWEVER. I installed libmysql-ruby from Synaptic/apt. As much as I hate  
leaving a problem in a workaround state, does this work? What do I  
require = ’ ’ to be able to call upon that lib?  
I’m a relative newbie to both Ruby and Linux. (And I will consider  
myself a linux newbie until every time I try to do something I can do it  
without 60,000 errors, misconfigurations and missing dependencies.)  
Thanks a lot. 🙂

Cameron C.

((  
Error:  
[gem install mysql; gem install mysql –  
–with-mysql-config=/usr/bin/mysql\_config]  
Building native extensions. This could take a while…  
ERROR: Error installing mysql:  
ERROR: Failed to build gem native extension.  
/usr/bin/ruby1.8 extconf.rb install mysql –  
–with-mysql-config=/usr/bin/mysql\_config  
checking for mysql\_ssl\_set()… yes  
checking for mysql.h… yes  
creating Makefile

make  
sh: make: command not found

Gem files will remain… snipsnipsnip… results posted gem\_make.out  
))
