{"id":264,"date":"2008-12-09T10:18:17","date_gmt":"2008-12-09T17:18:17","guid":{"rendered":"http:\/\/www.evardsson.com\/blog\/?p=264"},"modified":"2008-12-09T10:18:17","modified_gmt":"2008-12-09T17:18:17","slug":"gentoo-emerge-error-cant-locate-modulebuildpm","status":"publish","type":"post","link":"https:\/\/www.evardsson.com\/blog\/2008\/12\/09\/gentoo-emerge-error-cant-locate-modulebuildpm\/","title":{"rendered":"Gentoo emerge error: Can&#8217;t locate Module\/Build.pm"},"content":{"rendered":"<p>When trying to do my regular emerge today I ran into minor snag. When emerge tried to build dev-perl\/IO-Socket-INET6-2.56 emerge failed with the following error:<\/p>\n<blockquote><p>\n<code>Can't locate Module\/Build.pm in @INC (@INC contains: \/etc\/perl \/usr\/lib\/perl5\/vendor_perl\/5.8.8\/i686-linux \/usr\/lib\/perl5\/vendor_perl\/5.8.8 \/usr\/lib\/perl5\/vendor_perl \/usr\/lib\/perl5\/site_perl\/5.8.8\/i686-linux \/usr\/lib\/perl5\/site_perl\/5.8.8 \/usr\/lib\/perl5\/site_perl \/usr\/lib\/perl5\/5.8.8\/i686-linux \/usr\/lib\/perl5\/5.8.8 \/usr\/local\/lib\/site_perl .) at Build.PL line 3.<br \/>\nBEGIN failed--compilation aborted at Build.PL line 3.<\/code><\/p><\/blockquote>\n<p>I did some searching and didn&#8217;t come across anything directly related to IO-Socket-INET6, but I did see references to other Perl libraries failing to build with the same error, and remark in one of the threads that the only work-around was to emerge the Perl Build module. So, I did an <code>emerge Module-Build<\/code> and followed it up with my usual <code>emerge -auvD world<\/code> and IO-Socket-INET6 built just fine.<\/p>\n<p>It seems that there may be a few Perl libraries in Portage that are relying on the Build module but aren&#8217;t adding it as a requirement in their ebuild. If you have lots of Perl libraries installed that you manage via Portage you may want to save yourself some hassle and emerge Module-Build now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When trying to do my regular emerge today I ran into minor snag. When emerge tried to build dev-perl\/IO-Socket-INET6-2.56 emerge failed with the following error: Can&#8217;t locate Module\/Build.pm in @INC (@INC contains: \/etc\/perl \/usr\/lib\/perl5\/vendor_perl\/5.8.8\/i686-linux \/usr\/lib\/perl5\/vendor_perl\/5.8.8 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[23],"tags":[160,200,82],"class_list":["post-264","post","type-post","status-publish","format-standard","hentry","category-gentoo","tag-gentoo","tag-perl","tag-portage"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pxT7i-4g","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/posts\/264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/comments?post=264"}],"version-history":[{"count":1,"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":265,"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/posts\/264\/revisions\/265"}],"wp:attachment":[{"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.evardsson.com\/blog\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}