{"id":6,"date":"2006-05-18T23:17:04","date_gmt":"2006-05-18T14:17:04","guid":{"rendered":"https:\/\/deskplate.net\/blog\/2006\/05\/18\/cant-locate-db_file-pm-in-inc\/"},"modified":"2006-05-18T23:17:04","modified_gmt":"2006-05-18T14:17:04","slug":"cant-locate-db_file-pm-in-inc","status":"publish","type":"post","link":"https:\/\/deskplate.net\/blog\/archives\/6","title":{"rendered":"Can&#8217;t locate DB_File.pm in @INC"},"content":{"rendered":"<p>Movable Type \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u30fb\u30fb\u30fb<br \/>\n# mt.cgi<br \/>\nContent-Type: text\/html<br \/>\nGot an error: Unsupported driver MT::ObjectDriver::DBM: Can&#8217;t locate DB_File.pm in @INC (@INC contains: .\/extlib .\/lib \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi \/usr\/lib\/perl5\/5.8.0 \/usr\/lib\/perl5\/site_perl\/5.8.0\/i386-linux-thread-multi \/usr\/lib\/perl5\/site_perl\/5.8.0 \/usr\/lib\/perl5\/site_perl \/usr\/lib\/perl5\/vendor_perl\/5.8.0\/i386-linux-thread-multi \/usr\/lib\/perl5\/vendor_perl\/5.8.0 \/usr\/lib\/perl5\/vendor_perl \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi \/usr\/lib\/perl5\/5.8.0 .) at lib\/MT\/ObjectDriver\/DBM.pm line 9.<br \/>\nBEGIN failed&#8211;compilation aborted at lib\/MT\/ObjectDriver\/DBM.pm line 9.<br \/>\nCompilation failed in require at (eval 3) line 1.<br \/>\nBEGIN failed&#8211;compilation aborted at (eval 3) line 1.<br \/>\nDB_File.pm\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u307f\u305f\u3044\u3060<br \/>\n\u3057\u304b\u3057\u3053\u308c\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b<br \/>\nperl -MCPAN -e shell<br \/>\nWe have to reconfigure CPAN.pm due to following uninitialized parameters:<br \/>\ncpan_home, keep_source_where, build_dir, build_cache, scan_cache, index_expire, gzip, tar, unzip, make, pager, makepl_arg, make_arg, make_install_arg, urllist, inhibit_startup_message, ftp_proxy, http_proxy, no_proxy, prerequisites_policy, cache_metadata<br \/>\n\/usr\/lib\/perl5\/5.8.0\/CPAN\/Config.pm initialized.<\/p>\n<p><!--more--><br \/>\nCPAN is the world-wide archive of perl resources. It consists of about<br \/>\n100 sites that all replicate the same contents all around the globe.<br \/>\nMany countries have at least one CPAN site already. The resources<br \/>\nfound on CPAN are easily accessible with the CPAN.pm module. If you<br \/>\nwant to use CPAN.pm, you have to configure it properly.<br \/>\nIf you do not want to enter a dialog now, you can answer &#8216;no&#8217; to this<br \/>\nquestion and I&#8217;ll try to autoconfigure. (Note: you can revisit this<br \/>\ndialog anytime later by typing &#8216;o conf init&#8217; at the cpan prompt.)<br \/>\nAre you ready for manual configuration? [yes] no<br \/>\ncommit: wrote \/usr\/lib\/perl5\/5.8.0\/CPAN\/Config.pm<br \/>\n(1) ftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/<br \/>\n(2) ftp:\/\/ftp.jaist.ac.jp\/pub\/lang\/perl\/CPAN\/<br \/>\n(3) ftp:\/\/ftp.kddilabs.jp\/CPAN\/<br \/>\n(4) ftp:\/\/ftp.ring.gr.jp\/pub\/lang\/perl\/CPAN\/<br \/>\n(5) ftp:\/\/ftp.u-aizu.ac.jp\/pub\/CPAN<br \/>\n(6) http:\/\/ftp.cpan.jp\/<br \/>\nSelect as many URLs as you like,<br \/>\nput them on one line, separated by blanks [] 1<br \/>\nEnter another URL or RETURN to quit: []<br \/>\nNew set of picks:<br \/>\nftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/<br \/>\nWAIT support is available as a Plugin. You need the CPAN::WAIT module<br \/>\nto actually use it. But we need to know your favorite WAIT server. If<br \/>\nyou don&#8217;t know a WAIT server near you, just press ENTER.<br \/>\nYour favorite WAIT server?<br \/>\n[wait:\/\/ls6-www.informatik.uni-dortmund.de:1404]<br \/>\ncommit: wrote \/usr\/lib\/perl5\/5.8.0\/CPAN\/Config.pm<br \/>\ncpan shell &#8212; CPAN exploration and modules installation (v1.61)<br \/>\nReadLine support available (try &#8216;install Bundle::CPAN&#8217;)<br \/>\ncpan> install DB_File<br \/>\nCPAN: Storable loaded ok<br \/>\nFetching with LWP:<br \/>\nftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/authors\/01mailrc.txt.gz<br \/>\nGoing to read \/root\/.cpan\/sources\/authors\/01mailrc.txt.gz<br \/>\nFetching with LWP:<br \/>\nftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/modules\/02packages.details.txt.gz<br \/>\nGoing to read \/root\/.cpan\/sources\/modules\/02packages.details.txt.gz<br \/>\nDatabase was generated on Thu, 24 Nov 2005 14:54:20 GMT<br \/>\nThere&#8217;s a new CPAN.pm version (v1.76) available!<br \/>\n[Current version is v1.61]<br \/>\nYou might want to try<br \/>\ninstall Bundle::CPAN<br \/>\nreload cpan<br \/>\nwithout quitting the current session. It should be a seamless upgrade<br \/>\nwhile we are running&#8230;<br \/>\nFetching with LWP:<br \/>\nftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/modules\/03modlist.data.gz<br \/>\nGoing to read \/root\/.cpan\/sources\/modules\/03modlist.data.gz<br \/>\nGoing to write \/root\/.cpan\/Metadata<br \/>\nRunning install for module DB_File<br \/>\nRunning make for P\/PM\/PMQS\/DB_File-1.814.tar.gz<br \/>\nFetching with LWP:<br \/>\nftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/authors\/id\/P\/PM\/PMQS\/DB_File-1.814.tar.gz<br \/>\nCPAN: Digest::MD5 loaded ok<br \/>\nFetching with LWP:<br \/>\nftp:\/\/ftp.dti.ad.jp\/pub\/lang\/CPAN\/authors\/id\/P\/PM\/PMQS\/CHECKSUMS<br \/>\nChecksum for \/root\/.cpan\/sources\/authors\/id\/P\/PM\/PMQS\/DB_File-1.814.tar.gz ok<br \/>\nScanning cache \/root\/.cpan\/build for sizes<br \/>\nDB_File-1.814\/<br \/>\nDB_File-1.814\/dbinfo<br \/>\nDB_File-1.814\/patches\/<br \/>\nDB_File-1.814\/patches\/5.6.0<br \/>\nDB_File-1.814\/patches\/5.005_02<br \/>\nDB_File-1.814\/patches\/5.005_03<br \/>\nDB_File-1.814\/patches\/5.004_03<br \/>\nDB_File-1.814\/patches\/5.004_05<br \/>\nDB_File-1.814\/patches\/5.004_02<br \/>\nDB_File-1.814\/patches\/5.005_01<br \/>\nDB_File-1.814\/patches\/5.004_04<br \/>\nDB_File-1.814\/patches\/5.004_01<br \/>\nDB_File-1.814\/patches\/5.005<br \/>\nDB_File-1.814\/patches\/5.004<br \/>\nDB_File-1.814\/hints\/<br \/>\nDB_File-1.814\/hints\/sco.pl<br \/>\nDB_File-1.814\/hints\/dynixptx.pl<br \/>\nDB_File-1.814\/t\/<br \/>\nDB_File-1.814\/t\/db-btree.t<br \/>\nDB_File-1.814\/t\/db-recno.t<br \/>\nDB_File-1.814\/t\/db-hash.t<br \/>\nDB_File-1.814\/Changes<br \/>\nDB_File-1.814\/DB_File_BS<br \/>\nDB_File-1.814\/fallback.h<br \/>\nDB_File-1.814\/MANIFEST<br \/>\nDB_File-1.814\/typemap<br \/>\nDB_File-1.814\/ppport.h<br \/>\nDB_File-1.814\/DB_File.xs<br \/>\nDB_File-1.814\/META.yml<br \/>\nDB_File-1.814\/config.in<br \/>\nDB_File-1.814\/DB_File.pm<br \/>\nDB_File-1.814\/version.c<br \/>\nDB_File-1.814\/fallback.xs<br \/>\nDB_File-1.814\/README<br \/>\nDB_File-1.814\/Makefile.PL<br \/>\nCPAN.pm: Going to build P\/PM\/PMQS\/DB_File-1.814.tar.gz<br \/>\nParsing config.in&#8230;<br \/>\nLooks Good.<br \/>\nChecking if your kit is complete&#8230;<br \/>\nLooks good<br \/>\nWriting Makefile for DB_File<br \/>\ncp DB_File.pm blib\/lib\/DB_File.pm<br \/>\nAutoSplitting blib\/lib\/DB_File.pm (blib\/lib\/auto\/DB_File)<br \/>\ngcc -c -I\/usr\/local\/BerkeleyDB\/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I\/usr\/local\/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I\/usr\/include\/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\\&#8221;1.814\\&#8221; -DXS_VERSION=\\&#8221;1.814\\&#8221; -fPIC &#8220;-I\/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/CORE&#8221; -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t version.c<br \/>\n\/usr\/bin\/perl \/usr\/lib\/perl5\/5.8.0\/ExtUtils\/xsubpp -noprototypes -typemap \/usr\/lib\/perl5\/5.8.0\/ExtUtils\/typemap -typemap typemap DB_File.xs > DB_File.xsc &#038;&#038; mv DB_File.xsc DB_File.c<br \/>\ngcc -c -I\/usr\/local\/BerkeleyDB\/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I\/usr\/local\/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I\/usr\/include\/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\\&#8221;1.814\\&#8221; -DXS_VERSION=\\&#8221;1.814\\&#8221; -fPIC &#8220;-I\/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/CORE&#8221; -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t DB_File.c<br \/>\nRunning Mkbootstrap for DB_File ()<br \/>\nchmod 644 DB_File.bs<br \/>\nrm -f blib\/arch\/auto\/DB_File\/DB_File.so<br \/>\nLD_RUN_PATH=&#8221;\/usr\/lib&#8221; gcc -shared -L\/usr\/local\/lib version.o DB_File.o -o blib\/arch\/auto\/DB_File\/DB_File.so -ldb<br \/>\nchmod 755 blib\/arch\/auto\/DB_File\/DB_File.so<br \/>\ncp DB_File.bs blib\/arch\/auto\/DB_File\/DB_File.bs<br \/>\nchmod 644 blib\/arch\/auto\/DB_File\/DB_File.bs<br \/>\nManifying blib\/man3\/DB_File.3pm<br \/>\n\/usr\/bin\/make &#8212; OK<br \/>\nRunning make test<br \/>\nPERL_DL_NONLAZY=1 \/usr\/bin\/perl &#8220;-MExtUtils::Command::MM&#8221; &#8220;-e&#8221; &#8220;test_harness(0, &#8216;blib\/lib&#8217;, &#8216;blib\/arch&#8217;)&#8221; t\/*.t<br \/>\nt\/db-btree&#8230;.ok<br \/>\nt\/db-hash&#8230;..ok<br \/>\nt\/db-recno&#8230;.ok<br \/>\nAll tests successful.<br \/>\nFiles=3, Tests=567, 3 wallclock secs ( 1.91 cusr + 0.29 csys = 2.20 CPU)<br \/>\n\/usr\/bin\/make test &#8212; OK<br \/>\nRunning make install<br \/>\nInstalling \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/auto\/DB_File\/DB_File.so<br \/>\nInstalling \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/auto\/DB_File\/DB_File.bs<br \/>\nFiles found in blib\/arch: installing files in blib\/lib into architecture dependent library tree<br \/>\nInstalling \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/DB_File.pm<br \/>\nInstalling \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/auto\/DB_File\/autosplit.ix<br \/>\nInstalling \/usr\/share\/man\/man3\/DB_File.3pm<br \/>\nWriting \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/auto\/DB_File\/.packlist<br \/>\nAppending installation info to \/usr\/lib\/perl5\/5.8.0\/i386-linux-thread-multi\/perllocal.pod<br \/>\n\/usr\/bin\/make install &#8212; OK<br \/>\ncpan> exit<br \/>\nLockfile removed.<br \/>\n\u9069\u5f53\u306byes \u3067\u6700\u5f8c\u306b\u3000install DB_File\u3000\u30b3\u30de\u30f3\u30c9\u3067\uff2f\uff2b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Movable Type \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/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-6","post","type-post","status-publish","format-standard","hentry","category-perl"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/6","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=6"}],"version-history":[{"count":0,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}