From:             
Operating system: Debian Squeeze 6.03
PHP version:      5.3.9
Package:          FPM related
Bug Type:         Bug
Bug description:php-fpm compilation problem

Description:
------------
I try to compile php using php-fpm after configured with the following
script, but 
after the command make install-me the following error is returned.

/ srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c: In function 
âfpm_conf_ini_parser_includeâ:
/ srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c: 1174: error:
âglob_tâ 
undeclared (first use in this function)
/ srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c: 1174: error: (Each 
undeclared identifier is Reported only once
/ srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c: 1174: error: for each

function it Appears in.)
/ srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c: 1174: error: expected
â, â 
before Aga

I do not have this problem using php 5.3.8

Test script:
---------------
$./configure --prefix=/opt/php5 --with-config-file-path=/opt/php5/etc
--with-mysql --enable-pdo --with-pgsql --with-pdo_sqlite --with-mysqli
--with-mssql --enable-ftp --enable-mbstring --enable-ctype --with-curl
--with-openssl --with-xmlrpc --with-zlib --with-gettext --with-gd
--with-freetype-dir=/usr/local/freetype --enable-sockets --enable-tokenizer
--enable-zip --enable-mbstring --with-jpeg-dir=/usr/lib
--with-zlib-dir=/lib --with-bz2=/lib --with-mcrypt --with-iconv
--enable-dba=shared --enable-gd-native-ttf --enable-sigchild --enable-soap
--enable-fpm --enable-exif --enable-wddx --enable-bcmath --enable-calendar
--enable-dba --with-sqlite=shared --enable-sqlite-utf8 --enable-zip
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-png-dir
--with-zlib-dir --with-layout=GNU --with-gettext --with-tidy --with-pear
--with-xpm-dir --with-t1lib --with-mhash --with-xsl
--with-fpm-user=www-data --with-fpm-group=www-data
--with-oci8=instantclient,/usr/local/instantclient_11_2
--with-pdo-oci=instantclient,/usr/local/instantclient_11_2,11.1
--disable-debug --with-libdir=lib64

$make & make install

Expected result:
----------------
My running php configured to use php-fpm with Nginx

Actual result:
--------------
My php error on your own compilation. 

/srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c: In function 
âfpm_conf_ini_parser_includeâ:
/srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c:1174: error: âglob_tâ

undeclared (first use in this function)
/srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c:1174: error: (Each 
undeclared identifier is reported only once
/srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c:1174: error: for each 
function it appears in.)
/srv/bender9/php5/php-5.3.9/sapi/fpm/fpm/fpm_conf.c:1174: error: expected
â;â 
before âgâ

make: ** [sapi/fpm/fpm/fpm_conf.lo] Erro 1


I do not have this problem if I do the same 
thing using php 5.3.8.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=60811&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=60811&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=60811&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=60811&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=60811&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60811&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=60811&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=60811&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=60811&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=60811&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=60811&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=60811&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=60811&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=60811&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=60811&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=60811&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60811&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=60811&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=60811&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=60811&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=60811&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=60811&r=mysqlcfg

Reply via email to