{"id":146,"date":"2007-05-09T02:39:37","date_gmt":"2007-05-08T17:39:37","guid":{"rendered":"https:\/\/deskplate.net\/blog\/2007\/05\/09\/perl-cpan%e3%81%a7dbdmysql-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc\/"},"modified":"2007-05-09T02:39:37","modified_gmt":"2007-05-08T17:39:37","slug":"perl-cpan%e3%81%a7dbdmysql-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%99%82%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc","status":"publish","type":"post","link":"https:\/\/deskplate.net\/blog\/archives\/146","title":{"rendered":"Perl CPAN\u3067DBD::mysql \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u30a8\u30e9\u30fc"},"content":{"rendered":"<p>Can&#8217;t exec &#8220;mysql_config&#8221;: No such file or directory at Makefile.PL \u30fb\u30fb\u30fb<br \/>\n\/usr\/local\/mysql\/bin\/mysql_config &#8211;libs<br \/>\n\u3067\u3001\u5410\u304d\u51fa\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u30e1\u30e2\u3002<br \/>\n\u3000\/usr\/local\/mysql\/bin\/mysql_config &#8211;cflags<br \/>\n\u3067\u3001\u5410\u304d\u51fa\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u30e1\u30e2\u3057\u307e\u3059\u3002<br \/>\nCPAN\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u9014\u4e2d\u3060\u3063\u305f\u30bd\u30fc\u30b9\u306e\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<br \/>\n\u3000cd \/root\/.cpan\/build\/DBD-mysql-4.004\/<br \/>\nperl Makefile.PL &#8211;cflags=-I\/us<br \/>\nr\/local\/mysql\/include\/mysql &#8220;&#8211;libs=-L\/usr\/local\/mysql\/lib\/mysql<br \/>\n-lmysqlclient -lz -lcrypt -lnsl -lm&#8221;<br \/>\n\u3053\u308c\u3067Make\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u305d\u306e\u5f8c\u306f<br \/>\n\u3000make<br \/>\n\u3000make test<br \/>\n\u3000make install<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Can&#8217;t exec &#038;#8<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-perl"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":0,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}