{"id":1938,"date":"2019-10-19T08:18:29","date_gmt":"2019-10-18T23:18:29","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=1938"},"modified":"2021-04-01T13:54:29","modified_gmt":"2021-04-01T04:54:29","slug":"ubuntu-18-04%e3%81%a7fml","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=1938","title":{"rendered":"Ubuntu 18.04\u3067fml"},"content":{"rendered":"<p>Perl \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u95a2\u4fc2\u3067\uff0c\u305d\u306e\u307e\u307e\u3067\u306f<a href=\"http:\/\/www.fml.org\/software\/fml8\/index.html.ja\">FML<\/a> \u304c\u4f7f\u3048\u306a\u304b\u3063\u305f\u306e\u3067\uff0c\u3044\u308d\u3044\u308d\u3068\u82e6\u52b4\u3057\u305f\u30e1\u30e2\uff0e<\/p>\n<p>\u3061\u306a\u307f\u306b\uff0cfml \u306f\uff0c<a href=\"ftp:\/\/ftp.fml.org\/pub\/fml\/release\/\">\u3053\u3061\u3089\u304b\u3089\u624b\u306b\u5165\u308c\u308b<\/a>\u65b9\u6cd5\u3068\uff0c<a href=\"https:\/\/github.com\/fmlorg\/fml4\">github\/fmlorg\/fml4<\/a>\u304b\u3089\u624b\u306b\u5165\u308c\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\uff0e<\/p>\n<p>\u307e\u305a\uff0c\u4eca\u306ePerl \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5bfe\u5fdc\u3055\u305b\u308b\u65b9\u6cd5\uff0c<a href=\"http:\/\/netearner.blog75.fc2.com\/blog-entry-24.html\">\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9 fml\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u3068<a href=\"https:\/\/misettei.com\/archives\/189\">Ubuntu12.04LTS\u306bfml\u3092\u5165\u308c\u308b<\/a>\u3092<br \/>\n\u306b\u3082\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\uff0c<mark>$* = 0;<\/mark>\u306e\u90e8\u5206\u3068\uff0c<mark>(defined %entry)<\/mark>\u306e\u3068\u3053\u308d\u3092\u5909\u66f4\u3057\u3066\u3044\u3051\u3070\uff0c\u306a\u3093\u3068\u304b\u306a\u308b\u96f0\u56f2\u6c17\uff0e<br \/>\n<a href=\"https:\/\/perldoc.jp\/docs\/perl\/5.30.0\/perl5300delta.pod#Fatalize32-36-42-32and32-36-35\">$* \u3068 $# \u306f\u81f4\u547d\u7684\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f<\/a>\u306e\u8fba\u308a\u304c\uff0c\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u3088\u308b\u5f71\u97ff\u3067\u3059\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\u2013    $* = 0;\t\t\t# match one line\r\n\u2013    if ($s =~ \/^From\\s+(\\S+)\/i) {\r\n+    # $* = 0;\t\t\t# match one line\r\n+    if ($s =~ \/^From\\s+(\\S+)\/is) {\r\n...\r\n\u2013                (defined %entry) &amp;&amp;\r\n+                (%entry) &amp;&amp;\r\n<\/pre>\n<p>\u3068\u3053\u308d\u304c\uff0c\u305d\u308c\u4ee5\u5916\u306b\u3082\uff0c<mark>\/usr\/local\/fml\/fml.pl<\/mark>\u306e\u4e2d\u306e\u4fee\u6b63\u3082\u5fc5\u8981\u3067\uff0c\u4e00\u5fdc\u5909\u66f4\u3057\u305f\u3082\u306e\u306e\uff0c\u672a\u3060\u30e1\u30fc\u30eb\u304c\u98db\u3093\u3067\u304f\u308c\u306a\u3044\u72b6\u614b\u2026\uff0e<br \/>\n\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u7b49\u304c\u306a\u3044\u306e\u3067\uff0c\u3069\u3053\u3067\u6b62\u307e\u3063\u3066\u3044\u308b\u304b\u308f\u304b\u3089\u305a\u3001\u304a\u624b\u4e0a\u3052\u3067\u3059\u3000\u2229(\u30fb\u2200\u30fb)\u2229\uff0e<\/p>\n<p>\u53c2\u8003\u307e\u3067\u306b\uff0cperl \u306e\u30c7\u30d0\u30c3\u30b0\u306f\uff0c<a href=\"https:\/\/tutorial.perlzemi.com\/blog\/20100302126967.html\">Perl\u30c7\u30d0\u30c3\u30ac\u306e\u624b\u5f15\u304d<\/a>\u3092\u53c2\u8003\u306b\uff0c1\u30b9\u30c6\u30c3\u30d7\u305a\u3064\u52d5\u4f5c\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e<\/p>\n<hr>\n<p><s><br \/>\n\u4ed5\u65b9\u304c\u7121\u3044\u306e\u3067\uff0c\u53e4\u3044Perl \u3082\u5165\u308c\u3066\uff0c\u5171\u5b58\u3055\u305b\u308b\u65b9\u91dd\u306b\u5909\u66f4\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n<p><a href=\"https:\/\/blog.goo.ne.jp\/northcat_2004\/e\/1ce708b529f728ffed23f592fce3681e\">ubuntu 18.04.1 LTS \u304c\u3067\u305f\u306e\u306716.04LTS \u219218.04LTS\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u307f\u305f<\/>\u3067\u306f\uff0cPerl5.8.9 \u3092\u4f7f\u3063\u3066\u3044\u308b\u307f\u305f\u3044\uff0e<br \/>\n<a href=\"https:\/\/secure.nanako-net.info\/redmine\/projects\/know-how\/wiki\/Fml4\">Fml\u306e\u69cb\u7bc9<\/a>\u3067\u306f\uff0cPerl 5.8.9\u3092\u5171\u5b58\u3055\u305b\u3066fml4 \u3092\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u6a21\u69d8\uff0e<br \/>\n\u3053\u306e\u8fba\u308a\u3092\u53c2\u8003\u306b\uff0c\u4f5c\u696d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u304b\uff0e<\/p>\n<p>\u3042\u3068\uff0c<mark>pp.o: In function `Perl_pp_pow&#8217;: pp.c:(.text+0x2e7b): undefined reference to `pow&#8217;<\/mark>\u306e\u30a8\u30e9\u30fc\u306b\u306f\uff0c<a href=\"https:\/\/vividcode.hatenablog.com\/entry\/perl\/perlbrew-ubuntu-libm\">perlbrew \u3092\u4f7f\u3063\u3066 Ubuntu 12.04 \u306b perl \u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b<\/a>\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\uff0e<\/p>\n<p>makedepend \u306e\u547c\u3073\u51fa\u3057\u304c\uff0csh \u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u305f\u306e\u3067\uff0cbash \u306b\u5909\u3048\u3066\u307f\u307e\u3057\u305f\uff0e<br \/>\n\u3042\u3068\uff0cmake depend \u3082\u5fc5\u8981\u306a\u6a21\u69d8\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd ~\/Downloads\r\nwget https:\/\/www.cpan.org\/src\/5.0\/perl-5.8.9.tar.gz\r\ntar xzf perl-5.8.9.tar.gz\r\n.\/Configure -de -Accflags='-fPIC' -Dprefix=\/usr\/local\/perl-5.8 -Dplibpth=\/usr\/lib\/x86_64-linux-gnu\r\n## Please replace bash from sh at Makefile\r\nmake\r\n# make test\r\n# make install\r\n<\/pre>\n<p><\/s><\/p>\n<hr>\n<p>\u4e0a\u8a18\uff0c\u3084\u3063\u3071\u308a\u7121\u7406\u305d\u3046\u306a\u306e\u3067\uff0c\u5143\u306e\u65b9\u91dd\u306b\u623b\u3057\u3066\uff0c\u4eca\u306ePerl \u3078\u5bfe\u5fdc\u3055\u305b\u308b\u65b9\u5411\u3067\u9811\u5f35\u3063\u3066\u307f\u307e\u3059\uff0e<\/p>\n<p>\u30a8\u30e9\u30fc\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\uff0c\u624b\u52d5\u5b9f\u884c<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nfml@liva:\/usr\/local\/fml$  .\/fml.pl \/var\/spool\/ml\/test\r\nCan't locate libloadconfig.pl in @INC (@INC contains: \/var\/spool\/ml\/test . \/etc\/perl \/usr\/local\/lib\/x86_64-linux-gnu\/perl\/5.26.1 \/usr\/local\/share\/perl\/5.26.1 \/usr\/lib\/x86_64-linux-gnu\/perl5\/5.26 \/usr\/share\/perl5 \/usr\/lib\/x86_64-linux-gnu\/perl\/5.26 \/usr\/share\/perl\/5.26 \/usr\/local\/lib\/site_perl \/usr\/lib\/x86_64-linux-gnu\/perl-base \/var\/spool\/ml\/test) at .\/fml.pl line 333.\r\n<\/pre>\n<p>\u3069\u3046\u3084\u3089\uff0cfml.pl \u306e333\u884c\u76ee\u306e<mark>    require &#8216;libloadconfig.pl&#8217;; &#038;__LoadConfiguration(&#8216;__KERN__&#8217;);<\/mark>\u3067\uff0clibloadconfig.pl \u304c\u898b\u3064\u304b\u3089\u306a\u3044\u6a21\u69d8\uff0e<br \/>\n@INC \u306e\u4e2d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f\uff0c\u78ba\u304b\u306b\uff0c\/usr\/local\/fml \u304c\u3042\u308a\u307e\u305b\u3093\uff0e<br \/>\n447 \u884c\u76ee\u8fba\u308a\u306e\uff0cInitConfig \u306b\u3066LoadConfig \u3092\u547c\u3073\u51fa\u3057\u305f\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\uff0c\u305d\u306e\u8fba\u308a\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nsub InitConfig\r\n{\r\n    push(@INC, &quot;\/usr\/local\/fml&quot;);\r\n    &amp;SetDefaults;\r\n<\/pre>\n<p>\u3053\u306e\u8fba\u308a\u306f\uff0c<a href=\"https:\/\/gihyo.jp\/dev\/serial\/01\/perl-hackers-hub\/004601\">\u7b2c46\u56de\u3000Perl 5.26\u3067\u5909\u308f\u308b\u3053\u3068\uff081\uff09<\/a>\u306b\u300c@INC\u304b\u3089\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u524a\u9664\u300d\u3068\u66f8\u304b\u308c\u3066\u3044\u307e\u3057\u305f\uff0e<br \/>\n\u4eca\u56de\u306ffml\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u76f4\u63a5\u6307\u5b9a\u3059\u308b\u5f62\u306b\u3057\u3066\u307f\u307e\u3059\uff0e<\/p>\n<p>\u305d\u308c\u3067\u3082\uff0c\u307e\u3060\u9001\u4fe1\u3057\u3066\u304f\u308c\u306a\u304b\u3063\u305f\u306e\u3067\uff0c\u3044\u308d\u3044\u308d\u306a\u7b87\u6240\u306b\u30ed\u30b0\u306e\u51fa\u529b\u3092\u631f\u307f\u8fbc\u3093\u3067\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3089\uff0c<br \/>\n\u3069\u3046\u3084\u3089IPv6 \u3067\u30e1\u30fc\u30eb\u9001\u4fe1\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u305f\u307f\u305f\u3044\u3067\u3059\uff0e<br \/>\n\u307e\u3060\uff0c\u5bb6\u306e\u30b5\u30fc\u30d0\u306fIPv4\u3067\u3059\u306e\u3067\uff0c\u305d\u308c\u3067\u306f\u3064\u306a\u304c\u308a\u307e\u305b\u3093\u306d\uff0e<\/p>\n<p>\u3068\u8a00\u3046\u308f\u3051\u3067\uff0c\u3042\u3068\u306f\uff0cconfig.ph \u306b\uff0c<mark>$USE_INET6 = 0;<\/mark>\u3092\u8ffd\u52a0\u3057\u3066\uff0c\u5b8c\u4e86\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perl \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u95a2\u4fc2\u3067\uff0c\u305d\u306e\u307e\u307e\u3067\u306fFML \u304c\u4f7f\u3048\u306a\u304b\u3063\u305f\u306e\u3067\uff0c\u3044\u308d\u3044\u308d &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=1938\"> <span class=\"screen-reader-text\">Ubuntu 18.04\u3067fml<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[6,8],"tags":[],"class_list":["post-1938","post","type-post","status-publish","format-standard","hentry","category-setting","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1938"}],"version-history":[{"count":11,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1938\/revisions"}],"predecessor-version":[{"id":2653,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1938\/revisions\/2653"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}