develooper Front page | perl.perl5.porters | Postings from December 2013

Re: An article on writing Perl extensions without XS

Thread Previous | Thread Next
Steffen Mueller
December 17, 2013 08:55
Re: An article on writing Perl extensions without XS
Message ID:
On 12/16/2013 07:45 PM, bulk88 wrote:
> ----------------------------------------------
> NAME is 'XS-WithoutXS' in Makefile.PL. The problem with name having a -
> in it is, it raises other bugs in the build process.

Yup, just pushed a fix for this and the knock-on issue to the repo at

> example build failure
> ----------------------------------------------
> C:\Documents and Settings\Owner\Desktop\cpan libs\muellerxs>nmake test

Arg, waaay too much computer output in this email!

> WithoutXS.def doesn't exist in the build dir, but a "XS-WithoutXS.def"
> (contents of it are correct) does exist. The section that makes the .def is

I think my change referred to above should fix that as well, but I don't 
have a Windows to test on.

> So why does NAME have a - instead of ::?

Because I wasn't thinking right.

> If I change NAME to "XS::WithoutXS", your test kit fails to find the
> so/dll.

Yes, because I wrote the code in the .pm file within the scope of the 
NAME not having the :: it should have.

> On a side note, with FUNCLIST change the export list looks health
> without a boot_* function winding up in there.

Hmm? This is the change that you have made locally?

Thanks and best regards,

PS: You can push your fixes directly to the repository if you like. I've 
added you as a collaborator.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About