ports/162568: PHP5 with FPM compile problems

Paralon paralon05 at mail.ru
Mon Nov 14 23:00:20 UTC 2011


>Number:         162568
>Category:       ports
>Synopsis:       PHP5 with FPM compile problems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 14 23:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Paralon
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD test 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Tue Nov 15 00:44:01 MSK 2011     root@:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
php with fpm failed to compile

/usr/ports/lang/php5/work/php-5.3.8/sapi/fpm/fpm/fpm_sockets.c: In function 'fpm_socket_get_listening_queue':
/usr/ports/lang/php5/work/php-5.3.8/sapi/fpm/fpm/fpm_sockets.c:400: error: 'struct tcp_info' has no member named 'tcpi_sacked'
/usr/ports/lang/php5/work/php-5.3.8/sapi/fpm/fpm/fpm_sockets.c:405: error: 'struct tcp_info' has no member named 'tcpi_unacked'
/usr/ports/lang/php5/work/php-5.3.8/sapi/fpm/fpm/fpm_sockets.c:409: error: 'struct tcp_info' has no member named 'tcpi_sacked'
>How-To-Repeat:
compile php with fpm
>Fix:
just replace in file fpm_sockets.c :
1)info.tcpi_sacked => info.__tcpi_sacked
2)info.tcpi_unacked => info.__tcpi_unacked


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list