File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ sudo apt-get install -y \
8
8
pkg-config \
9
9
git-core \
10
10
autoconf \
11
- bison \
12
11
libxml2-dev \
13
12
libbz2-dev \
14
13
libmcrypt-dev \
@@ -22,6 +21,26 @@ sudo apt-get install -y \
22
21
libreadline-dev \
23
22
re2c
24
23
24
+
25
+ # https://bugs.php.net/bug.php?id=69055
26
+ sudo apt-get purge bison
27
+
28
+ sudo apt-get install -y build-essential m4
29
+
30
+ wget http://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz
31
+ tar -xvf bison-2.7.tar.gz
32
+ rm bison-2.7.tar.gz
33
+ cd bison-2.7
34
+
35
+ ./configure --prefix=/usr/local/bison --with-libiconv-prefix=/usr/local/libiconv/
36
+
37
+ make
38
+ sudo make install
39
+
40
+ sudo ln -sf /usr/local/bison/bin/bison /usr/bin/bison
41
+ sudo ln -sf /usr/local/bison/bin/yacc /usr/bin/yacc
42
+
43
+
25
44
sudo mkdir /usr/local/php5
26
45
27
46
git clone https://github.com/php/php-src.git
You can’t perform that action at this time.
0 commit comments