Click to See Complete Forum and Search --> : PHP w/ sockets install on Irix 6.5.11m


phh_trevor
03-26-2001, 10:14 PM
Hi all,

I have apache 1.3.14, mysql 3.22.21, and php 4.0.3 installed on a SGI O200 running Irix 6.5.11m The 3 products were installed off of SGI's freeware site ( freeware.sgi.com ) and were installed using their install program on the site.
Everything worked with the install. However, I need PHP installed with the "--enable-sockets" option on. So, I downloaded the source files from the same SGI freeware site and ran the configure with the following options:

./configure --with-mysql=/usr/freeware/ --with-apxs=/usr/freeware/apache/sbin/apxs
--enable-sockets

The configure ran fine. There weren't any problems. When I ran the make command however I got errors at the end of the make:

sockets.c: In function `php_if_recvmsg':
sockets.c:1608: warning: assignment from incompatible pointer type
sockets.c:1614: warning: assignment from incompatible pointer type
sockets.c:1621: structure has no member named `msg_flags'
sockets.c:1641: structure has no member named `msg_flags'
sockets.c:1667: warning: assignment from incompatible pointer type
sockets.c:1673: warning: assignment from incompatible pointer type
sockets.c:1680: structure has no member named `msg_flags'
sockets.c:1698: structure has no member named `msg_flags'
sockets.c: In function `php_if_sendmsg':
sockets.c:1746: warning: assignment from incompatible pointer type
sockets.c:1770: warning: assignment from incompatible pointer type
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

Does anyone have any experience installing PHP with "enable-sockets" on on an Irix machine? And does anyone know how I can correct the above errors?

Any help is greatly appreciated.

Thank you.

Trevor