mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* README: update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
320f7e5300
commit
4211e89401
6 changed files with 67 additions and 38 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu May 6 12:12:26 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* README: update.
|
||||||
|
|
||||||
Wed May 5 19:00:01 2010 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
Wed May 5 19:00:01 2010 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
* ext/tk/extconf.rb: revert. enbugged by last commit.
|
* ext/tk/extconf.rb: revert. enbugged by last commit.
|
||||||
|
|
19
README
19
README
|
@ -93,6 +93,25 @@ This is what you need to do to compile and install Ruby:
|
||||||
|
|
||||||
7. Run 'make install'
|
7. Run 'make install'
|
||||||
|
|
||||||
|
This command will create following directories and install files
|
||||||
|
onto them.
|
||||||
|
|
||||||
|
* ${DESTDIR}${prefix}/bin
|
||||||
|
* ${DESTDIR}${prefix}/lib
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}/${PLATFORM}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/site_ruby
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}/${PLATFORM}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/vendor_ruby
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}/${PLATFORM}
|
||||||
|
* ${DESTDIR}${prefix}/share/man/man1
|
||||||
|
|
||||||
|
If Ruby's version is `x.y.z', the ((|${MAJOR}|)) is `x' and the
|
||||||
|
((|${MINOR}|)) is `y'.
|
||||||
|
|
||||||
You may have to be a super user to install ruby.
|
You may have to be a super user to install ruby.
|
||||||
|
|
||||||
If you fail to compile ruby, please send the detailed error report with
|
If you fail to compile ruby, please send the detailed error report with
|
||||||
|
|
22
README.ja
22
README.ja
|
@ -120,6 +120,28 @@ Ruby
|
||||||
|
|
||||||
7. make install
|
7. make install
|
||||||
|
|
||||||
|
以下のディレクトリを作って,そこにファイルをインストー
|
||||||
|
ルします.
|
||||||
|
|
||||||
|
* ${DESTDIR}${prefix}/bin
|
||||||
|
* ${DESTDIR}${prefix}/lib
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}/${PLATFORM}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/site_ruby
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}/${PLATFORM}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/vendor_ruby
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}
|
||||||
|
* ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}/${PLATFORM}
|
||||||
|
* ${DESTDIR}${prefix}/share/man/man1
|
||||||
|
|
||||||
|
RubyのAPIバージョンが`x.y.z'であれば,((|${MAJOR}|))は
|
||||||
|
`x'で,((|${MINOR}|))は`y',((|${TEENY}|))は`z'です.
|
||||||
|
|
||||||
|
注意: APIバージョンのteenyは,Rubyプログラムのバージョ
|
||||||
|
ンとは異なることがあります.
|
||||||
|
|
||||||
rootで作業する必要があるかもしれません.
|
rootで作業する必要があるかもしれません.
|
||||||
|
|
||||||
もし,コンパイル時にエラーが発生した場合にはエラーのログとマ
|
もし,コンパイル時にエラーが発生した場合にはエラーのログとマ
|
||||||
|
|
|
@ -30,7 +30,13 @@
|
||||||
== How to compile and install
|
== How to compile and install
|
||||||
|
|
||||||
(1) Execute bcc32\configure.bat on your build directory.
|
(1) Execute bcc32\configure.bat on your build directory.
|
||||||
ex. c:\ruby-1.6.7>bcc32\configure.bat
|
ex. c:\ruby-1.8.8> bcc32\configure.bat
|
||||||
|
You can specify the target platform as an argument.
|
||||||
|
For example, run `((%configure i686-bccwin32%))'
|
||||||
|
You can also specify the install directory.
|
||||||
|
For example, run `((%configure --prefix=<install_directory>%))'
|
||||||
|
Default of the install directory is /usr .
|
||||||
|
The default ((|<PLATFORM>|)) is `(({i386-bccwin32}))'.
|
||||||
|
|
||||||
(2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
|
(2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
|
||||||
if you want to change the name of the executable files.
|
if you want to change the name of the executable files.
|
||||||
|
@ -41,20 +47,7 @@
|
||||||
|
|
||||||
(4) Run `((%make test%))'
|
(4) Run `((%make test%))'
|
||||||
|
|
||||||
(5) Run `((%make DESTDIR=<install_directory> install%))'
|
(5) Run `((%make install%))'
|
||||||
|
|
||||||
This command will create following directories and install files onto them.
|
|
||||||
* <install_directory>\bin
|
|
||||||
* <install_directory>\lib
|
|
||||||
* <install_directory>\lib\ruby
|
|
||||||
* <install_directory>\lib\ruby\<MAJOR>.<MINOR>
|
|
||||||
* <install_directory>\lib\ruby\<MAJOR>.<MINOR>\<PLATFORM>
|
|
||||||
* <install_directory>\lib\ruby\site_ruby
|
|
||||||
* <install_directory>\lib\ruby\site_ruby\<MAJOR>.<MINOR>
|
|
||||||
* <install_directory>\lib\ruby\site_ruby\<MAJOR>.<MINOR>\<PLATFORM>
|
|
||||||
* <install_directory>\man\man1
|
|
||||||
If Ruby's version is `x.y.z', the ((|<MAJOR>|)) is `x' and the ((|<MINOR>|)) is `y'.
|
|
||||||
The ((|<PLATFORM>|)) is usually `(({i586-bccwin32}))'.
|
|
||||||
|
|
||||||
(6) Requires dynamic RTL (cc3250.dll on C++Builder5) and borlndmm.dll (If built with
|
(6) Requires dynamic RTL (cc3250.dll on C++Builder5) and borlndmm.dll (If built with
|
||||||
usebormm.lib) to use installed binary. These files are ordinary in bcc32's bin
|
usebormm.lib) to use installed binary. These files are ordinary in bcc32's bin
|
||||||
|
@ -90,10 +83,10 @@ in Japanese, but you can download at least.
|
||||||
|
|
||||||
C:
|
C:
|
||||||
cd \ruby
|
cd \ruby
|
||||||
bcc32\configure
|
bcc32\configure --prefix=/usr/local
|
||||||
make
|
make
|
||||||
make test
|
make test
|
||||||
make DESTDIR=/usr/local install
|
make install
|
||||||
|
|
||||||
* Build on the relative directory from the ruby source directory and CPU type
|
* Build on the relative directory from the ruby source directory and CPU type
|
||||||
i386.
|
i386.
|
||||||
|
@ -108,10 +101,10 @@ in Japanese, but you can download at least.
|
||||||
cd \ruby
|
cd \ruby
|
||||||
mkdir bccwin32
|
mkdir bccwin32
|
||||||
cd bccwin32
|
cd bccwin32
|
||||||
..\bcc32\configure target i386-bccwin32
|
..\bcc32\configure --prefix=/usr/local
|
||||||
make
|
make
|
||||||
make test
|
make test
|
||||||
make DESTDIR=/usr/local install
|
make install
|
||||||
|
|
||||||
* Build on the different drive.
|
* Build on the different drive.
|
||||||
|
|
||||||
|
@ -122,10 +115,10 @@ in Japanese, but you can download at least.
|
||||||
|
|
||||||
D:
|
D:
|
||||||
cd D:\build\ruby
|
cd D:\build\ruby
|
||||||
C:\src\ruby\bcc32\configure
|
C:\src\ruby\bcc32\configure --prefix=C:/usr/local
|
||||||
make
|
make
|
||||||
make test
|
make test
|
||||||
make DESTDIR=C:/usr/local install
|
make install
|
||||||
|
|
||||||
== Bugs
|
== Bugs
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.8.8"
|
#define RUBY_VERSION "1.8.8"
|
||||||
#define RUBY_RELEASE_DATE "2010-05-05"
|
#define RUBY_RELEASE_DATE "2010-05-06"
|
||||||
#define RUBY_VERSION_CODE 188
|
#define RUBY_VERSION_CODE 188
|
||||||
#define RUBY_RELEASE_CODE 20100505
|
#define RUBY_RELEASE_CODE 20100506
|
||||||
#define RUBY_PATCHLEVEL -1
|
#define RUBY_PATCHLEVEL -1
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 8
|
#define RUBY_VERSION_TEENY 8
|
||||||
#define RUBY_RELEASE_YEAR 2010
|
#define RUBY_RELEASE_YEAR 2010
|
||||||
#define RUBY_RELEASE_MONTH 5
|
#define RUBY_RELEASE_MONTH 5
|
||||||
#define RUBY_RELEASE_DAY 5
|
#define RUBY_RELEASE_DAY 6
|
||||||
|
|
||||||
#define NO_STRING_LITERAL_CONCATENATION 1
|
#define NO_STRING_LITERAL_CONCATENATION 1
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
== Requirement
|
== Requirement
|
||||||
|
|
||||||
(1) Visual C++ 5.0 or later.
|
(1) Visual C++ 6.0 or later.
|
||||||
|
|
||||||
(2) If you want to run `((%nmake clean%))' or `((%nmake distclean%))'
|
(2) If you want to run `((%nmake clean%))' or `((%nmake distclean%))'
|
||||||
properly, you must install UNIX compatible `((%rm%))' command on
|
properly, you must install UNIX compatible `((%rm%))' command on
|
||||||
|
@ -24,6 +24,10 @@
|
||||||
(1) Execute win32\configure.bat on your build directory.
|
(1) Execute win32\configure.bat on your build directory.
|
||||||
You can specify the target platform as an argument.
|
You can specify the target platform as an argument.
|
||||||
For example, run `((%configure i686-mswin32%))'
|
For example, run `((%configure i686-mswin32%))'
|
||||||
|
You can also specify the install directory.
|
||||||
|
For example, run `((%configure --prefix=<install_directory>%))'
|
||||||
|
Default of the install directory is /usr .
|
||||||
|
The default ((|<PLATFORM>|)) is `(({i386-mswin32}))'.
|
||||||
|
|
||||||
(2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
|
(2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
|
||||||
if you want to change the name of the executable files.
|
if you want to change the name of the executable files.
|
||||||
|
@ -38,19 +42,6 @@
|
||||||
|
|
||||||
(6) Run `((%nmake DESTDIR=<install_directory> install%))'
|
(6) Run `((%nmake DESTDIR=<install_directory> install%))'
|
||||||
|
|
||||||
This command will create following directories and install files onto them.
|
|
||||||
* <install_directory>\bin
|
|
||||||
* <install_directory>\lib
|
|
||||||
* <install_directory>\lib\ruby
|
|
||||||
* <install_directory>\lib\ruby\<MAJOR>.<MINOR>
|
|
||||||
* <install_directory>\lib\ruby\<MAJOR>.<MINOR>\<PLATFORM>
|
|
||||||
* <install_directory>\lib\ruby\site_ruby
|
|
||||||
* <install_directory>\lib\ruby\site_ruby\<MAJOR>.<MINOR>
|
|
||||||
* <install_directory>\lib\ruby\site_ruby\<MAJOR>.<MINOR>\<PLATFORM>
|
|
||||||
* <install_directory>\man\man1
|
|
||||||
If Ruby's version is `x.y.z', the ((|<MAJOR>|)) is `x' and the ((|<MINOR>|)) is `y'.
|
|
||||||
The default ((|<PLATFORM>|)) is `(({i386-mswin32}))'.
|
|
||||||
|
|
||||||
== Icons
|
== Icons
|
||||||
|
|
||||||
Any icon files(*.ico) in the build directory, directories specified with
|
Any icon files(*.ico) in the build directory, directories specified with
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue