Forum: Ruby install redmine on sun sparc solaris 10

Posted by oscarpa oscarpa (oscar_paral)
on 2012-08-17 16:41
Attachment: CommandInstallRedmain1.txt (5,92 KB)
Attachment: Salida_gem_make.txt (1,95 KB)
Attachment: ErrorenInstalacionRedmine.jpg (174 KB)
We need to install redmine 2.0.3

The version are (SO,ruby,gem,rake,mysql):
   # uname -a
   SunOS CF-INTEGRA 5.10 Generic_137137-09 sun4u sparc SUNW,UltraAX-i2
   # pwd
   /export/home/webstart/redmine-2.0.3
   # ruby -v
   ruby 1.8.7 (2011-02-18 patchlevel 334) [sparc-solaris2.9]
   # gem -v
   1.8.21
   # rake -V
   rake, version 0.8.7
   # bundle -v
   Bundler version 1.1.5
   # head /usr/local/mysql/README
   MySQL Server 5.1


In the step 2. "Installation procedure":   bundle install --without
development test postgresql sqlite rmagick
Display this error...

Using json (1.7.4)
Installing mysql (2.8.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.

/opt/csw/bin/ruby18 extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no
*** 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.

Any sugestion?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.