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

Undeclared dependency Alien::libudev #2

Closed
eserte opened this issue Mar 25, 2018 · 1 comment
Closed

Undeclared dependency Alien::libudev #2

eserte opened this issue Mar 25, 2018 · 1 comment

Comments

@eserte
Copy link

eserte commented Mar 25, 2018

The build fails if Alien::libudev is not available:

Output from '/opt/perl-5.27.10t/bin/perl5.27.10 Makefile.PL':

Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::CommandLine
Can't locate Alien/libudev.pm in @INC (you may need to install the Alien::libudev module) (@INC contains: /var/tmp/cpansmoker-1023/2018032506/CPAN-Reporter-lib-wtUE /home/cpansand/.cpan/build/2018032506/Alien-Build-1.39-0/blib/arch /home/cpansand/.cpan/build/2018032506/Alien-Build-1.39-0/blib/lib /home/cpansand/.cpan/build/2018032506/File-chdir-0.1010-0/blib/arch /home/cpansand/.cpan/build/2018032506/File-chdir-0.1010-0/blib/lib /home/cpansand/.cpan/build/2018032506/FFI-CheckLib-0.18-0/blib/arch /home/cpansand/.cpan/build/2018032506/FFI-CheckLib-0.18-0/blib/lib /opt/perl-5.27.10t/lib/site_perl/5.27.10/x86_64-linux-thread-multi /opt/perl-5.27.10t/lib/site_perl/5.27.10 /opt/perl-5.27.10t/lib/5.27.10/x86_64-linux-thread-multi /opt/perl-5.27.10t/lib/5.27.10 .) at (eval 82) line 1.
BEGIN failed--compilation aborted at (eval 82) line 1.

Probably this should be specified as configure_requires, so CPAN.pm et al may automatically install the missing dependency before running the build file.

@a3f a3f closed this as completed in 3a4650d Mar 25, 2018
@eserte
Copy link
Author

eserte commented Nov 18, 2018

Well, the change makes Alien::libudev only a runtime/build requirement, so it still fails with 0.3:

Output from '/opt/perl-5.28.0/bin/perl Makefile.PL':

Alien::Build::Plugin::PkgConfig::Negotiate> Using PkgConfig plugin: PkgConfig::CommandLine
Can't locate Alien/libudev.pm in @INC (you may need to install the Alien::libudev module) (@INC contains: /var/tmp/cpansmoker-1023/2018111708/CPAN-Reporter-lib-J_SC /opt/perl-5.28.0/lib/site_perl/5.28.0/x86_64-linux /opt/perl-5.28.0/lib/site_perl/5.28.0 /opt/perl-5.28.0/lib/5.28.0/x86_64-linux /opt/perl-5.28.0/lib/5.28.0 .) at (eval 78) line 1.
BEGIN failed--compilation aborted at (eval 78) line 1.

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

1 participant