{"id":3295,"date":"2011-08-15T14:23:14","date_gmt":"2011-08-15T22:23:14","guid":{"rendered":"http:\/\/www.chesnok.com\/daily\/?p=3295"},"modified":"2011-08-15T14:23:14","modified_gmt":"2011-08-15T22:23:14","slug":"fml-relearning-how-to-install-perl","status":"publish","type":"post","link":"https:\/\/www.chesnok.com\/daily\/2011\/08\/15\/fml-relearning-how-to-install-perl\/","title":{"rendered":"#fml: Relearning how to install perl"},"content":{"rendered":"<p>I am working on a little project that requires a bit of perl and some database modules. I&#8217;m running Leopard, which ships with Perl 5.8.8.  That kinda sucks.<\/p>\n<p>So, I tried to work with a binary installer. Which was, for a number of reasons, a failure. <\/p>\n<p>Given my recent experience with virtualenv and Python, I started looking into what&#8217;s the state of the art in this area for Perl.<\/p>\n<p>The suggestion from the Perl home page is &#8220;perlbrew&#8221;.  I took it for a spin.<\/p>\n<blockquote>\n<p><code> tar zxvf App-perlbrew-0.28.tar.gz<br \/>\n...<\/p>\n<p>selena@lulu:Downloads #553 14:12 :( cd App-perlbrew-0.28<br \/>\nselena@lulu:App-perlbrew-0.28 #554 14:12 :) perl Makefile.PL <\/p>\n<p>Checking if your kit is complete...<br \/>\nLooks good<br \/>\nWarning: prerequisite Devel::PatchPerl 0.26 not found.<br \/>\nWarning: prerequisite File::Path::Tiny 0 not found.<br \/>\nWarning: prerequisite IO::All 0 not found.<br \/>\nWarning: prerequisite Path::Class 0 not found.<br \/>\nWarning: prerequisite Test::Output 0 not found.<br \/>\nWarning: prerequisite Test::Spec 0 not found.<br \/>\nWriting Makefile for App::perlbrew<br \/>\n <\/code>\n<\/p><\/blockquote>\n<p>Hmmm&#8230; So I tried to use cpanm to get it going: <\/p>\n<blockquote><p>\n<code><br \/>\nselena@lulu:App-perlbrew-0.28 #557 14:13 :( sudo cpanm App::perlbrew<br \/>\n...<br \/>\nBuilding and testing App-perlbrew-0.28 for App::perlbrew ... FAIL<br \/>\n! Installing App::perlbrew failed. See \/Users\/selena\/.cpanm\/build.log for details.<br \/>\n<\/code>\n<\/p><\/blockquote>\n<p>\ud83d\ude41<\/p>\n<p>So I asked a friend.  Who pointed me at <a href=\"https:\/\/github.com\/theory\/my-cap\/blob\/master\/bin\/perl.sh\">his build script<\/a>. And, at least for this project, that&#8217;s what I&#8217;m going to use.<\/p>\n<p>Is perlbrew what most folks use for this type of thing? Is there some other virtualenv equivalent out there? <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am working on a little project that requires a bit of perl and some database modules. I&#8217;m running Leopard, which ships with Perl 5.8.8. That kinda sucks. So, I tried to work with a binary installer. Which was, for &hellip; <a href=\"https:\/\/www.chesnok.com\/daily\/2011\/08\/15\/fml-relearning-how-to-install-perl\/\">Continue reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[479,480,634],"class_list":["post-3295","post","type-post","status-publish","format-standard","hentry","category-perl","tag-building","tag-pain","tag-perl"],"_links":{"self":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts\/3295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/comments?post=3295"}],"version-history":[{"count":6,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts\/3295\/revisions"}],"predecessor-version":[{"id":3323,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts\/3295\/revisions\/3323"}],"wp:attachment":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/media?parent=3295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/categories?post=3295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/tags?post=3295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}