php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60811 php-fpm compilation problem
Submitted: 2012-01-19 19:47 UTC Modified: 2012-01-19 22:36 UTC
From: psycontrole at gmail dot com Assigned: rasmus (profile)
Status: Closed Package: FPM related
PHP Version: 5.3.9 OS: Debian Squeeze 6.03
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: psycontrole at gmail dot com
New email:
PHP Version: OS:

 

 [2012-01-19 19:47 UTC] psycontrole at gmail dot com
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-19 22:35 UTC] rasmus@php.net
Automatic comment from SVN on behalf of rasmus
Revision: http://svn.php.net/viewvc/?view=revision&revision=322478
Log: Missing ifdef here
Fixes bug 60811
 [2012-01-19 22:36 UTC] rasmus@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-01-19 22:36 UTC] rasmus@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC