Skip to content

Commit 4f36b36

Browse files
committed
update for SWIG 4.0
1 parent 58841cb commit 4f36b36

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GridDB PHP Client is developed using GridDB C Client and [SWIG](http://www.swig.
99
Building of the library and execution of the sample programs have been checked in the following environment.
1010

1111
OS: CentOS 7.4(x64)
12-
SWIG: The development (master) version (commit ID 3bea8f6b7e0449946c12a0ce2c5aa893d6026883)
12+
SWIG: 4.0.0
1313
GCC: 4.8.5
1414
PHP: 7
1515
GridDB Server: 3.0 (CE)
@@ -20,19 +20,17 @@ Building of the library and execution of the sample programs have been checked i
2020

2121
Install SWIG as below.
2222

23-
$ wget https://sourceforge.net/projects/pcre/files/pcre/8.39/pcre-8.39.tar.gz
24-
$ tar xvfz pcre-8.39.tar.gz
25-
$ cd pcre-8.39
23+
$ wget https://prdownloads.sourceforge.net/swig/swig-4.0.0.tar.gz
24+
$ tar xvfz swig-4.0.0.tar.gz
25+
$ cd swig-4.0.0
2626
$ ./configure
2727
$ make
28-
$ make install
28+
$ sudo make install
29+
30+
Note: If CentOS, you might need to install pcre in advance.
31+
$ sudo yum install pcre2-devel.x86_64
2932

30-
$ git clone https://github.com/swig/swig
31-
$ cd swig
32-
$ ./autogen.sh
33-
$ ./configure
34-
$ make
35-
$ make install
33+
Install PHP7 and GridDB C Client.
3634

3735
Set LIBRARY_PATH.
3836

0 commit comments

Comments
 (0)