{"id":965,"date":"2013-02-12T12:09:48","date_gmt":"2013-02-12T08:09:48","guid":{"rendered":"http:\/\/www.unixpin.com\/wordpress\/?p=965"},"modified":"2013-02-12T12:09:48","modified_gmt":"2013-02-12T08:09:48","slug":"solaris-perl-module-building","status":"publish","type":"post","link":"https:\/\/www.unixpin.com\/?p=965","title":{"rendered":"\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f perl \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043d\u0430 Solaris"},"content":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 <a href=\"\/wordpress\/2013\/01\/29\/simple-proxy\/\">proxy<\/a>, \u0442\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u0432 Solaris perl \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0432\u0435\u0441\u0435\u043b\u0435\u0435 ;)<br \/>\nSolaris 10:<br \/>\n<code># export PATH=\/usr\/sfw\/bin:$PATH<br \/>\n# export http_proxy=10.77.77.10:3128<br \/>\n# <strong>\/usr\/perl5\/bin\/perlgcc<\/strong> -MCPAN -e shell<br \/>\nAre you ready for manual configuration? [yes] no<br \/>\n...<br \/>\ncpan&gt; o conf tar '\/usr\/sfw\/bin\/gtar'<br \/>\ncpan&gt; o conf make '\/usr\/sfw\/bin\/gmake'<br \/>\ncpan&gt; o conf urllist http:\/\/www.cpan.org http:\/\/www.cpan.dk<br \/>\ncpan&gt; o conf ncftpget ''<br \/>\ncpan&gt; o conf commit<br \/>\ncommit: wrote \/usr\/perl5\/5.8.4\/lib\/CPAN\/Config.pm<br \/>\ncpan&gt; install DBI<br \/>\n<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u043e\u0439 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 CPAN<br \/>\n<code>cpan&gt; o conf<\/code><\/p>\n<p>\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043a\u043e\u043d\u0444\u0438\u0433 CPAN \u0438 \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435<br \/>\n<code>rm \/usr\/perl5\/5.8.4\/lib\/CPAN\/Config.pm<br \/>\nrm -rf ~\/.cpan<\/code><\/p>\n<p>\u0421\u0441\u044b\u043b\u043a\u0438 \u0432 \u0442\u0435\u043c\u0443<\/p>\n<ul>\n<li><a href=\"http:\/\/adiguna.wordpress.com\/2007\/03\/20\/installing-perl-module-on-solaris\/\" target=\"_blank\">Installing Perl Module on Solaris<\/a><\/li>\n<li><a href=\"http:\/\/search.cpan.org\/~andk\/CPAN-1.9800\/lib\/CPAN.pm\" target=\"_blank\">Andreas J. K\u00f6nig &gt; CPAN-1.9800 &gt; CPAN<\/a><\/li>\n<li><a href=\"http:\/\/twiki.org\/cgi-bin\/view\/Codev\/SolarisInstallCookbookPerlModules\" target=\"_blank\">Building CPAN Perl modules on Solaris 10 (and 11)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 proxy, \u0442\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u0432 Solaris perl \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0432\u0435\u0441\u0435\u043b\u0435\u0435 ;) Solaris 10: # export PATH=\/usr\/sfw\/bin:$PATH # export http_proxy=10.77.77.10:3128 # \/usr\/perl5\/bin\/perlgcc -MCPAN -e shell Are you ready for manual configuration? [yes] no &#8230; cpan&gt; o conf tar &#8216;\/usr\/sfw\/bin\/gtar&#8217; cpan&gt; o conf make &#8216;\/usr\/sfw\/bin\/gmake&#8217; cpan&gt; o conf urllist http:\/\/www.cpan.org http:\/\/www.cpan.dk cpan&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,4,372],"tags":[990,991,989,1019,1016,992,993,428],"class_list":["post-965","post","type-post","status-publish","format-standard","hentry","category-perl","category-solaris","category-372","tag-building","tag-compile","tag-module","tag-perl","tag-solaris","tag-992","tag-993","tag-428"],"_links":{"self":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=965"}],"version-history":[{"count":4,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/965\/revisions"}],"predecessor-version":[{"id":969,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=\/wp\/v2\/posts\/965\/revisions\/969"}],"wp:attachment":[{"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unixpin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}