[PHP-users 11044] php-4.2.1のインストールについて

Shuzo Aratani php-users@php.gr.jp
Wed, 23 Oct 2002 10:04:50 +0900


This is a multi-part message in MIME format.

------=_NextPart_000_0020_01C27A7B.9FE5D180
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit

はじめまして。
あらたにと申します。

現在、php-4.2.1のインストールを行なっていますが、
makeのところでエラーが発生し、インストールが出来ません。
対処方法について、わかる方がいらっしゃいましたら、教えていただきたいのです
が。

なお、以下の環境でphpのインストールを行なっています。

OS:Solaris7

gcc-2.95.2
autoconf-2.52
automake-1.4
make-3.79.1
bison-1.28
libtool-1.4
zlib-1.1.3
libpng-1.0.11
freetype-1.3.1
gd-1.8.3
m4-1.4
perl-5.6.1

PostgreSQL-7.2.1
LDAP API:Netscape Directory SDK for C
3.0(mozilla.org(http://www.mozilla.org/directory/)から入手)

configureのところで、オプションを指定して、makeを行なったのですが、
次のようなエラーが出ました。

configureのオプションは、次のようにしました。
$./configure --with-ldap=/usr/local/srcmozilla/dist/SunOS5.7_sparc_DBG.OBJ -
-with-pgsql --enable-iconv --enable-jstring --enable-mbregex

$ make
Making all in Zend
Making all in main
gcc -I. -I/usr/local/src/php-4.2.1/main -I/usr/local/src/php-4.2.1/main -I/u
sr/l
ocal/src/php-4.2.1 -I/usr/local/src/php-4.2.1/Zend -I/usr/local/src/mozilla/
dist
/SunOS5.7_sparc_DBG.OBJ/include -I/usr/local/src/php-4.2.1/ext/mysql/libmysq
l -I
/usr/local/pgsql/include -I/usr/local/src/php-4.2.1/ext/xml/expat  -D_POSIX_
PTHR
EAD_SEMANTICS -I/usr/local/src/php-4.2.1/TSRM -g -O2  -c
internal_functions.c &&
 touch internal_functions.lo
In file included from php.h:34,
                 from internal_functions.c:23:
/usr/local/src/php-4.2.1/Zend/zend.h:55: unix.h: No such file or directory
In file included from internal_functions.c:23:
php.h:71: unix.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `internal_functions.lo'
Current working directory /usr/local/src/php-4.2.1/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.2.1/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

初心者なもので、全くわかりません。
よろしくお願い致します。


------=_NextPart_000_0020_01C27A7B.9FE5D180
Content-Type: text/html;
	charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-2022-jp">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>=1B$B$O$8$a$^$7$F!#=1B(B</FONT></DIV>
<DIV><FONT size=3D2>=1B$B$"$i$?$K$H?=3D$7$^$9!#=1B(B</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>=1B$B8=3D:_!"=1B(Bphp-4.2.1=1B$B$N=1B(B</FONT><FONT =
size=3D2>=1B$B%$%s%9%H!<%k$r9T$J$C$F$$$^$9$,!"=1B(B</FONT></DIV>
<DIV><FONT =
size=3D2>make=1B$B$N$H$3$m$G%(%i!<$,H/@8$7!"%$%s%9%H!<%k$,=3DPMh$^$;$s!#=1B=
(B</FONT></DIV>
<DIV><FONT =
size=3D2>=1B$BBP=3DhJ}K!$K$D$$$F!"$o$+$kJ}$,$$$i$C$7$c$$$^$7$?$i!"65$($F$=
$$?$@$-$?$$$N$G$9$,!#=1B(B</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT =
size=3D2>=1B$B$J$*!"0J2<$N4D6-$G#p#h#p$N%$%s%9%H!<%k$r9T$J$C$F$$$^$9!#=1B=
(B</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>OS:Solaris7</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT=20
size=3D2>gcc-2.95.2<BR>autoconf-2.52<BR>automake-1.4<BR>make-3.79.1<BR>bi=
son-1.28<BR>libtool-1.4<BR>zlib-1.1.3<BR>libpng-1.0.11<BR>freetype-1.3.1<=
/FONT></DIV>
<DIV><FONT size=3D2>gd-1.8.3<BR>m4-1.4<BR>perl-5.6.1<BR></DIV></FONT>
<DIV><FONT size=3D2>PostgreSQL-7.2.1</FONT></DIV>
<DIV><FONT size=3D2>LDAP API:Netscape Directory SDK for C =
3.0(mozilla.org(<A=20
href=3D"http://www.mozilla.org/directory/)=1B$B$+$iF~<j=1B(B">http://www.=
mozilla.org/directory/)=1B$B$+$iF~<j=1B(B</A>)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT =
size=3D2>configure=1B$B$N$H$3$m$G!"%*%W%7%g%s$r;XDj$7$F!"=1B(Bmake=1B$B$r=
9T$J$C$?$N$G$9$,!"=1B(B</FONT></DIV>
<DIV><FONT =
size=3D2>=1B$B<!$N$h$&$J%(%i!<$,=3DP$^$7$?!#=1B(B</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT =
size=3D2>configure=1B$B$N%*%W%7%g%s$O!"<!$N$h$&$K$7$^$7$?!#=1B(B</FONT></=
DIV>
<DIV><FONT size=3D2>$./configure=20
--with-ldap=3D/usr/local/srcmozilla/dist/SunOS5.7_sparc_DBG.OBJ =
--with-pgsql=20
--enable-iconv --enable-jstring --enable-mbregex</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT size=3D2>$ make<BR>Making all in Zend<BR>Making all in =
main<BR>gcc -I.=20
-I/usr/local/src/php-4.2.1/main -I/usr/local/src/php-4.2.1/main=20
-I/usr/l<BR>ocal/src/php-4.2.1 -I/usr/local/src/php-4.2.1/Zend=20
-I/usr/local/src/mozilla/dist<BR>/SunOS5.7_sparc_DBG.OBJ/include=20
-I/usr/local/src/php-4.2.1/ext/mysql/libmysql =
-I<BR>/usr/local/pgsql/include=20
-I/usr/local/src/php-4.2.1/ext/xml/expat&nbsp; =
-D_POSIX_PTHR<BR>EAD_SEMANTICS=20
-I/usr/local/src/php-4.2.1/TSRM -g -O2&nbsp; -c internal_functions.c=20
&amp;&amp;<BR>&nbsp;touch internal_functions.lo<BR>In file included from =

php.h:34,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from =
internal_functions.c:23:<BR>/usr/local/src/php-4.2.1/Zend/zend.h:55:=20
unix.h: No such file or directory<BR>In file included from=20
internal_functions.c:23:<BR>php.h:71: unix.h: No such file or =
directory<BR>***=20
Error code 1<BR>make: Fatal error: Command failed for target=20
`internal_functions.lo'<BR>Current working directory=20
/usr/local/src/php-4.2.1/main<BR>*** Error code 1<BR>make: Fatal error: =
Command=20
failed for target `all-recursive'<BR>Current working directory=20
/usr/local/src/php-4.2.1/main<BR>*** Error code 1<BR>make: Fatal error: =
Command=20
failed for target `all-recursive'</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT =
size=3D2>=1B$B=3Di?4<T$J$b$N$G!"A4$/$o$+$j$^$;$s!#=1B(B</FONT></DIV>
<DIV><FONT size=3D2>=1B$B$h$m$7$/$*4j$$CW$7$^$9!#=1B(B</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0020_01C27A7B.9FE5D180--