The Devel::PPPort docs suggest distributing ppport.h directly
rather than requiring the Devel::PPPort module as a prerequisite:
Don't direct the users of your module to download Devel::PPPort .
They are most probably no XS writers. Also, don't make ppport.h optional.
Rather, just take the most recent copy of ppport.h that you can find (e.g. by
generating it with the latest Devel::PPPort release from CPAN), copy it into
your project, adjust your project to use it, and distribute the header along
with your module.
However, the copyright section of ppport.h indicates that it can only be
distributed under something compatible with the Perl license:
Version 3.x, Copyright (c) 2004-2009, Marcus Holland-Moritz.
Version 2.x, Copyright (C) 2001, Paul Marquess.
Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
I'd like to follow the suggestion in the docs, but the project I'm working on
right now is hosted at Apache, so it carries the Apache license. I don't
believe that we can distribute the generated file. I haven't misunderstood
anything here, have I?
Other projects which generate code, e.g. Bison, sometimes allow you to
distribute generated files:
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
It would be a stretch to describe ppport.h as "output", though.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||