-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtopic-post34.html
132 lines (117 loc) · 11.2 KB
/
topic-post34.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" dir="ltr">
<head>
<title>日本PHPユーザ会 掲示板: PHP事はじめ » インストールできません</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="日本PHPユーザ会運営の掲示板です。※ただいまテスト運用中です。" />
<meta name="keywords" content="php,web,php.gr.jp,community,usebb" />
<link rel="stylesheet" type="text/css" href="./templates/phpgrjp0.3/styles.css" />
<link rel="shortcut icon" href="./templates/phpgrjp0.3/gfx/usebb.ico" />
<link rel="alternate" type="application/rss+xml" title="日本PHPユーザ会 掲示板 RSS フィード" href="rss.xml" />
<script type="text/javascript" src="sources/javascript.js"></script>
</head>
<body onload="javascript:init_external()">
<div id="pagebox-bg">
<div id="shadow-left">
<div id="shadow-right">
<p id="logo"><a href="index.html"><img src="./templates/phpgrjp0.3/gfx/usebb.png" alt="UseBB" title="ホーム" /></a></p>
<h1 id="boardname"><span id="line">日本PHPユーザ会 掲示板</span></h1>
<h2 id="boarddescr">日本PHPユーザ会運営の掲示板です。※ただいまテスト運用中です。</h2>
<div id="topmenu"><ul>
<li><a href="index.html">ホーム</a></li><li><a href="faq.html">FAQ</a></li><li><a href="active.html">活発なトピック</a></li>
</ul></div>
<div id="topmenu-shadow"></div>
<p class="locationbar">
• <a href="index.html">日本PHPユーザ会 掲示板</a> » <a href="forum-2.html">PHP事はじめ</a> » インストールできません
</p>
<h3 id="forumname"><a href="topic-17.html">インストールできません</a></h3>
<p id="forummods"></p>
<p id="toolbartop"> </p>
<p id="pagelinkstop">ページ: 1</p>
<table class="maintable">
<tr>
<th>投稿者</th>
<th>投稿</th>
</tr>
<tr class="tr1">
<td class="postername">
<div class="posternamecontainer"><a href="profile-31.html">Pedoro</a></div>
</td>
<td class="postinfo">
<div class="postlinks"></div>
<div class="postdate"><a href="topic-post33.html#post33" name="post33" rel="nofollow">#1</a> 2007 年 9 月 29 日(土) 4:28</div>
</td>
</tr>
<tr class="tr1">
<td class="posterinfo">
会員
<div class="avatar"></div>
<div class="field">登録者: 9 2007</div>
<div class="field">返信数: 2</div>
<div class="field"></div>
</td>
<td class="postcontent">
<div class="post">はじめまして。<br /><br />FreeBSD6.1にて、php4.4.7をインストールしようとしたところ、立ち行かなくなりました。<br />apacheは、2.0.61でインストール、起動確認済みです。<br />bison 2.3、m4 1.4.9、gmake 3.81です。<br /><br />./configure --with-apxs2=/usr/local/apache2/bin/apxs<br />は終了するのですが、makeでerrorがでます。以下に示します。<br /><br /> admin@TEST-SV01 /usr/home/admin/php-4.4.7#make<br />gcc -Iext/standard/ -I/usr/home/admin/php-4.4.7/ext/standard/ -DPHP_ATOM_INC -I/usr/home/admin/php-4.4.7/include -I/usr/home/admin/php-4.4.7/main -I/usr/home/admin/php-4.4.7 -I/usr/home/admin/php-4.4.7/ext/xml/expat -I/usr/home/admin/php-4.4.7/TSRM -I/usr/home/admin/php-4.4.7/Zend -g -O2 -c /usr/home/admin/php-4.4.7/ext/standard/info.c -o ext/standard/info.o && echo > ext/standard/info.lo<br />byacc -p zend -v -d /usr/home/admin/php-4.4.7/Zend/zend_language_parser.y -o Zend/zend_language_parser.c<br />usage: yacc [-dlrtv] [-b file_prefix] [-o output_filename]<br /> [-p symbol_prefix] filename<br />make: *** [Zend/zend_language_parser.c] Error 1<br /><br />確かにconfigureの際、以下のwarningが出ていました。以下抜粋です。<br />checking for bison... byacc<br />configure: warning: You will need bison if you want to regenerate the PHP parsers.<br />Configuring Zend<br />configure: warning: You will need bison if you want to regenerate the Zend parser.<br /><br />bisonは以下の様に起動確認済です。<br />admin@TEST-SV01 /usr/home/admin/php-4.4.7#bison --version<br />bison (GNU Bison) 2.3<br />Written by Robert Corbett and Richard Stallman.<br /><br />Copyright (C) 2006 Free Software Foundation, Inc.<br />This is free software; see the source for copying conditions. There is NO<br />warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br />admin@TEST-SV01 /usr/home/admin/php-4.4.7#<br /><br />色々検索等してみたのですが、似たような事例が見当たりませんでした。<br /><br />解決に至るヒントでも構いませんので、どなたかご教授いただけないでしょうか。</div>
</td>
</tr>
<tr class="tr2">
<td class="postername">
<div class="posternamecontainer"><a href="profile-28.html">SAYKA</a></div>
</td>
<td class="postinfo">
<div class="postlinks"></div>
<div class="postdate"><a href="topic-post34.html#post34" name="post34" rel="nofollow">#2</a> 2007 年 10 月 1 日(月) 14:04</div>
</td>
</tr>
<tr class="tr2">
<td class="posterinfo">
会員
<div class="avatar"></div>
<div class="field">登録者: 9 2007</div>
<div class="field">返信数: 9</div>
<div class="field"></div>
</td>
<td class="postcontent">
<div class="post">>You will need bison if you want to regenerate the Zend parser.<br /><a href="http://www.php.net/manual/ja/install.unix.php" title="http://www.php.net/manual/ja/install.unix.php" rel="external">http://www.php.net/manual/ja/install.unix.php</a><br />実は2.xじゃなくて1.xでないと反応しないというオチかも?</div>
</td>
</tr>
<tr class="tr1">
<td class="postername">
<div class="posternamecontainer"><a href="profile-31.html">Pedoro</a></div>
</td>
<td class="postinfo">
<div class="postlinks"></div>
<div class="postdate"><a href="topic-post35.html#post35" name="post35" rel="nofollow">#3</a> 2007 年 10 月 2 日(火) 5:19</div>
</td>
</tr>
<tr class="tr1">
<td class="posterinfo">
会員
<div class="avatar"></div>
<div class="field">登録者: 9 2007</div>
<div class="field">返信数: 2</div>
<div class="field"></div>
</td>
<td class="postcontent">
<div class="post">SAYKA様。<br />御返答ありがとうございます。 確かに1.28推奨とありました。ついでにflexも2.5.4に合わせました。<br /><br />結論から申し上げますと、インストール出来るに至りました。<br />しかしながら、私のくだらないミスで、核心的なポイントを皆様にお知らせ出来なくなってしまいました。<br />恥を忍んで、以下にhistoryを晒します。<br /> 12:12 tar -zxvf bison-1.28.tar.gz<br /> 12:12 cd bison-1.28<br /> 12:12 cat INSTALL<br /> 12:12 ./configure<br /> 12:13 make<br /> 12:13 make check<br /> 12:13 make install<br /> 12:13 bison --version<br /> 12:13 cd ..<br /> 12:13 cd php-4.4.7/<br /> 12:14 ./configure --with-apxs2=/usr/local/apache2/bin/apxs<br /> 12:22 make<br /> 12:23 bison --version<br /> 12:23 make clean<br /> 12:23 make<br /> 12:25 flex --version<br /> 12:36 ./configure --with-apxs2=/usr/local/apache2/bin/apxs<br /><br />実はこの段階でも、./configureは<br />checking for bison... (cached) byacc<br />configure: warning: You will need bison if you want to regenerate the PHP parsers.<br />Configuring Zend<br />configure: warning: You will need bison if you want to regenerate the Zend parser.<br /><br />以上の内容でした。これを受けて、迷走します。<br /><br /> 12:37 ./configure --help<br /> 12:45 ./configure --with-apxs2=/usr/local/apache2/bin/apxs --disable-inline-optimization<br /> 12:45 make<br /> 12:45 ./configure --help<br /> 12:48 rm ./config.cache<br /> 12:56 cat config.status | less<br /> 12:58 cd ..<br /> 12:59 tar zxvf zlib-1.2.3.tar.tar<br /> 12:59 cd zlib-1.2.3<br /> 12:59 cat README<br /> 13:01 ./configure<br /> 13:01 make<br /> 13:01 make check<br /> 13:02 make install<br /> 13:02 cd ..<br /> 13:02 cd php-4.4.7/<br /><br />血迷って、--disable-inline-optimizationを付けたり、zlib-1.2.3をインストールしたりしてしまいました。<br />ところが、この後のconfigureにて<br /> 13:11 ./configure --with-apxs2=/usr/local/apache2/bin/apxs<br /><br />checking for bison... bison -y<br />checking bison version... 1.28 (ok)<br />Configuring Zend<br />checking bison version... 1.28 (ok)<br /><br />warningが消えていました。そこで、本当にbison-2.3が核心的な原因なのか、再度ver.2.3をインストールして、確認することにしました。<br /><br /> 13:12 cd ..<br /> 13:13 cd bison-2.3<br /> 13:13 ./configure<br /> 13:13 make<br /> 13:13 make check<br /> 13:15 make install<br /> 13:15 cd ..<br /> 13:15 cd php-4.4.7/<br /> 13:15 bison --version<br /><br />admin@TEST-SV01 /usr/home/admin/php-4.4.7#bison --version<br />bison (GNU Bison) 2.3<br />Written by Robert Corbett and Richard Stallman.<br /><br />ver.2.3に戻ってます。<br /><br /> 13:16 rm config.cache<br /> 13:16 ./configure --with-apxs2=/usr/local/apache2/bin/apxs<br /><br />configureの結果は<br /><br />checking for bison... bison -y<br />checking bison version... configure: warning: You will need bison 1.28<br />2.3 (ok)<br />Configuring Zend<br />checking bison version... 2.3 (ok)<br /><br />何故か通ってます。<br /><br /> 13:19 make<br /> 13:21 make test<br /> 13:22 php<br /> 13:22 make install<br /> 13:23 php --version<br /> 13:23 php<br /> 13:25 cp php.ini-dist /usr/local/lib/php.ini<br /> 13:25 php<br /> 13:26 man php<br /> 13:26 locate php<br /> 13:27 whereis php<br /> 13:27 /usr/local/bin/php<br /> 13:27 /usr/local/bin/php --version<br /><br />そして、結果ですが<br /><br />admin@TEST-SV01 /usr/home/admin/php-4.4.7#/usr/local/bin/php --version<br />PHP 4.4.7 (cli) (built: Oct 2 2007 13:20:28)<br />Copyright (c) 1997-2007 The PHP Group<br />Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies<br />admin@TEST-SV01 /usr/home/admin/php-4.4.7#<br /><br />何故か、bison-2.3でインストール出来てしまいました。<br /><br />恐らく、"rm config.cache"が、影響していると考えておりますが、100%bisonのver.違いによるものと、断定出来ませんでした。<br /><br />動いちゃって、どうもすいません:P</div>
</td>
</tr>
</table>
<p id="toolbarbottom"> </p>
<p id="pagelinksbottom">ページ: 1</p>
<div id="bottomfix"></div>
<p id="actionlinks"></p>
<p class="locationbar">
• <a href="index.html">日本PHPユーザ会 掲示板</a> » <a href="forum-2.html">PHP事はじめ</a> » インストールできません
</p>
<p id="linkbar">
</p>
<p id="bottom">
日本PHPユーザ会 掲示板 は <a href="http://www.usebb.net">UseBB 1 フォーラムソフトウェア</a> を使用しています
</p>
<div id="bottom-shadow"></div>
</div>
</div>
</div>
</body>
</html>