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

Build fails on linux-mint / Debian #16

Closed
demerphq opened this issue Jan 19, 2023 · 6 comments
Closed

Build fails on linux-mint / Debian #16

demerphq opened this issue Jan 19, 2023 · 6 comments

Comments

@demerphq
Copy link

I am trying to resolve Perl/perl5#20710 for re-engine-PCRE2, which depends on this module.

Currently it does not build on Debian under blead perl. I do not think it is because of blead however, I think the name of the library may have changed. I see libpcre-2-8-0 but not libpcre-2-8

I am at loss as how to proceed on this. I am not familiar with the Alien framework at all.

@zmughal
Copy link
Collaborator

zmughal commented Jan 19, 2023

As on IRC, Alien::Base packages support two different ways of installation:

  • system: uses whatever is available on the user's system. In the case of Alien::PCRE2, probes for this by using pkg-config. On Debian-based systems, this requires the package libpcre2-dev, not just the library package libpcre2-8-0.

  • share: this installs into a share dir. In the case of Alien::PCRE2, this downloads from GitHub, but as @plicease pointed out in IRC, the version on CPAN is currently broken because of a change in the GitHub releases page. The fix for this has already been applied in Switch to Download::GitHub #15, but isn't on CPAN yet.

@wbraswell
Copy link
Owner

wbraswell commented Feb 4, 2023

Howdy @demerphq , we just released a new version 0.017 on CPAN, can you please check if it fixes all your current issues including this issue #16?
https://metacpan.org/release/WBRASWELL/Alien-PCRE2-0.017000

@demerphq
Copy link
Author

demerphq commented Feb 4, 2023 via email

@demerphq
Copy link
Author

demerphq commented Feb 6, 2023

LGTM.

Configuring Alien-PCRE2-0.017000 ... OK
Building and testing Alien-PCRE2-0.017000 ... OK
Successfully installed Alien-PCRE2-0.017000

Seems to be fixed to me.

@demerphq demerphq closed this as completed Feb 6, 2023
@demerphq
Copy link
Author

demerphq commented Feb 6, 2023

Thanks!

@wbraswell
Copy link
Owner

Great, thanks @demerphq ! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants