Project

General

Profile

MySQL Problems

Added by Beatrix Willius over 13 years ago

Hi,

I'm trying to use the Mantis Import Script, but mySQL is giving me some troubles. First I had the error message with "Object is not missing constant Issue!". After googling a bit I found the advice to uninstall the gem and reinstall the 64bit version of the gem with

sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql -- --with-mysql-config=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems

But now I get the error message I had before with

ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb --with-mysql-config=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/
extconf.rb:10: command not found: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/ --cflags
  • extconf.rb failed ***

What can I do now? I'm not really a Ruby expert.

Using the current Redmine version with a Bitnami install with Mac OS 10.6.4 on Mac Pro.

Trixi


Replies (2)

RE: MySQL Problems - Added by Felix Schäfer over 13 years ago

That's out of the scope of this forum, sorry, my best advice would be to ask the bitnami guys as their installer should provide everything needed.

You talked about having issues with the mantis script though, does your redmine run fine apart from that? If yes, I'd rather suspect a bug in the mantis script, as redmine uses the mysql gem too, and if redmine works, well, the gem obviously does as well.

RE: MySQL Problems - Added by Beatrix Willius over 13 years ago

Hi Felix,

thanks for the advice. Redmine itself runs okay.

Trixi

    (1-2/2)