[PHP4BETA] Errors when compiling latest CVS as stand-alone binary. From: Brad Handy (bhandy <email protected>)
Date: 01/31/00

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 <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>