# Re: Compiling ruby - cannot find install-sh or install.sh

**URL:** <https://www.ruby-forum.com/t/re-compiling-ruby-cannot-find-install-sh-or-install-sh/95139>\
**Category:** Ruby\
**Created:** [May 22, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/re-compiling-ruby-cannot-find-install-sh-or-install-sh/95139 "2006-05-22T21:06:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [May 22, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/re-compiling-ruby-cannot-find-install-sh-or-install-sh/95139/1 "2006-05-22T21:06:51Z")

</div>

> > I’ve compiled ruby in the past using MingGW / MSYS on  
> > Windows, but for  
> > some reason I’m now getting an error when doing the “./configure”  
> > command, which is “configure: error: cannot find install-sh or  
> > install.sh” using a fresh download of ruby 1.8.4.
> > 
> > I can’t find the file, is it part of the ruby source or the  
> > compiler?
> 
> It is sitting in cvs:

Except that it’s a 0 byte file that hasn’t been updated since August 13,  
1999, unless I’m missing something.

For Solaris I just used the install-sh that was shipped with automake.  
However, I have to hand edit the Makefile to change “./install-sh” to  
just “install-sh” to make things work. ☹

Dan

This communication is the property of Qwest and may contain confidential  
or  
privileged information. Unauthorized use of this communication is  
strictly  
prohibited and may be unlawful. If you have received this communication  
in error, please immediately notify the sender by reply e-mail and  
destroy  
all copies of the communication and any attachments.

---

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [May 23, 2006, 1:54am UTC](https://www.ruby-forum.com/t/re-compiling-ruby-cannot-find-install-sh-or-install-sh/95139/2 "2006-05-23T01:54:29Z")

</div>

On May 22, 2006, at 12:05 PM, Berger, Daniel wrote:

> > From: Ryan D. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
> > On May 22, 2006, at 8:07 AM, Kris L. wrote:  
> > It is sitting in cvs:
> 
> Except that it’s a 0 byte file that hasn’t been updated since  
> August 13,  
> 1999, unless I’m missing something.

HAH! Whoops! So it is…

---

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [May 23, 2006, 12:46pm UTC](https://www.ruby-forum.com/t/re-compiling-ruby-cannot-find-install-sh-or-install-sh/95139/3 "2006-05-23T12:46:45Z")

</div>

I downloaded an install.sh it works. They must be kinda generic.  
My previous ruby src downloads came with a install.sh… Maybe it needs  
putting back?

Ryan D. wrote:

> On May 22, 2006, at 12:05 PM, Berger, Daniel wrote:
> 
> > > From: Ryan D. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
> > > On May 22, 2006, at 8:07 AM, Kris L. wrote:  
> > > It is sitting in cvs:
> > 
> > Except that it’s a 0 byte file that hasn’t been updated since  
> > August 13,  
> > 1999, unless I’m missing something.
> 
> HAH! Whoops! So it is…

---

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [May 23, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/re-compiling-ruby-cannot-find-install-sh-or-install-sh/95139/4 "2006-05-23T19:17:39Z")

</div>

Hi,

At Tue, 23 May 2006 04:05:54 +0900,  
Berger, Daniel wrote in [ruby-talk:193957]:

> Except that it’s a 0 byte file that hasn’t been updated since August 13,  
> 1999, unless I’m missing something.

It is there just because autoconf requires it. But since it  
isn’t installed so it isn’t usable to install extensions later.

> For Solaris I just used the install-sh that was shipped with automake.  
> However, I have to hand edit the Makefile to change “./install-sh” to  
> just “install-sh” to make things work. ☹

I expect that the problem on Solaris would solve by clearing  
ac\_install\_sh after AC\_CANONICAL\_TARGET. But I’m not sure  
about Kris’es issue, why configure can’t find install-sh file.

# Index: configure.in

RCS file: /cvs/ruby/src/ruby/configure.in,v  
retrieving revision 1.212.2.46  
diff -p -U2 -r1.212.2.46 configure.in  
— configure.in 20 Mar 2006 03:07:21 -0000 1.212.2.46  
+++ configure.in 23 May 2006 15:43:15 -0000  
@@ -74,4 +74,5 @@ fi  
AC\_CANONICAL\_TARGET  
target\_os=`echo $target_os | sed 's/linux-gnu$/linux/;s/linux-gnu/linux-/'`  
+ac\_install\_sh=’’ # unusable for extension libraries.

dnl checks for fat-binary
