Bug #63983 [Com]: enabling FPM borks compile
Edit report at https://bugs.php.net/bug.php?id=63983edit=1 ID: 63983 Comment by: chibisuke at web dot de Reported by:jhein_98 at swbell dot net Summary:enabling FPM borks compile Status: Open Type: Bug Package:Compile Failure Operating System: FreeBSD 9.1 PHP Version:5.4.10 Block user comment: N Private report: N New Comment: There's also a PR for FreeBSD on this one http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-November/222806.html And the php-bug that was there back then disappeared for some reason. At lest I can't find it anymore. but we got used to fixing this on each server we install over and over again, so.. Previous Comments: [2013-02-21 23:40:11] phpfpm1 at gmail dot com Any new on this? It's still not fixed. Patch submitted works fine. [2013-01-14 05:39:01] jhein_98 at swbell dot net After doing some research, I think I may have found a fix. I'm testing it now Fix: just replace in file fpm_sockets.c : 1)info.tcpi_sacked = info.__tcpi_sacked 2)info.tcpi_unacked = info.__tcpi_unacked Hopefully this works and helps someone else. [2013-01-14 04:53:03] jhein_98 at swbell dot net Description: Running the configure script with --enable-fpm causes make to fail with the following errors: /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c -o sapi/fpm/fpm/fpm_sockets.lo /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c: In function 'fpm_socket_get_listening_queue': /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:404: error: 'struct tcp_info' has no member named 'tcpi_sacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:409: error: 'struct tcp_info' has no member named 'tcpi_unacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:413: error: 'struct tcp_info' has no member named 'tcpi_sacked' *** [sapi/fpm/fpm/fpm_sockets.lo] Error code 1 Stop in /usr/local/src/php-5.4.10. The specific options I passed to the configure script was: ./configure --prefix=/usr/local/software/php --mandir=/usr/local/man --enable-cgi --enable-fpm --with-mysql=/usr/local/software/mysql --with-openssl-dir=/usr/local/software/openssl -- Edit this bug report at https://bugs.php.net/bug.php?id=63983edit=1
Bug #63983 [Com]: enabling FPM borks compile
Edit report at https://bugs.php.net/bug.php?id=63983edit=1 ID: 63983 Comment by: chibisuke at web dot de Reported by:jhein_98 at swbell dot net Summary:enabling FPM borks compile Status: Open Type: Bug Package:Compile Failure Operating System: FreeBSD 9.1 PHP Version:5.4.10 Block user comment: N Private report: N New Comment: I attached the patchfile we're using to fix this when we install a new server. I did however NOT test this on any other OS than FreeBSD. So please be cautious when applying it to SVN. Previous Comments: [2013-03-08 07:29:18] chibisuke at web dot de There's also a PR for FreeBSD on this one http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-November/222806.html And the php-bug that was there back then disappeared for some reason. At lest I can't find it anymore. but we got used to fixing this on each server we install over and over again, so.. [2013-02-21 23:40:11] phpfpm1 at gmail dot com Any new on this? It's still not fixed. Patch submitted works fine. [2013-01-14 05:39:01] jhein_98 at swbell dot net After doing some research, I think I may have found a fix. I'm testing it now Fix: just replace in file fpm_sockets.c : 1)info.tcpi_sacked = info.__tcpi_sacked 2)info.tcpi_unacked = info.__tcpi_unacked Hopefully this works and helps someone else. [2013-01-14 04:53:03] jhein_98 at swbell dot net Description: Running the configure script with --enable-fpm causes make to fail with the following errors: /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c -o sapi/fpm/fpm/fpm_sockets.lo /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c: In function 'fpm_socket_get_listening_queue': /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:404: error: 'struct tcp_info' has no member named 'tcpi_sacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:409: error: 'struct tcp_info' has no member named 'tcpi_unacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:413: error: 'struct tcp_info' has no member named 'tcpi_sacked' *** [sapi/fpm/fpm/fpm_sockets.lo] Error code 1 Stop in /usr/local/src/php-5.4.10. The specific options I passed to the configure script was: ./configure --prefix=/usr/local/software/php --mandir=/usr/local/man --enable-cgi --enable-fpm --with-mysql=/usr/local/software/mysql --with-openssl-dir=/usr/local/software/openssl -- Edit this bug report at https://bugs.php.net/bug.php?id=63983edit=1
Bug #63983 [Com]: enabling FPM borks compile
Edit report at https://bugs.php.net/bug.php?id=63983edit=1 ID: 63983 Comment by: phpfpm1 at gmail dot com Reported by:jhein_98 at swbell dot net Summary:enabling FPM borks compile Status: Open Type: Bug Package:Compile Failure Operating System: FreeBSD 9.1 PHP Version:5.4.10 Block user comment: N Private report: N New Comment: Any new on this? It's still not fixed. Patch submitted works fine. Previous Comments: [2013-01-14 05:39:01] jhein_98 at swbell dot net After doing some research, I think I may have found a fix. I'm testing it now Fix: just replace in file fpm_sockets.c : 1)info.tcpi_sacked = info.__tcpi_sacked 2)info.tcpi_unacked = info.__tcpi_unacked Hopefully this works and helps someone else. [2013-01-14 04:53:03] jhein_98 at swbell dot net Description: Running the configure script with --enable-fpm causes make to fail with the following errors: /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c -o sapi/fpm/fpm/fpm_sockets.lo /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c: In function 'fpm_socket_get_listening_queue': /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:404: error: 'struct tcp_info' has no member named 'tcpi_sacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:409: error: 'struct tcp_info' has no member named 'tcpi_unacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:413: error: 'struct tcp_info' has no member named 'tcpi_sacked' *** [sapi/fpm/fpm/fpm_sockets.lo] Error code 1 Stop in /usr/local/src/php-5.4.10. The specific options I passed to the configure script was: ./configure --prefix=/usr/local/software/php --mandir=/usr/local/man --enable-cgi --enable-fpm --with-mysql=/usr/local/software/mysql --with-openssl-dir=/usr/local/software/openssl -- Edit this bug report at https://bugs.php.net/bug.php?id=63983edit=1
Bug #63983 [Com]: enabling FPM borks compile
Edit report at https://bugs.php.net/bug.php?id=63983edit=1 ID: 63983 Comment by: jhein_98 at swbell dot net Reported by:jhein_98 at swbell dot net Summary:enabling FPM borks compile Status: Open Type: Bug Package:Compile Failure Operating System: FreeBSD 9.1 PHP Version:5.4.10 Block user comment: N Private report: N New Comment: After doing some research, I think I may have found a fix. I'm testing it now Fix: just replace in file fpm_sockets.c : 1)info.tcpi_sacked = info.__tcpi_sacked 2)info.tcpi_unacked = info.__tcpi_unacked Hopefully this works and helps someone else. Previous Comments: [2013-01-14 04:53:03] jhein_98 at swbell dot net Description: Running the configure script with --enable-fpm causes make to fail with the following errors: /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c -o sapi/fpm/fpm/fpm_sockets.lo /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c: In function 'fpm_socket_get_listening_queue': /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:404: error: 'struct tcp_info' has no member named 'tcpi_sacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:409: error: 'struct tcp_info' has no member named 'tcpi_unacked' /usr/local/src/php-5.4.10/sapi/fpm/fpm/fpm_sockets.c:413: error: 'struct tcp_info' has no member named 'tcpi_sacked' *** [sapi/fpm/fpm/fpm_sockets.lo] Error code 1 Stop in /usr/local/src/php-5.4.10. The specific options I passed to the configure script was: ./configure --prefix=/usr/local/software/php --mandir=/usr/local/man --enable-cgi --enable-fpm --with-mysql=/usr/local/software/mysql --with-openssl-dir=/usr/local/software/openssl -- Edit this bug report at https://bugs.php.net/bug.php?id=63983edit=1