@@ -46,8 +46,11 @@ client-server network compatibility applies, which enables connection
46
46
to databases with different versions from the Oracle client library
47
47
version.
48
48
49
- Python 2.7 is needed for node-gyp. Gcc is needed on Linux. On OS X,
50
- install Xcode.
49
+ Gcc is needed on Linux. On OS X, install Xcode. Python 2.7 is needed
50
+ for node-gyp. If another version of Python occurs first in your
51
+ binary path then, when you install node-oracledb, use the ` --python `
52
+ option to indicate the correct version. For example `npm install
53
+ --python=/whereever/python-2.7/bin/python oracledb`.
51
54
52
55
### Which Instructions to Follow
53
56
@@ -85,13 +88,13 @@ extract the file, for example into `/opt`:
85
88
86
89
```
87
90
cd /opt
88
- tar -zxf node-v0.12.4 -linux-x64.tar.gz
91
+ tar -zxf node-v0.12.7 -linux-x64.tar.gz
89
92
```
90
93
91
94
Set PATH to include Node.js:
92
95
93
96
```
94
- export PATH=/opt/node-v0.12.4 -linux-x64/bin:$PATH
97
+ export PATH=/opt/node-v0.12.7 -linux-x64/bin:$PATH
95
98
```
96
99
97
100
### 2.2 Install the free Oracle Instant Client RPMs
@@ -169,13 +172,13 @@ extract the file, for example into `/opt`:
169
172
170
173
```
171
174
cd /opt
172
- tar -zxf node-v0.12.4 -linux-x64.tar.gz
175
+ tar -zxf node-v0.12.7 -linux-x64.tar.gz
173
176
```
174
177
175
178
Set PATH to include Node.js:
176
179
177
180
```
178
- export PATH=/opt/node-v0.12.4 -linux-x64/bin:$PATH
181
+ export PATH=/opt/node-v0.12.7 -linux-x64/bin:$PATH
179
182
```
180
183
181
184
### 3.2 Install the free Oracle Instant Client ZIPs
@@ -285,13 +288,13 @@ extract the file, for example into `/opt`:
285
288
286
289
```
287
290
cd /opt
288
- tar -zxf node-v0.12.4 -linux-x64.tar.gz
291
+ tar -zxf node-v0.12.7 -linux-x64.tar.gz
289
292
```
290
293
291
294
Set your PATH variable to include Node.js:
292
295
293
296
```
294
- export PATH=/opt/node-v0.12.4 -linux-x64/bin:$PATH
297
+ export PATH=/opt/node-v0.12.7 -linux-x64/bin:$PATH
295
298
```
296
299
297
300
### 4.2 Install the driver
@@ -452,7 +455,7 @@ node select1.js
452
455
453
456
To run a database on OS X, one option is to use VirtualBox,
454
457
see
455
- [ The Easiest Way to Enable Oracle Database Application Development on Mac OS X] ( https://blogs.oracle.com/opal/entry/the_easiest_way_to_enable ) .
458
+ [ The Easiest Way to Install Oracle Database on Mac OS X] ( https://blogs.oracle.com/opal/entry/the_easiest_way_to_enable ) .
456
459
457
460
## <a name =" instwin " ></a > 6. Node-oracledb Installation on Windows
458
461
@@ -474,7 +477,7 @@ use a 32-bit stack during build and run time.
474
477
475
478
### 6.2 Install Node.js
476
479
477
- Install the 64-bit Node.js MSI (e.g. node-v0.12.4 -x64.msi) from
480
+ Install the 64-bit Node.js MSI (e.g. node-v0.12.7 -x64.msi) from
478
481
[ nodejs.org] ( http://nodejs.org/download/ ) . Make sure the option to
479
482
add the Node and npm directories to the path is selected.
480
483
0 commit comments