[ruby-talk:00228] Re: [ruby-dev:4971] Ruby 1.3.1-990210

From: ttate@...
Date: 1999-02-10 13:18:30 UTC
List: ruby-talk #228
Date: Wed, 10 Feb 1999 21:38:49 +0900 (JST)
From: gotoken@math.sci.hokudai.ac.jp (GOTO Kentaro)
gotoken>    When I was compiling after `configure --program-suffix="-1.3"', 
gotoken>    it failed in the `make install' stage as the file `ruby' not found.  
gotoken>    I fixed as follows:

Thanks.
But I've mistaken. you need the following additional patch
to compile with `--program-suffix`.

			Takaaki Tateishi <ttate@jaist.ac.jp>


--- extmk.rb.in.orig	Wed Feb 10 21:59:39 1999
+++ extmk.rb.in	Wed Feb 10 22:00:32 1999
@@ -561,9 +561,9 @@
   system format('make ruby@binsuffix@ EXTOBJS="%s" EXTLIBS="%s"', $extobjs, $extlibs)
 else
   Dir.chdir ".."
-  if older("@RUBY_INSTALL_NAME@@binsuffix@", "miniruby@binsuffix@")
-    `rm -f @RUBY_INSTALL_NAME@@binsuffix@`
-    system("make @RUBY_INSTALL_NAME@@binsuffix@")
+  if older("ruby@binsuffix@", "miniruby@binsuffix@")
+    `rm -f ruby@binsuffix@`
+    system("make ruby@binsuffix@")
   end
 end
 

In This Thread

Prev Next