Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: RBOWES [...] cpan.org
Cc:
AdminCc:

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



Subject: Build broken in Strawberry Perl
[tested with both Strawberry Perl 5.10.0.6 and 5.10.0.6 on Windows 7 32-bit] Build fails with the following errors: CPAN.pm: Going to build L/LD/LDS/IO-Interface-1.05.tar.gz Checking if your kit is complete... Looks good Checking for getifaddrs()... Nope, will not use it. Checking for sockaddr_dl... Nope, will not use it. Note (probably harmless): No library found for -lresolv Writing Makefile for IO::Interface cp Interface/Simple.pm blib\lib\IO\Interface\Simple.pm cp Interface.pm blib\lib\IO\Interface.pm AutoSplitting blib\lib\IO\Interface.pm (blib\lib\auto\IO\Interface) C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\perl\lib\ExtUtils\typemap Interface.xs > Interface.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Interface.xsc Interface.c gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.05\" -DXS_VERSION=\"1.05\" "-IC:\strawberry\perl\lib\CORE" Interface.c Interface.xs:8:23: sys/ioctl.h: No such file or directory Interface.xs:11:20: net/if.h: No such file or directory Interface.xs:24:24: sys/sockio.h: No such file or directory Interface.xs: In function `XS_IO__Interface_if_addr': Interface.xs:411: error: storage size of 'ifr' isn't known Interface.xs: In function `XS_IO__Interface_if_broadcast': Interface.xs:453: error: storage size of 'ifr' isn't known Interface.xs: In function `XS_IO__Interface_if_netmask': Interface.xs:491: error: storage size of 'ifr' isn't known Interface.xs: In function `XS_IO__Interface_if_dstaddr': Interface.xs:529: error: storage size of 'ifr' isn't known Interface.xs: In function `XS_IO__Interface_if_hwaddr': Interface.xs:567: error: storage size of 'ifr' isn't known Interface.xs: In function `XS_IO__Interface_if_flags': Interface.xs:644: error: storage size of 'ifr' isn't known Interface.xs:650: error: invalid application of `sizeof' to incomplete type `ifr eq' Interface.xs:651: error: `IFNAMSIZ' undeclared (first use in this function) Interface.xs:651: error: (Each undeclared identifier is reported only once Interface.xs:651: error: for each function it appears in.) Interface.xs:660: error: `SIOCGIFFLAGS' undeclared (first use in this function) Interface.xs: In function `XS_IO__Interface_if_mtu': Interface.xs:676: error: storage size of 'ifr' isn't known Interface.xs:682: error: invalid application of `sizeof' to incomplete type `ifr eq' Interface.xs:683: error: `IFNAMSIZ' undeclared (first use in this function) Interface.xs:692: error: `SIOCGIFMTU' undeclared (first use in this function) Interface.xs: In function `XS_IO__Interface_if_metric': Interface.xs:708: error: storage size of 'ifr' isn't known Interface.xs:714: error: invalid application of `sizeof' to incomplete type `ifr eq' Interface.xs:715: error: `IFNAMSIZ' undeclared (first use in this function) Interface.xs:724: error: `SIOCGIFMETRIC' undeclared (first use in this function) Interface.xs: In function `XS_IO__Interface_if_indextoname': Interface.xs:754: error: `IFNAMSIZ' undeclared (first use in this function) Interface.xs: In function `XS_IO__Interface__if_list': Interface.xs:775: error: storage size of 'ifc' isn't known Interface.xs:791: error: invalid application of `sizeof' to incomplete type `ifr eq' Interface.xs:797: error: `SIOCGIFCONF' undeclared (first use in this function) Interface.xs:804: error: invalid application of `sizeof' to incomplete type `ifr eq' Interface.xs:808: error: invalid application of `sizeof' to incomplete type `ifr eq' Interface.xs:810: error: dereferencing pointer to incomplete type dmake.EXE: Error code 129, while making 'Interface.o' LDS/IO-Interface-1.05.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: LDS/IO-Interface-1.05.tar.gz : make NO
I'd really like to get this working, but it appears to be still broken on Strawberry Perl 5.10.1.0 with pretty much the same errors. Any chance you could take a look at why it might fail? R.