Skip to content

Commit b10f163

Browse files
committed
update README.md for Node.js V8/V10 with SWIG 4.0.0
1 parent 0bb5e69 commit b10f163

File tree

1 file changed

+8
-21
lines changed

1 file changed

+8
-21
lines changed

README.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ GridDB Node.JS Client is developed using GridDB C Client and [SWIG](http://www.s
88

99
Building of the library and execution of the sample programs have been checked in the following environment.
1010

11-
OS: CentOS 6.9(x64)
12-
SWIG: 3.0.12
13-
GCC: 4.8.2
14-
Node.js: 6
11+
OS: CentOS 7.6(x64)
12+
SWIG: 4.0.0
13+
GCC: 4.8.5
14+
Node.js: v8/v10
1515
GridDB Server and C Client: 4.1 CE
1616

1717
## QuickStart
@@ -26,30 +26,17 @@ Install SWIG as below.
2626
$ make
2727
$ make install
2828

29-
$ wget https://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz
30-
$ tar xvfz swig-3.0.12.tar.gz
31-
$ cd swig-3.0.12
29+
$ wget https://prdownloads.sourceforge.net/swig/swig-4.0.0.tar.gz
30+
$ tar xvfz swig-4.0.0.tar.gz
31+
$ cd swig-4.0.0
3232
$ ./configure
3333
$ make
3434
$ make install
3535

36-
Install Node.js v6.
36+
Install Node.js(v8 or v10) and GridDB C Client.
3737

3838
If required, change INCLUDES_JS path in Makefile.
3939

40-
Install gcc 4.8 as below.
41-
42-
1. Use python version 2:
43-
$ pyenv global 2.7.8
44-
$ pyenv rehash
45-
2. Install devtoolset-2:
46-
$ wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo
47-
$ yum install devtoolset-2-gcc devtoolset-2-binutils
48-
$ yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran
49-
3. Enable devtoolset-2:
50-
scl enable devtoolset-2 bash
51-
source /opt/rh/devtoolset-2/enable
52-
5340
Set LIBRARY_PATH.
5441

5542
export LIBRARY_PATH=$LIBRARY_PATH:<C client library file directory path>

0 commit comments

Comments
 (0)