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

wwvnfs: Can't locate sys/types.ph in @INC #316

Open
Yikun opened this issue Mar 15, 2023 · 2 comments
Open

wwvnfs: Can't locate sys/types.ph in @INC #316

Yikun opened this issue Mar 15, 2023 · 2 comments

Comments

@Yikun
Copy link

Yikun commented Mar 15, 2023

$ wwvnfs --chroot $CHROT
Can't locate sys/types.ph in @INC (did you run h2ph?) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/bin/wwvnfs line 29.

Perl v5.32 don't include /usr/lib64/perl5/sys/types.ph anymore. (RHEL 9 / Rocky 9 / openEuler 22.03)

I can make it work by removing line:

require "sys/types.ph";

@jmstover
Copy link
Contributor

jmstover commented Mar 15, 2023 via email

@Yikun
Copy link
Author

Yikun commented Mar 16, 2023

My perl in /usr/lib64/perl5 (yum install perl by default)

cd /usr/include
h2ph -al * sys/*
Destination directory /usr/local/lib64/perl5 doesn't exist or isn't a directory

So I try to create /usr/local/lib64/perl5 manually, and

cd /usr/include
mkdir /usr/local/lib64/perl5
h2ph -al * sys/*

Then it works...

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

2 participants