Install of mysql_ruby_2.7 on Solaris

N

newsgroups

Trying to install mysql_ruby_2.7, obtained from:
http://tmtm.org/downloads/mysql/ruby/

Solaris 2.9
Ruby 1.8.4

I can successfully make it through the extconf.rb, and the "make". But
upon running "make install" I am getting:

[root@mymachine mysql-ruby-2.7]$make install
../install-sh -c -m 0755 mysql.so
/usr/local/lib/ruby/site_ruby/1.8/sparc-solaris2.9
sh: ./install-sh: not found
*** Error code 1
make: Fatal error: Command failed for target
`/usr/local/lib/ruby/site_ruby/1.8/spa rc-solaris2.9/mysql.so'


Not sure where to go from here. If my headers were not correct, I
believe I would have not made it through the "make" task.

Anyone successfully install mysql_ruby_xx on a Solaris box?

Thanks,
Rob
 
D

Daniel Berger

Trying to install mysql_ruby_2.7, obtained from:
http://tmtm.org/downloads/mysql/ruby/

Solaris 2.9
Ruby 1.8.4

I can successfully make it through the extconf.rb, and the "make". But
upon running "make install" I am getting:

[root@mymachine mysql-ruby-2.7]$make install
./install-sh -c -m 0755 mysql.so
/usr/local/lib/ruby/site_ruby/1.8/sparc-solaris2.9
sh: ./install-sh: not found
*** Error code 1
make: Fatal error: Command failed for target
`/usr/local/lib/ruby/site_ruby/1.8/spa rc-solaris2.9/mysql.so'


Not sure where to go from here. If my headers were not correct, I
believe I would have not made it through the "make" task.

Anyone successfully install mysql_ruby_xx on a Solaris box?

Thanks,
Rob

Ruby's Makefile generation is broken on Solaris since 1.8.3. This has
been reported but not yet fixed.

One solution is to find where your install-sh program lives (if you
have automake, you should have it somewhere). Make sure it's in your
path. Then hand edit your Makefile and replace "./install-sh" with
just "install-sh".

That should do the trick.

Regards,

Dan
 
N

newsgroups

Regarding: Install of mysql_ruby_2.7 on Solaris
Ruby's Makefile generation is broken on Solaris since 1.8.3. This has
been reported but not yet fixed.

One solution is to find where your install-sh program lives (if you
have automake, you should have it somewhere). Make sure it's in your
path. Then hand edit your Makefile and replace "./install-sh" with
just "install-sh".

That should do the trick.

Regards,

Dan

Yes, it did. I am up and running.

Thanks for the help Dan.
Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top