Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.pl: Fix Perl PDF::API2 installation #88

Conversation

mschilli87
Copy link
Member

The latest version of PDF::API2 is determined from the CPAN CHECKSUMS file via a regular expression.
With the introduction of PDF:API2::XS this could results in installing it instead of PDF:API2, which was picked up by install.pl as an installation error of PDF:API2.
This is fixed by extending the regular expression used to match against the (beginning) of the version number and thus avoid the clash with PDF:API2::XS.


fixes #87

The latest version of `PDF::API2` is determined from the CPAN
`CHECKSUMS` file via a regular expression.
With the introduction of `PDF:API2::XS` this could results in installing
it instead of `PDF:API2`, which was picked up by `install.pl` as an
installation error of `PDF:API2`.
This is fixed by extending the regular expression used to match against
the (beginning) of the version number and thus avoid the clash with
`PDF:API2::XS`.

fixes rajewsky-lab#87
@Drmirdeep Drmirdeep merged commit a8ea174 into rajewsky-lab:master Oct 13, 2021
@mschilli87 mschilli87 deleted the perl_pdf_api2_install_fix_pdf_api2_xs branch October 13, 2021 13:28
@mschilli87 mschilli87 removed the request for review from Drmirdeep October 13, 2021 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't locate PDF/API2.pm in @INC
2 participants