RE: [PHP4BETA] Errors when compiling latest CVS as stand-alone binary.
| From: | Brad Handy | Date: | Mon, 31 Jan 2000 21:54:20 +0000 |
| Subject: | RE: [PHP4BETA] Errors when compiling latest CVS as stand-alone binary. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9604@lists.php.net to get a copy of this message | ||
Sorry about bothering everyone with my idiocy. I realized after I submitted
this that maybe I should try some variations. I did and I found that
the -enable-force-cgi-redirect was causing the problem. I have it compiled
fine now. I have new question though.
How do I get the message:
X-Powered-By: PHP/4.0b4-dev
Content-Type: text/html
to keep from showing up on my output from PHP scripts?
--Brad
-----Original Message-----
From: Brad Handy [mailto:bhandy@arbor.edu]
Sent: Monday, January 31, 2000 4:28 PM
To: PHP LIST
Subject: [PHP4BETA] Errors when compiling latest CVS as stand-alone binary.
I'm trying to compile PHP4BETA as a stand-alone binary. However, when it
gets near the end of the make process I get these errors:
cgi_main.c: In function `sapi_cgi_register_variables':
cgi_main.c:136: warning: left-hand operand of comma expression has no effect
cgi_main.c:136: parse error before `)'
cgi_main.c:132: warning: unused variable `pi'
cgi_main.c: In function `main':
cgi_main.c:251: warning: variable
cgi' might be clobbered by longjmp' or
`vfork'
cgi_main.c:255: warning: variable `cgi_started' might be clobbered by
`longjmp' or
`vfork'
cgi_main.c:256: warning: variable behavior' might be clobbered by longjmp'
or `vf
ork'
cgi_main.c:257: warning: variable `no_headers' might be clobbered by
longjmp' or
vfork'
cgi_main.c:258: warning: variable `free_path_translated' might be clobbered
by `lon
gjmp' or `vfork'
cgi_main.c:262: warning: variable `interactive' might be clobbered by
`longjmp' or
`vfork'
make[3]: *** [cgi_main.lo] Error 1
make[3]: Leaving directory `/root/php4/sapi/cgi'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/php4/sapi/cgi'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/php4/sapi'
make: *** [install-recursive] Error 1
I configured PHP with this command:
./configure -with-config-file-path=[pathname] -enable-safe-mode -with-exec-d
ir=[pathname] \
--enable-track-vars -enable-force-cgi-redirect -prefix=[pathname] -exec-pre
fix=[pathname]
Since the errors don't seem to be related to the values of [pathname] I
didn't include them. I'm running RedHat Linux 6.1.
--Brad
--
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
For additional commands, e-mail: php4beta-help@lists.php.net
To contact the list administrators, e-mail: php4beta-admin@lists.php.net