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

DKMS zfs module fails to configure if perl is not installed #519

Open
carrossos opened this issue Dec 2, 2023 · 1 comment
Open

DKMS zfs module fails to configure if perl is not installed #519

carrossos opened this issue Dec 2, 2023 · 1 comment

Comments

@carrossos
Copy link

carrossos commented Dec 2, 2023

If perl is not installed on the system, trying to build the zfs module via dkms (zfs-dkms 2.2.2-1) will fail at configure phase.

Installing perl allows the module to be build properly. Probably perl should be added as dependency?

configure:57938: checking whether enum node_stat_item contains NR_FILE_PAGES
configure:57941: ./scripts/enum-extract.pl node_stat_item /usr/lib/modules/6.1.64-1-lts/build/include/linux/mmzone.h | grep -Eqx NR_FILE_PAGES
/usr/bin/env: 'perl': No such file or directory
configure:57944: $? = 1
configure:57957: result: no
configure:57963: checking whether enum node_stat_item contains NR_INACTIVE_ANON
configure:57966: ./scripts/enum-extract.pl node_stat_item /usr/lib/modules/6.1.64-1-lts/build/include/linux/mmzone.h | grep -Eqx NR_INACTIVE_ANON
/usr/bin/env: 'perl': No such file or directory
configure:57969: $? = 1
configure:57982: result: no
configure:57988: checking whether enum node_stat_item contains NR_INACTIVE_FILE
configure:57991: ./scripts/enum-extract.pl node_stat_item /usr/lib/modules/6.1.64-1-lts/build/include/linux/mmzone.h | grep -Eqx NR_INACTIVE_FILE
/usr/bin/env: 'perl': No such file or directory
configure:57994: $? = 1
configure:58007: result: no
configure:58014: checking whether enum zone_stat_item contains NR_FILE_PAGES
configure:58017: ./scripts/enum-extract.pl zone_stat_item /usr/lib/modules/6.1.64-1-lts/build/include/linux/mmzone.h | grep -Eqx NR_FILE_PAGES
/usr/bin/env: 'perl': No such file or directory
configure:58020: $? = 1
configure:58033: result: no
configure:58039: checking whether enum zone_stat_item contains NR_INACTIVE_ANON
configure:58042: ./scripts/enum-extract.pl zone_stat_item /usr/lib/modules/6.1.64-1-lts/build/include/linux/mmzone.h | grep -Eqx NR_INACTIVE_ANON
/usr/bin/env: 'perl': No such file or directory
configure:58045: $? = 1
configure:58058: result: no
configure:58064: checking whether enum zone_stat_item contains NR_INACTIVE_FILE
configure:58067: ./scripts/enum-extract.pl zone_stat_item /usr/lib/modules/6.1.64-1-lts/build/include/linux/mmzone.h | grep -Eqx NR_INACTIVE_FILE
/usr/bin/env: 'perl': No such file or directory
configure:58070: $? = 1
configure:58083: result: no
configure:58090: checking whether global_page_state enums are sane
configure:58122: result: no
configure:58124: result: NR_FILE_PAGES in either node_stat_item or zone_stat_item: NOT FOUND
configure:58127: error:
        *** None of the expected "global page state" interfaces were detected.
        *** This may be because your kernel version is newer than what is
        *** supported, or you are using a patched custom kernel with
        *** incompatible modifications.
        ***
        *** ZFS Version: zfs-2.2.2-1
        *** Compatible Kernels: 3.10 - 6.6

@rdbisme
Copy link

rdbisme commented Feb 22, 2024

Thanks for posting this, I was hitting the same problem!

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