Compiling ruby - cannot find install-sh or install.sh

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. :frowning:

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.

路路路

-----Original Message-----
From: Ryan Davis [mailto:ryand-ruby@zenspider.com]
Sent: Monday, May 22, 2006 12:43 PM
To: ruby-talk ML
Subject: Re: Compiling ruby - cannot find install-sh or install.sh

On May 22, 2006, at 8:07 AM, Kris Leech wrote:

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

HAH! Whoops! So it is...

路路路

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

From: Ryan Davis [mailto:ryand-ruby@zenspider.com]
On May 22, 2006, at 8:07 AM, Kris Leech 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.

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. :frowning:

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

--
Nobu Nakada

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 Davis wrote:

路路路

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

From: Ryan Davis [mailto:ryand-ruby@zenspider.com]
On May 22, 2006, at 8:07 AM, Kris Leech 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...

--
Posted via http://www.ruby-forum.com/\.