You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+237-3Lines changed: 237 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ limitations under the License.
25
25
6.[Node-oracledb Installation on Windows](#instwin)
26
26
7.[Copying node-oracledb Binaries on Windows](#winbins)
27
27
8.[Advanced Installation on Linux](#linuxadv)
28
+
9.[Node-oracledb Installation on AIX.PPC64 with Instant Client ZIP files](#instaix)
29
+
10.[Node-oracledb Installation on SOLARIS.X64 with Instant Client ZIP files](#instsolarisamd)
28
30
29
31
## <aname="overview"></a> 1. Overview
30
32
@@ -65,9 +67,10 @@ Instructions may need to be adjusted for your platform and environment.
65
67
66
68
I have ... | Follow this ...
67
69
----------|-----------------
68
-
Linux. My database is on another machine. | [Node-oracledb Installation on Linux with Instant Client RPMs](#instrpm)
69
-
Solaris or AIX. My database is on another machine. | [Node-oracledb Installation on Linux with Instant Client ZIP files](#instzip)
70
-
Linux, Solaris or AIX. My database is on the same machine. | [Node-oracledb Installation on Linux with a Local Database](#instoh)
70
+
Linux. My database is on another machine. | [Node-oracledb Installation on Linux with Instant Client RPMs](#instrpm), [Node-oracledb Installation on Linux with Instant Client ZIP files](#instzip)
71
+
AIX. My database is on another machine. | [Node-oracledb Installation on AIX.PPC64 with Instant Client ZIP files](#instaix)
72
+
Solaris.x64. My database is on another machine. | [Node-oracledb Installation on SOLARIS.X64 with Instant Client ZIP files](#instsolarisamd)
73
+
Linux, Solaris or AIX. My database is on the same machine. | [Node-oracledb Installation on Linux with a Local Database](#instoh)
71
74
Linux, Solaris or AIX. I have the full Oracle client (installed via runInstaller) on the same machine. | [Node-oracledb Installation on Linux with a Local Database](#instoh)
72
75
Apple OS X | [Node-oracledb Installation on OS X with Instant Client](#instosx)
73
76
Windows | [Node-oracledb Installation on Windows](#instwin)
The *configure* file, *common.gypi* file and *Makefile* are not handled for the Solaris.x64 platform.
872
+
873
+
For Solaris.x64, the processor is 'i386'.
874
+
By default, inside the *configure* file, 'i386' is set to 'ia32' which is for 32 bit architecture.
875
+
If the installation is performed on a 64 bit architecture, 'i386' should be set to 'x64' instead of 'ia32'.
876
+
877
+
```
878
+
matchup = {
879
+
...
880
+
'__i386__' : 'x64',
881
+
...
882
+
```
883
+
884
+
Accordingly, the changes should be made in *common.gypi* so that the 'x64' target architecture point to 'i386', which is setup in the above step.
885
+
886
+
```
887
+
target_arch=="x64"', {
888
+
'xcode_settings': {'ARCHS': ['i386']},
889
+
```
890
+
891
+
Also changes have to be done in *Makefile*
892
+
893
+
```
894
+
ifeq ($(DESTCPU),arm)
895
+
...
896
+
else
897
+
ARCH=x64
898
+
...
899
+
```
900
+
Node.js binaries for Solaris.x64 are available on Node.js site ('node-v*-sunos-x64.tar'- which just needs extracting the tar files and the software will be installed).
901
+
However, even simple Node.js program will fail when installing through these binaries.
902
+
So install Node.js engine by compiling and building the source code with the steps and changes as mentioned above.
0 commit comments