[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Install of mysql_ruby_2.7 on Solaris

newsgroups

5/7/2006 8:10:00 PM

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

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

2 Answers

Daniel Berger

5/8/2006 1:01:00 AM

0

newsgroups@raincode.net wrote:
> Trying to install mysql_ruby_2.7, obtained from:
> http://tmtm.org/downloads/m...
>
> 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

newsgroups

5/10/2006 9:26:00 PM

0

>> 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