Project

General

Profile

Problem in installing Redmine on Solaris10-sparc

Added by Ankush Abat almost 14 years ago

I know that this may not be a Redmine specific issue but i am sure a lot of people would have faced it during Redmine installation. I am trying to set-up Redmine on Solaris10-sparc. I followed the instructions exactly as given on official Redmine installation page (http://www.redmine.org/wiki/redmine/RedmineInstall)

Now while doing " RAILS_ENV=production rake db:migrate ",I get the following error : ==============================================================================
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql ==================================================================
So, following the advice I got in the error above, i try to do "gem install mysql", and then I am getting the following error : ====================================================================================
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb
checking for mysql_ssl_set()... no
checking for rb_str_set_len()... no
checking for rb_thread_start_timer()... no
checking for mysql.h... no
checking for mysql/mysql.h... no

Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql-2.8.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out ============================================================================================
I have tried all the options with "gem install mysql" like --with-mysql-dir/--with-mysql-config/--with-mysql-include etc.. But all invain..

Anybody please help !! as I am stuck here badly ...

Also, I have following gems installed already :
  • LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
net-scp (1.0.4)
net-ssh (2.0.23)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)

Any advise would be really helpful !!

Thanks,
Ankush


Replies (1)

RE: Problem in installing Redmine on Solaris10-sparc - Added by Felix Schäfer almost 14 years ago

I'm no expert in solaris things, but do you have the dev package (or equivalent) of mysql installed?

Anyway, you could also swing by IRC and ask meineerde about that, he's a solaris user too IIRC.

    (1-1/1)