Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2011 22:54:00 GMT
From:      Paralon <paralon05@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162568: PHP5 with FPM compile problems
Message-ID:  <201111142254.pAEMs0NN010176@red.freebsd.org>
Resent-Message-ID: <201111142300.pAEN0JWV040949@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111142254.pAEMs0NN010176>