Re: installing php4 on SGI
| From: | Francois Guillaumin | Date: | Mon, 20 Nov 2000 17:02:34 +0000 |
| Subject: | Re: installing php4 on SGI | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-856@lists.php.net to get a copy of this message | ||
Hello
I try to compile PHP4 on IRIX 6.5
I get errros :
"fopen-wrappers.c", line 472: error(1020): identifier "SOCK_STREAM" is
undefined
*socketd = php_hostconnect(resource->host, resource->port,
SOCK_STREAM, 0);
^
"fopen-wrappers.c", line 628: error(1020): identifier "SOCK_STREAM" is
undefined
*socketd = php_hostconnect(resource->host, resource->port,
SOCK_STREAM, 0);
^
2 errors detected in the compilation of "fopen-wrappers.c".
I configured php like :
./configure --with-gd=no --with-mysql=/usr/freeware --enable-debug=no
--enable-safe-mode=yes --without-exec-dir
--enable-track-vars=yes --enable-magic-quotes=yes
--bindir=/var/www/php-4.0.3pl1 --with-apxs=/var/www/apache/bin/apxs
--with-config-file-path=/var/www/apache --enable-ftp
Thanks
PS: I compiled php3 without a problem on the same machine
--
François Guillaumin
SDRC Consultant
Immeuble Le Capitole
55 avenue des champs pierreux
F92012 Nanterre cedex
Tel: 33.1.46.95.97.26
Fax: 33.1.46.95.97.39
E-mail: Francois.Guillaumin@sdrc.com http://www.sdrc.com/