{"id":279,"date":"2009-07-26T19:14:22","date_gmt":"2009-07-26T10:14:22","guid":{"rendered":"https:\/\/deskplate.net\/blog\/2009\/07\/26\/drac-%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":"2009-07-26T19:14:22","modified_gmt":"2009-07-26T10:14:22","slug":"drac-%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\/279","title":{"rendered":"drac \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u30a8\u30e9\u30fc"},"content":{"rendered":"<p>drac\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u5834\u5408<br \/>\n[root@localhost drac]# make<br \/>\ncc -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C -g   -c -o rpc.dracd.o rpc.dracd.c<br \/>\nrpc.dracd.c:21:16: error: db.h: No such file or directory<br \/>\nrpc.dracd.c:59: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8216;*&#8217; token<br \/>\nrpc.dracd.c: In function &#8216;drac_run&#8217;:<br \/>\nrpc.dracd.c:103: error: &#8216;BTREEINFO&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:103: error: (Each undeclared identifier is reported only once<br \/>\nrpc.dracd.c:103: error: for each function it appears in.)<br \/>\nrpc.dracd.c:103: error: expected &#8216;;&#8217; before &#8216;bti&#8217;<br \/>\nrpc.dracd.c:130: error: &#8216;bti&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:133: error: &#8216;dbp&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:135: error: &#8216;DB_BTREE&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c: In function &#8216;dracproc_add_1_svc&#8217;:<br \/>\nrpc.dracd.c:260: error: &#8216;DBT&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:260: error: expected &#8216;;&#8217; before &#8216;key&#8217;<br \/>\nrpc.dracd.c:310: error: &#8216;key&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:311: error: &#8216;data&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:336: error: &#8216;dbp&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c: In function &#8216;expire&#8217;:<br \/>\nrpc.dracd.c:366: error: &#8216;DBT&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:366: error: expected &#8216;;&#8217; before &#8216;key&#8217;<br \/>\nrpc.dracd.c:380: error: &#8216;R_FIRST&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:394: error: &#8216;key&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:395: error: &#8216;data&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:397: error: &#8216;dbp&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:398: error: &#8216;R_NEXT&#8217; undeclared (first use in this function)<br \/>\nrpc.dracd.c:409: error: &#8216;R_CURSOR&#8217; undeclared (first use in this function)<br \/>\n# yum install db4-* \u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\nTotal                                                                                          985 kB\/s | 2.9 MB     00:02<br \/>\nRunning rpm_check_debug<br \/>\nRunning Transaction Test<br \/>\nFinished Transaction Test<br \/>\nTransaction Test Succeeded<br \/>\nRunning Transaction<br \/>\nInstalling     : db4-utils                                         [1\/4]<br \/>\nInstalling     : db4-java                                          [2\/4]<br \/>\nInstalling     : db4-tcl                                           [3\/4]<br \/>\nInstalling     : db4-devel                                         [4\/4]<br \/>\nInstalled: db4-devel db4-java.i386 0:4.3.29-9.fc6 db4-tcl.i386 0:4.3.29-9.fc6 db4-utils.i386 0:4.3.29-9.fc6<br \/>\nComplete!<br \/>\n[root@localhost drac]# make<br \/>\ncc -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C -g   -c -o rpc.dracd.o rpc.dracd.c<br \/>\ncc -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C -g   -c -o drac_svc.o drac_svc.c<br \/>\ncc -o rpc.dracd rpc.dracd.o drac_xdr.o drac_svc.o -ldb<br \/>\n\u3067\u304d\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>drac\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,10],"tags":[],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-linux","category-postfix"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/279","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=279"}],"version-history":[{"count":0,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}