Errors when compiling latest CVS as stand-alone binary.
| From: | Brad Handy | Date: | Mon, 31 Jan 2000 21:28:16 +0000 |
| Subject: | Errors when compiling latest CVS as stand-alone binary. | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9603@lists.php.net to get a copy of this message | ||
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