lstein / LibIO-Interface-Perl

Perl interface to Unix network interface API
Artistic License 2.0
4 stars 3 forks source link

Switch to Module::Build doesn't auto detect OS capabilities #1

Open kucharskim opened 9 years ago

kucharskim commented 9 years ago

Before commit c4de69113e5bdbb2355611774efc19e19f5b4529 while compiling IO-Interface on OpenBSD cc was provided with following defines:

-D__USE_BSD -DSIOCGIFCONF -DHAVE_SOCKADDR_DL_STRUCT -DUSE_GETIFADDRS

Now they are missing and regress test fails on OpenBSD/amd64.

iynehz commented 7 years ago

I got similar issues on Solaris. I find this is because that before version 1.09, in Makefile.PL there was code to detect the stuffs https://metacpan.org/source/LDS/IO-Interface-1.08/Makefile.PL#L30

But when it came to 1.09 and the build tool switched from EU::MakeMaker to Module::Build that code was removed...

@lstein IMHO we should either fix Build.PL or roll back to a Makefile.PL like in version 1.08

kucharskim commented 6 years ago

@stphnlyd, can you test my pull request on Solaris?

rssh22 commented 4 years ago

I'm trying to build the IO::Interface on solaris 11 (Sparc/64) . Which parameters should I provide and how?

Thanks!