Re: [PHP4BETA] compile error beta4 cgi version

From: Date: Mon, 21 Feb 2000 13:48:41 +0000
Subject: Re: [PHP4BETA] compile error beta4 cgi version
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10579@lists.php.net to get a copy of this message
"Homme R. Bitter" wrote: > > Hi there, > > I just tried to compile the php4.0b4 dist for stand alone CGI support. > It dies with this error: > > gcc -DHAVE_CONFIG_H -I. -I/usr/src/redhat/BUILD/php-4.0b4/sapi/cgi -I../.. > -I../../Zend -I/usr/src/redhat/BUILD/php-4.0b4 -I/usr/include/mysql > -D_REENTRANT -fPIC -c cgi_main.c && touch cgi_main.lo > cgi_main.c: In function `sapi_cgi_register_variables': > cgi_main.c:132: parse error before `)' > make[3]: *** [cgi_main.lo] Error 1 > > Seems to me that someone has forgotten to update the CGI dir after > changing macros or something, I'm not a coder and I can't patch this > myself. > > If someone has has a fix for this, please mail me, I'd like to try out the > CGI version with our webserver here, WN. > I've reported this before without getting any response. I usually don't compile as a CGI, but I had to try it and I got the exact same error as you. I'm no C programmer, but it looks like a ")" missing ;)) -- Vennlig hilsen/Best Regards Stig-Ørjan Smelror Winther Computer Network DA http://www.winther.net Stig.Orjan.Smelror@winther.net Teknisk Ansvarlig Winther.Net ; Webhosting uten grenser.

« previous php.version4 (#10579) next »