I’m encountering an issue while building Yocto on my setup (using Dunfell). The build fails at the automake-native step with the following error:
ERROR: automake-native-1.16.1-r0 do_compile: oe_runmake failed
Can’t locate Text/Tabs.pm in @INC (you may need to install the Text::Tabs module)…
It appears that the build process is missing the Text::Tabs Perl module, which help2man requires. I tried installing libtext-tabs-perl on my host system, but I received an “Unable to locate package” error. I also attempted adding perl-modules and perl-native as dependencies in local.conf, but the issue persists.
Has anyone faced a similar issue, or does anyone know how to get Yocto to recognize the Text::Tabs module? Any advice or steps I can follow to resolve this would be greatly appreciated!
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the context provided, Aymen is facing a build failure in Yocto due to a missing Text::Tabs Perl module required by help2man during the automake-native step. Here are some steps and recommendations to resolve this issue:
Ensure Perl Module Installation in Yocto Environment:
Verify that the Text::Tabs module is installed within the Yocto build environment. This might require creating a custom recipe or modifying existing ones to include the necessary Perl modules.
Manual Installation:
If the module is not available in the Yocto repositories, consider manually installing the Text::Tabs module. Ensure that the build environment is set up to include all required Perl modules.
Configuration Adjustments:
Check that the build environment is configured to include the path where the Text::Tabs module is located. Ensure that the module is installed in a way that the Yocto build system can recognize it.
Community Support:
Engage with the Yocto community for advice, as others may have encountered similar issues and could offer insights or solutions.
By following these steps, Aymen should be able to resolve the build failure related to the missing Text::Tabs Perl module.
Please, also check if these links can help you solve your problem: