SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Removing all MYSQL instances on mac osx

    Hello all,

    I am trying to switch from sqllite3 to mysql on Ruby on Rails.

    Whenever I try to install the mysql gem, i get an error:

    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of
    necessary libraries and/or headers. Check the mkmf.log file for more
    details. You may need configuration options.

    I cd'd into my usr/local/bin directory and saw i have several mysql installs, and am thinking i've probably removed something along the way, and this it the problem.

    Please can someone explain how to delete all instances of mysql so I can re-install?

    Or - does someone know what i need to do to avoid this error?

    I have installed mysql-5.1.37-osx10.5-x86 as I am running Leopard 10.5.7

    ANy ideas to get me running on mysql?

    Many Thanks

  2. #2
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know a lot about mac os, but is there a dev-package? Otherwise, what's in mkmf.log?

  3. #3
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not 100% sure what i'd be looking for in that file, or what to amend wen i'm there.
    (i'm new to this)

    Can anyone suggest the best way to remove all Mysql references from a mac osx (10.5) + machine?
    I think i'll go down this route, and then start the installation again.

    cheers.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •