Skip Menu |

This queue is for tickets about the IO-Interface CPAN distribution.

Report information
The Basics
Id: 101985
Status: open
Priority: 0/
Queue: IO-Interface

People
Owner: Nobody in particular
Requestors: beastie [...] tardisi.com
Cc:
AdminCc:

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



Subject: Broken on FreeBSD, unable to access interface
On investigation, there is no equivalent of the CONFIGURE sub (that was in Makefile.PL) in Build.PL... Something that for FreeBSD would result in: extra_compiler_flags => '-D__USE_BSD -DUSE_GETIFADDRS -DHAVE_SOCKADDR_DL_STRUCT', getting set seems to be the fix.
On 2015-02-06 20:21:17, beastie@tardisi.com wrote: Show quoted text
> On investigation, there is no equivalent of the CONFIGURE sub (that > was in Makefile.PL) in Build.PL... > > Something that for FreeBSD would result in: > > extra_compiler_flags => '-D__USE_BSD -DUSE_GETIFADDRS > -DHAVE_SOCKADDR_DL_STRUCT', > > getting set seems to be the fix.
I created a patch based on this information. It's available at http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/IO-Interface-1.09-RT101985.patch There's also a distroprefs file for CPAN.pm users: https://github.com/eserte/srezic-cpan-distroprefs/blob/master/IO-Interface.yml Looking at http://matrix.cpantesters.org/?dist=IO-Interface+1.09 it seems that NetBSD and OpenBSD also have failures; maybe this change has to be applied for these OS, too.