Compile of Ruby for OS/2

  1. The tool required for make is put in.

    ... the above -- all -- Hobbes -- or -- although it is in leo -- thing required for others It may be がある. A miscellaneous tool is already introduced to our. Since it is, it does not understand well. (^^;;.;

  2. Sauce is developed.
    % gzcat ruby-1.4.3.tar.gz | tar xvf - 
  3. With OS/2 autoconf is done.
    % cd ruby-1.4.3 % sh autoconf 
  4. Before passing configure gcc by which the literal definition is carried out within configure The option (flag) is rewritten.

  5. configure is passed.
    % sh ./configure --prefix=/usr/local 

    Although the cause is unknown, if an argument is not given configure will finish on the way. prefix was given [ (Makefile or config.h is not created, either)'s and ].

  6. It carries out make. The husband who ruby.exe is created and completes.
    % make all 
  7. ruby.exe miniruby.exe It checks that rbconfig.rb is made.
    % dir *.exe % dir *.rb 
  8. test is performed. It checks being displayed as "test succeeded."
    % make test test succeeded 
  9. make install It carries out.
    % make install 

    With configure Since -prefix=/usr/local is given, it is a current drive. A file required for execution is introduced below into \usr\local.

  10. A setup turned OS/2 is carried out. It is a current drive when it performs as the above-mentioned procedure. x : The following procedures are needed when it carries out.
    1. x: \usr\local\bin\ruby.exe It moves to the directory along which PATH passed.
    2. x: \usr\local\lib\ruby Environment variable It sets to RUBYLIB.

E-mail:kenn@hma.att.ne.jp
Last Modified: $Date: 2000/07/09 06:39:51 $