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: README.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Async APIs return promises if callback function is not used. Async APIs supports
23
23
24
24
- Make sure your system has C++ compiler installed that support C++11 standard.
25
25
26
-
- For non-windows platforms: gcc compiler version >= 8.4 is required to install `ibm_db`. Default compiler on RHEL 6 does not have the required support.
26
+
- For non-windows platforms: gcc compiler version >= 8.4 and `make`is required to install `ibm_db`. Default compiler on RHEL 6 does not have the required support.
27
27
Install a newer compiler or upgrade older one.
28
28
29
29
- For Windows: compiler is optional as `ibm_db` comes with pre-compiled binary on Windows64 for node.js version >= 12.x. To compile code on Windows, VC++ 2015.3 v14.00 (v140) or Visual Studio 2017 is required.
@@ -34,7 +34,7 @@ Install a newer compiler or upgrade older one.
34
34
35
35
-**For Windows Subsystem for Linux (WSL):** Install `build-essentials` package before installing `ibm_db`.
36
36
37
-
-**For MacOS:** Install XCode from appstore before installing `ibm_db`. Also, gcc@8 is required.
37
+
-**For MacOS:** Install XCode from appstore before installing `ibm_db`. Also, gcc@8 and `make`is required.
38
38
39
39
- On distributed platforms, you do need not to install any Db2 ODBC client driver for connectivity. `ibm_db` itself downloads and installs an odbc/cli driver from IBM website during installation. Just install `ibm_db` and it is ready for use.
40
40
@@ -43,6 +43,8 @@ Install a newer compiler or upgrade older one.
43
43
- On z/OS and other non-Windows platform, `GNU make` is required to install `ibm_db`. Execute `make -v` command before installing `ibm_db` to make sure you have correct `make` set in PATH.
44
44
45
45
- On z/OS only certain versions of node-gyp are supported. This was tested with:<br>
46
+
z/OS v2.4
47
+
Db2 v12.0
46
48
node-gyp 3.4.0<br>
47
49
npm 3.10.10<br>
48
50
ibm_db: 2.8.1
@@ -51,7 +53,7 @@ ibm_db: 2.8.1
51
53
52
54
- For Node.js >= V15.x on RHEL and RHEL 8.x, GCC v8.2.1 is required.
53
55
54
-
- The latest node.js version using which `ibm_db` is tested: **20.7.0**
56
+
- The latest node.js version using which `ibm_db` is tested: **21.2.0**
To install using **specific version of clidriver** from https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/:
@@ -511,6 +513,15 @@ flag `DEBUG` to the defines section of the `binding.gyp` file and then execute
511
513
],
512
514
<snip>
513
515
```
516
+
OR,
517
+
```
518
+
cd ibm_db
519
+
npm install --debug
520
+
```
521
+
522
+
Above two method will enable debugging messages from C++ code. You can enable
523
+
debugging messages from nodejs code by calling [ibmdb.debug(true)](https://github.com/ibmdb/node-ibm_db/blob/master/APIDocumentation.md#-38-debugvalue)
524
+
api from your application.
514
525
515
526
### Unicode
516
527
@@ -566,7 +577,7 @@ define in `binding.gyp`
566
577
567
578
## Tips
568
579
569
-
### Using node < v0.10 on Linux
580
+
### Using more than 4 threads on Linux
570
581
571
582
Be aware that through node v0.9 the uv_queue_work function, which is used to
572
583
execute the ODBC functions on a separate thread, uses libeio for its thread
0 commit comments