@@ -9,26 +9,26 @@ GridDB Python Client is developed using GridDB C Client and [SWIG](http://www.sw
99Building of the library and execution of the sample programs have been checked in the following environment.
1010
1111 OS: CentOS 7.6(x64) (GCC 4.8.5)
12- SWIG: 3 .0.12
13- Python: 3.6
12+ SWIG: 4 .0.2
13+ Python: 3.9
1414 GridDB C client: V4.5 CE(Community Edition)
1515 GridDB server: V4.5 CE, CentOS 7.6(x64) (GCC 4.8.5)
1616
1717 OS: Ubuntu 18.04(x64) (gcc 7.3.0)
18- SWIG: 3 .0.12
19- Python: 3.6
18+ SWIG: 4 .0.2
19+ Python: 3.9
2020 GridDB C client: V4.5 CE (Note: If you build from source code, please use GCC 4.8.5.)
2121 GridDB server: V4.5 CE, Ubuntu 18.04(x64) (Note: If you build from source code, please use GCC 4.8.5.)
2222
2323 OS: Windows 10(x64) (VS2017)
24- SWIG: 3 .0.12
25- Python: 3.6
24+ SWIG: 4 .0.2
25+ Python: 3.9
2626 GridDB C client: V4.5 CE
2727 GridDB server: V4.5 CE, CentOS 7.6(x64) (GCC 4.8.5)
2828
2929 OS: MacOS Catalina (x86_64)
30- SWIG: 3 .0.12
31- Python: 3.6. 9
30+ SWIG: 4 .0.2
31+ Python: 3.9
3232 GridDB C client: V4.5 CE
3333 GridDB server: V4.5 CE, Centos 7.6(x64) (GCC 4.8.5)
3434
@@ -37,9 +37,10 @@ Building of the library and execution of the sample programs have been checked i
3737
3838Install SWIG as below.
3939
40- $ wget https://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz
41- $ tar xvfz swig-3.0.12.tar.gz
42- $ cd swig-3.0.12
40+ $ wget https://github.com/swig/swig/archive/refs/tags/v4.0.2.tar.gz
41+ $ tar xvfz v4.0.2.tar.gz
42+ $ cd swig-4.0.2
43+ $ ./autogen.sh
4344 $ ./configure
4445 $ make
4546 $ sudo make install
@@ -114,9 +115,10 @@ Note: X.X.X is the software version.
114115
115116Install SWIG as below.
116117
117- $ wget https://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz
118- $ tar xvfz swig-3.0.12.tar.gz
119- $ cd swig-3.0.12
118+ $ wget https://github.com/swig/swig/archive/refs/tags/v4.0.2.tar.gz
119+ $ tar xvfz v4.0.2.tar.gz
120+ $ cd swig-4.0.2
121+ $ ./autogen.sh
120122 $ ./configure
121123 $ make
122124 $ sudo make install
@@ -141,8 +143,8 @@ Modify **Makefile** to make python_client compatible with MacOS:
141143- Change python include path and numpy include path on MacOS. For example:
142144 ```bash
143145 INCLUDES_PYTHON = $(INCLUDES) \
144- -I$(HOME)/.pyenv/versions/3.6.9 /include/python3.6m \
145- -I$(HOME)/.pyenv/versions/3.6.9 /lib/python3.6 /site-packages/numpy/core/include
146+ -I$(HOME)/.pyenv/versions/3.9.5 /include/python3.9 \
147+ -I$(HOME)/.pyenv/versions/3.9.5 /lib/python3.9 /site-packages/numpy/core/include
146148 ```
147149
148150- Remove "-Llibs -lrt" (not support on MacOS) from LDFLAGS on Makefile
0 commit comments