Not sure about CentOS but whenever I get an extconf.rb error in Ubuntu the fix is:
sudo apt-get install ruby<version>-dev Again not sure if that will solve your problem on CentOS just throwing it out there (thinking out loud). -Josh On Thu, Oct 29, 2009 at 11:34 PM, Guyren G Howe <[email protected]> wrote: > > On Oct 29, 2009, at 9:58 , Jason King wrote: > > > It will never work if it can't find mysql.h I'm wondering if you're > > pointing to the right mysql_config. > > > > Run: > > /usr/bin/mysql_config --include > > > > Then see if there's a mysql.h in the directory that is returned. If > > not then my guess is that mysql-devel installed a different > > mysql_config and you need to point to that so that it references the > > right include location for the headers. > > > Thanks, but that's not it: > > [r...@localhost tmp]# /usr/bin/mysql_config --include > -I/usr/include/mysql > [r...@localhost tmp]# ls /usr/include/mysql > chardefs.h keymaps.h my_config.h my_global.h > mysql_com.h mysql_time.h readline.h sql_common.h > tilde.h > decimal.h m_ctype.h my_config_x86_64.h my_list.h > mysqld_ername.h mysql_version.h rlmbutil.h sql_state.h > typelib.h > errmsg.h m_string.h my_dbug.h my_net.h > mysqld_error.h my_sys.h rlprivate.h sslopt-case.h > xmalloc.h > history.h my_alloc.h my_dir.h my_no_pthread.h > mysql_embed.h my_xml.h rlshell.h sslopt-longopts.h > keycache.h my_attribute.h my_getopt.h my_pthread.h > mysql.h raid.h rltypedefs.h sslopt-vars.h > > > Regards, > > Guyren G Howe > Relevant Logic LLC > > guyren-at-relevantlogic.com ~ http://relevantlogic.com ~ +1 512 784 3178 > > Ruby/Rails, REALbasic, PHP programming > PostgreSQL, MySQL database design and consulting > Technical writing and training > > Read my book, Real OOP with REALbasic: < > http://relevantlogic.com/oop-book/about-the-oop-book.php > > > > > > > --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---
