Skip Menu |

This queue is for tickets about the FCGI CPAN distribution.

Report information
The Basics
Id: 57550
Status: new
Priority: 0/
Queue: FCGI

People
Owner: Nobody in particular
Requestors: spleenjack [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: FCGI-0.71: os_unix.c:254: error: ‘struct sockaddr_un’ has no member named ‘sun_len’
Date: Mon, 17 May 2010 15:10:51 +0400
To: bug-FCGI [...] rt.cpan.org
From: Eugene Ardarov <spleenjack [...] gmail.com>
Hello! I got the bug while trying to compile last version of FCGI on my system. Than I checked older versions and got the same error. Details below: FCGI-0.71 $ perl -v This is perl 5, version 12, subversion 0 (v5.12.0) built for x86_64-linux $ uname -a Linux dev-i4 2.6.24-23-server #1 SMP Thu Nov 27 18:45:02 UTC 2008 x86_64 GNU/Linux $ perl Makefile.PL checking for sun_len in sys/un.h... yes $ make cc -c -I. -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.71\" -DXS_VERSION=\"0.71\" -fPIC "-I~/perlbrew/perls/perl-5.12.0/lib/5.12.0/x86_64-linux/CORE" os_unix.c os_unix.c: In function ‘OS_BuildSockAddrUn’: os_unix.c:254: error: ‘struct sockaddr_un’ has no member named ‘sun_len’ os_unix.c:257: error: ‘struct sockaddr_un’ has no member named ‘sun_len’ $ cat /usr/include/sys/un.h /* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket. */ struct sockaddr_un { __SOCKADDR_COMMON (sun_); char sun_path[108]; /* Path name. */ }; #ifdef __USE_MISC # include <string.h> /* For prototype of `strlen'. */ /* Evaluate to actual length of the `sockaddr_un' structure. */ # define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \ + strlen ((ptr)->sun_path)) #endif
Subject: Re: [rt.cpan.org #57550] AutoReply: FCGI-0.71: os_unix.c:254: error: ‘struct sockaddr_un’ has no member named ‘sun_len’
Date: Mon, 17 May 2010 15:21:17 +0400
To: bug-FCGI [...] rt.cpan.org
From: Eugene Ardarov <spleenjack [...] gmail.com>
Oh, I forgot that version 0.67 haven't this bug, only 0.68-0.71.