Solaris 7 Install

From: Date: Mon, 11 Dec 2000 21:55:20 +0000
Subject: Solaris 7 Install
Groups: php.install 
Request: Send a blank email to php-install+get-1154@lists.php.net to get a copy of this message
I'm trying to compile/install php-4.0.3p11 on a Solaris 7 machine. The configure command I used was configure --enable-sockets --with-mysql --with-apxs=/usr/local/apache/bin/ap xs (we need sockets). Make produces the following: Making all in sockets make[2]: Entering directory `/usr/local/download/php/php-4.0.3pl1/ext/sockets' make[3]: Entering directory `/usr/local/download/php/php-4.0.3pl1/ext/sockets' /bin/sh /usr/local/download/php/php-4.0.3pl1/libtool --silent --mode=compile gcc -I. -I/usr/local/download/php/php-4.0.3pl1/ext/sockets -I/usr/local/dow nload/php/php-4.0.3pl1 -I/usr/local/download/php/php-4.0.3pl1/main -I/usr/lo cal/apache/include -I/usr/local/download/php/php-4.0.3pl1/Zend -I/usr/local/ download/php/php-4.0.3pl1 -I/usr/local/download/php/php-4.0.3pl1/ext/mysql/l ibmysql -I/usr/local/download/php/php-4.0.3pl1/ext/xml/expat/xmltok -I/usr/l ocal/download/php/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/local/download/ php/php-4.0.3pl1/TSRM -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2 -c sockets.c sockets.c: In function `php_if_connect': sockets.c:883: parse error before `1' sockets.c:934: invalid lvalue in assignment sockets.c:935: invalid type argument of `->' sockets.c: In function `php_if_recvfrom': sockets.c:1367: parse error before `1' sockets.c:1377: invalid lvalue in unary `&' sockets.c:1395: request for member `sun_path' in something not a structure or union sockets.c:1396: request for member `sun_path' in something not a structure or union sockets.c: In function `php_if_sendto': sockets.c:1495: parse error before `1' sockets.c:1500: invalid lvalue in unary `&' sockets.c:1501: request for member `sun_family' in something not a structure or union sockets.c:1502: request for member `sun_path' in something not a structure or union sockets.c:1505: invalid lvalue in unary `&' sockets.c:1505: invalid lvalue in unary `&' sockets.c: In function `php_if_recvmsg': sockets.c:1557: parse error before `1' sockets.c:1614: structure has no member named `msg_control' sockets.c:1615: structure has no member named `msg_controllen' sockets.c:1617: structure has no member named `msg_control' sockets.c:1618: structure has no member named `msg_controllen' sockets.c:1621: structure has no member named `msg_flags' sockets.c:1627: structure has no member named `msg_control' sockets.c:1636: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1640: structure has no member named `msg_controllen' sockets.c:1641: structure has no member named `msg_flags' sockets.c:1667: warning: assignment makes pointer from integer without a cast sockets.c:1673: structure has no member named `msg_control' sockets.c:1674: structure has no member named `msg_controllen' sockets.c:1676: structure has no member named `msg_control' sockets.c:1677: structure has no member named `msg_controllen' sockets.c:1680: structure has no member named `msg_flags' sockets.c:1686: structure has no member named `msg_control' sockets.c:1695: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1697: structure has no member named `msg_controllen' sockets.c:1698: structure has no member named `msg_flags' sockets.c:1702: invalid type argument of `->' sockets.c: In function `php_if_sendmsg': sockets.c:1768: parse error before `1' sockets.c:1770: warning: assignment makes pointer from integer without a cast sockets.c:1774: invalid type argument of `->' make[3]: *** [sockets.lo] Error 1 make[3]: Leaving directory `/usr/local/download/php/php-4.0.3pl1/ext/sockets' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/download/php/php-4.0.3pl1/ext/sockets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/download/php/php-4.0.3pl1/ext' make: *** [all-recursive] Error 1 Obviously, it's the --enable-sockets that is causing the problem, anyone know any patches/workarounds for this? I can't turn off sockets and we need mysql. Any suggestions would be wonderful. Thanks, Darren Young Director Network Operations Digiship Corp.

« previous php.install (#1154) next »