-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL.jruby
82 lines (55 loc) · 2.6 KB
/
INSTALL.jruby
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Requirements
============
Windows XP/7/8 (not tested on Vista), Linux (kernel version 2.4+; tested on
openSuSE 11.3-13.2 and Fedora 13-21).
JRuby 1.5.0+ (probably also works with previous 1.4 versions but not tested)
Download from http://www.jruby.org
JacORB 2.3.1+ (Abstract Interface support requires the latest, >= 3.0, version)
Download from http://www.jacorb.org
Java JRE or JDK 1.5+ (OpenJDK 1.6+ is also supported)
Download from www.java.com
Building R2CORBA Ruby extension
===============================
Preparation
-----------
- verify installation of JRuby (with required gem if necessary) and Java runtime
Simple configuration
--------------------
- download a JacORB binary package
- create a 'jacorb' subdirectory under the 'r2corba' directory created by unpacking
the Ruby2CORBA distribution package
- unpack the JacORB package under the 'jacorb' subdirectory creating 'bin', 'lib',
'etc' and other subdirectories
- configure the build by executing the command:
rake configure
- build the extension by executing the command:
rake build
- verify the extension by executing the command:
rake test
- install the extension by executing the command:
rake install
By default the install task will install R2CORBA in the site specific section of
the JRuby installation.
On Linux default installation may require root access depending on where your
JRuby package is installed.
Customized configuration
-----------------------
Running the command 'rake -- configure --help' will output information showing all
the available options to customize configuration
The optional configure parameter '--jacorb_home=<path>' can be used to specify a
different location of the JacORB tree than under the default
./<r2corba dir>/jacorb directory.
Alternatively the environment variable JACORB_HOME can be set to the JacORB
path. If the configure task cannot find JacORB at ./<r2corba dir>/jacorb and no
'--jacorb_home' parameter is specified it will use the value of this environment
variable if set.
The optional configure parameter '--without-jacorb' will exclude the install steps for the
JacORB libraries (JAR files) from the extension installation process.
This can be used on a system which already has a compatible JacORB version installed
(needs JACORB_HOME to be set to the JacORB install location for R2CORBA to find the
JAR files).
ridl is expected in the ridl subdirectory. This can be overruled using the RIDL_ROOT
environment variable.
NOTE: Please be aware the rake tasks still need an accessible JacORB installation.
Running the command 'rake help' will show information on all common rake tasks.
===***===