Bug #60811 [Opn->Csd]: php-fpm compilation problem
| From: | rasmus@php.net | Date: | Thu, 19 Jan 2012 22:36:05 +0000 |
| Subject: | Bug #60811 [Opn->Csd]: php-fpm compilation problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166626@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60811&edit=1
ID: 60811
Updated by: rasmus@php.net
Reported by: psycontrole at gmail dot com
Summary: php-fpm compilation problem
-Status: Open
+Status: Closed
Type: Bug
Package: FPM related
Operating System: Debian Squeeze 6.03
PHP Version: 5.3.9
-Assigned To:
+Assigned To: rasmus
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2012-01-19 22:35:22] 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 19:47:45] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60811&edit=1