• 締切済み

XML::RSSをインストール時にmakeが失敗します

make: *** [test_dynamic] エラー 255 というエラーが出て、インストールに失敗しました。 下記のようなエラーが出ていましたが、解決方法がわかりません。 わかる方がおられたら教えてください。お願いします。 Test Summary Report ------------------- t/load.t (Wstat: 512 Tests: 6 Failed: 1) Failed test number(s): 1 Non-zero exit status: 2 Parse errors: Tests out of sequence. Found (4) but expected (2) Tests out of sequence. Found (5) but expected (3) Tests out of sequence. Found (6) but expected (4) Tests out of sequence. Found (7) but expected (5) Tests out of sequence. Found (8) but expected (6)

みんなの回答

  • maura
  • ベストアンサー率46% (48/104)
回答No.1

XML::RSS をインストールする前に必要なモジュールが 無い場合にLoadエラーが発生しているようです。 以下のモジュールが入っているか確認してみては? version: 1.31 requires: DateTime: 0 DateTime::Format::Mail: 0 DateTime::Format::W3CDTF: 0 HTML::Entities: 0 Test::Manifest: 0.9 Test::More: 0 XML::Parser: 2.23

全文を見る
すると、全ての回答が全文表示されます。

関連するQ&A

  • DBD::mysql make test 00base.t での syntax error の原因が分からず困っています。

    MacOSX 10.4.11 MySQL 5.0.67 DBI 1.607 以上の環境で、DBD::mysql 4.008 のインストールを試みているのですが、 make test の最初で以下のエラーが出て原因が分からず困っています。 PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base....................String found where operator expected at t/00base.t line 20, near "BAIL_OUT "Unable to load DBI"" (Do you need to predeclare BAIL_OUT?) String found where operator expected at t/00base.t line 21, near "BAIL_OUT "Unable to load DBD::mysql"" (Do you need to predeclare BAIL_OUT?) syntax error at t/00base.t line 20, near "BAIL_OUT "Unable to load DBI"" syntax error at t/00base.t line 21, near "BAIL_OUT "Unable to load DBD::mysql"" BEGIN not safe after errors--compilation aborted at t/00base.t line 22. # Looks like your test died before it could output anything. t/00base....................dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay 00base.t の該当箇所も確認しましたが、スキル不足で読解できませんでした。 この構文エラーの意味と原因を教えて頂けないでしょうか。 宜しくお願い致します。

    • ベストアンサー
    • Perl
  • ports でのインストールに失敗する

     FreeBSD7.2で、portsからImageMagick-6.7.4.4_1をインストールしようとしていますが 1 out of 1 hunks failed--saving rejects to tests/validate.h.rej => Patch patch-tests-validate.h failed to apply cleanly.  というエラーが出てしまい、インストールが出来ません。  validate.h.rej を見ても、パラメタのような数字が書いてあるだけで、参考にはならないようです。  patch-tests-validate.h などで検索してもヒットせず、対処方法が分かりません。  どなたかお分かりになる方、ご教示いただけると助かります

  • RSSのXMLロードで失敗してしまう

    RSSのデータを取得する、という処理を行いたいのですが、 文字コードの件でひっかかってしまっているようで なかなか前に進むことができません。 ************ // RSSの内容を取得する $rss_text = file_get_contents(※RSSのフィードURL); // RSSの文字エンコーディングを変換→再変換 $rss_text = mb_convert_encoding($rss_text, 'SJIS', 'UTF-8'); $rss_text = mb_convert_encoding($rss_text, 'UTF-8', 'SJIS'); $rss_text = preg_replace('/[\x00-\x1f]/', '', $rss_text); // RSSをパースする $rss_xml = new SimpleXMLElement($rss_text); if ($rss_xml) { // XML解析に成功した場合 // SimpleXMLElementオブジェクトからデータを取得 $items = $rss_xml->item; foreach($items as $item) { echo 'ID:'. $item->guid. '<br />'; echo 'リンク:'. $item->link. '<br />'; echo '日付:'. $item->pubDate. '<br />'; echo 'タイトル:'. $item->title. '<br />'; echo '本文:'. $item->description. '<br />'; } } ************ こういったコードを組んでいるのですが、現状では Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : attributes construct error in... Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in... Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Couldn't find end of Start Tag rss line 1 in... Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in... Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Extra content at the end of the document in... Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in... このようなエラーが表示されてしまいます。 自分なりに文字コードを処理しているつもりではあるのですが、 他にも何かしなければならないことがあるのでしょうか? どうぞ知恵を貸していただければと思います。 よろしくお願いいたします。

    • ベストアンサー
    • PHP
  • XMLのロードに失敗する

    PHP5においてsimplexml_load_fileを使って、様々なサイトのRSS(XML)を読み込もうとしています。 一部のサイトに対してFalseが返ってきます。いまいちコンディションが掴みきれておらず うまくいくことうまくいかないことを記述させていただきます。 PHP設置環境の種類 ローカルサイト上のLinux、レンタルサーバA、レンタルサーバB、レンタルサーバC ターゲットRSS NHK http://www3.nhk.or.jp/rss/news/cat0.xml はてな http://feeds.feedburner.com/hatena/b/hotentry 毎日新聞 http://mainichi.jp/rss/etc/flash.rss 問題となるのは毎日新聞です。環境によって読めたり読めなかったりします。 ローカルでの結果 NHK、はてな、毎日新聞 いずれもOK レンタルサーバA 毎日だけNG レンタルサーバB すべてOK レンタルサーバC 毎日だけNG 今回はこのサーバAやCの問題をクリアしたいのですが方法がわかりません。 simplexml_load_fileがNHKやはてなに対して動作するのに毎日に対してのみ動かないという 観点からすると毎日側の仕様の影響かとも思うのですが、 PHPの設置環境によって動作が変わるという観点も加味すると PHPの設置環境の何かに依存し、読み込み対象が絞られる、というようなイメージを持っています。 いずれも無料サーバということもあり、検討ぐらいつけてから管理人に相談させていただくのが 良いかと思いこの場をお借りしております。 なお、レンタルサーバCは.land.toです。 よろしくお願いいたします。 エラー文 $data = simplexml_load_file($rss); if ($data == FALSE){ echo "Failed loading XML<br>\n"; foreach(libxml_get_errors() as $error) {echo "\t", $simplexml_load_fileerror->message;}//Failed loading XML was the returned error } Warning: simplexml_load_file(http://rss.yomiuri.co.jp) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/httpd/****/public_html/php/rss.php on line 9 Failed loading XML failed to load external entity "http://rss.yomiuri.co.jp" なお、rss.phpのline 9は $data = simplexml_load_file($rss);です。

    • ベストアンサー
    • PHP
  • mikroC PRO for PICでのエラー

    http://www8.plala.or.jp/InHisTime/LABO-028/ymz294.c 上記のプログラムを組むと下記のエラーが出てしまいます。 ・87 380 Arguments cannot have explicit memory specificator fwamima1.c ・92 402 ; expected, but '1' found fwamima1.c ・92 424 '}' expected ';' found fwamima1.c ・154 324 Undeclared identifier 'setTone' in expression fwamima1.c ・159 407 'case' out of switch fwamima1.c ・160 424 '}' expected ';' found fwamima1.c 左の数字は「LINE」右の数字は「メッセージナンバー」です。 どこが間違っているのかおしえていただけないでしょうか?よろしくお願いします。

  • Catalyst::Plugin::Charsets::Japaneseのインストールに失敗します。

    CatalystのプラグインであるCatalyst::Plugin::Charsets::Japaneseのインストールが出来ず、困っています。プラグインのインストールを、下記の手順で行ったところ、以下のログが得られ、make testで失敗していることが分かりました。 -------------------------------------------------- # perl -MCPAN -e shell cpan[1]> install Catalyst::Plugin::Charsets::Japanese Running install for module 'Catalyst::Plugin::Charsets::Japanese' Running make for L/LY/LYOKATO/Catalyst-Plugin-Charsets-Japanese-0.06.tar.gz (略) Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_compile...........ok t/01_pod...............ok t/02_handler...........ok t/03_sjis_to_euc.......1/4 HTTP::Message content must be bytes at /usr/lib/perl5/site_perl/5.8.8/Test/WWW/Mechanize/Catalyst.pm line 88 # Looks like you planned 4 tests but only ran 2. # Looks like your test died just after 2. t/03_sjis_to_euc....... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/4 subtests t/04_sjis_to_utf8......1/4 HTTP::Message content must be bytes at /usr/lib/perl5/site_perl/5.8.8/Test/WWW/Mechanize/Catalyst.pm line 88 # Looks like you planned 4 tests but only ran 2. # Looks like your test died just after 2. t/04_sjis_to_utf8...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/4 subtests (略) Running make install make test had returned bad status, won't install without force Failed during this command: LYOKATO/Catalyst-Plugin-Charsets-Japanese-0.06.tar.gz: make_test NO -------------------------------------------------- make testで実行されるテストは、下記の11個です。このうち、03~11のテストで"HTTP::Message content must be bytes at /usr/lib/perl5/site_perl/5.8.8/Test/WWW/Mechanize/Catalyst.pm line 88"というエラーでtestに失敗しています。 -------------------------------------------------- 00_compile.t 01_pod.t 02_handler.t 03_sjis_to_euc.t 04_sjis_to_utf8.t 05_sjis_to_sjis.t 06_euc_to_euc.t 07_euc_to_utf8.t 08_euc_to_sjis.t 09_utf_to_euc.t 10_utf_to_utf.t 11_utf_to_euc.t -------------------------------------------------- 日本語を扱うためのプラグインをインストールするのに、環境変数LANGがen_US.UTF-8になっていることが、インストールできない原因であるのかと思い、環境変数LANGをja_JP.UTF-8にしてインストールを試みて見ましたが、やはりインストールに失敗しました。 どうしてインストールに失敗するのか、どうすればインストールすることができるのか、ご教授頂けると幸いです。 また、足りない情報がありましたらご提供致しますので、ご指導よろしくお願い致します。

    • ベストアンサー
    • Perl
  • Openldapインストールmake testでエラー

    Openldapのインストールについて質問があります。 1度は、正常にOpenldapのインストールは、成功したのですが Openldapを再インストールしようと思い実行したのですが、 make testで、下記のエラーが表示されました。 Initiating LDAP tests for BDB... Running ./scripts/all... >>>>> Executing all LDAP tests for bdb >>>>> Starting test000-rootdse ... running defines.sh Starting slapd on TCP/IP port 9011... Using ldapsearch to retrieve the root DSE... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... Waiting 5 seconds for slapd to start... ldap_bind: Can't contact LDAP server (-1) >>>>> Test failed >>>>> ./scripts/test000-rootdse failed (exit 1) make[2]: *** [bdb-yes] Error 1 make[2]: Leaving directory `/var/tmp/src/ldap/openldap-2.2.17/tests' make[1]: *** [test] Error 2 make[1]: Leaving directory `/var/tmp/src/ldap/openldap-2.2.17/tests' make: *** [test] Error 2 ネットで調べたのですが、有力な情報がなかったので、知っている方がいれば教えて頂けたら幸いです。 BerkeleyDB.4.7のパッチは、当てています。 http://www.tail.gr.jp/wiki/?OpenLDAP CPPFLAGS="-I/usr/local/BerkeleyDB.4.7/include -I/usr/loca/ssl/include -I/usr/local/include" export CPPFLAGS LDFLAGS="-L/usr/local/BerkeleyDB.4.7/lib -R/usr/loca/BerkeleyDB.4.7/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib" export LDFLAGS ./configure --enable-crypt make depend make ここまでは、エラー無く通っています。 make test よろしくお願いします。

  • NET::SSLeayのインストールにおいて

    webminにてNET::SSLeayをインストールしていると最後に下のようなエラーが出ました。 これを回避する方法はどうすればいいのでしょうか? Spawning a TCP test server on port 1211, pid=27468... Out of memory! *** not ok 5tcp Now about to contact external sites... www.bacus.pt www.cdw.com banking.wellsfargo.com secure.worldgaming.net www.ubs.com You have 5 seconds of time to hit Ctrl-C if you do not like this. *** 1 tests failed already. Following tests _will_ fail if you do not have network connectivity (or if the servers are down or have changed). *** not ok 14 www.bacus.p

  • postgreSQL8.4.4のmakecheck失敗

    postgreSQL8.4.4のmakecheck失敗 皆様 初めて質問いたします。 どうか宜しくお願いします。 要約としてはインストール中の確認作業であるmakecheckが失敗する理由が分かりません。 私の開発環境は以下になります。 ■カーネル:2.6.18 ■ディストリビューション:Debian(etch) ■postgre8.1.8(debian提供のバイナリからインストール) 上記の環境に以下の手順でインストール作業を行いました。 (1)本家からDLしたpostgre8.4.4のtgzデータをユーザー:postgresで解凍 (2)ユーザーpostgresで./configure (3)ユーザーpostgresでコンパイル(make all) (4)ユーザーpostgresで確認(make check) そうすると以下のエラーメッセージが出力されます。 test stats ... FAILED test tablespace ... ok ============== shutting down postmaster ============== server stopped ======================== 1 of 120 tests failed. ======================== The differences that caused some tests to fail can be viewed in the file "/var/home/postgre/postgresql-8.4.4/src/test/regress/regression.diffs". A copy of the test summary that you see above is saved in the file "/var/home/postgre/postgresql-8.4.4/src/test/regress/regression.out". ------------------------------------------------------------- ここではtest stat(統計情報取得)が失敗しているようです。 ログには以下のようにも記載されています。 SELECT wait_for_stats(); WARNING: pgstat wait timeout CONTEXT: SQL statement "SELECT (st.idx_scan >= pr.idx_scan + 1) FROM pg_stat_user_tables AS st, pg_class AS cl, prevstats AS pr WHERE st.relname='tenk2' AND cl.relname='tenk2'" PL/pgSQL function "wait_for_stats" line 9 at SQL statement このようにpg_statがtimeoutしているため、make checkが失敗しているのだと感じました。 そこで、 Q1. タイムアウトする原因と対策方法 上記をご教授していただけないでしょうか? 宜しくお願いします。

  • libxml2 make 失敗

    CentOS-6.2で開発用のAPサーバを構築中です。 「libxml2」をmake install したいのですが、makeが上手くいっていないように思います。 「libxml2-2.6.26」が現在インストールされているのですが、「libxml2-2.6.30」を導入しようとしています。色々調べて実施しているのですが、ログを読み取れていないので苦戦しています。。 何が原因なのでしょうか。 以下に気になる箇所のログを記載しました。 よろしくお願いいたします。 ※補足 rpmでインストールも試したのですが、それも「依存性の欠如」エラーで上手くいかない状況です。 インストールされているのに「ない」とエラーが出たりです・・・ threads.c:57: warning: redundant redeclaration of 'pthread_once' /usr/include/pthread.h:466: warning: previous declaration of 'pthread_once' was here threads.c:59: warning: redundant redeclaration of 'pthread_getspecific' /usr/include/pthread.h:1076: warning: previous declaration of 'pthread_getspecific' was here threads.c:62: warning: redundant redeclaration of 'pthread_setspecific' /usr/include/pthread.h:1080: warning: previous declaration of 'pthread_setspecific' was here threads.c:65: warning: redundant redeclaration of 'pthread_key_create' /usr/include/pthread.h:1070: warning: previous declaration of 'pthread_key_create' was here threads.c:67: warning: function declaration isn't a prototype threads.c:67: warning: redundant redeclaration of 'pthread_mutex_init' /usr/include/pthread.h:720: warning: previous declaration of 'pthread_mutex_init' was here threads.c:69: warning: function declaration isn't a prototype threads.c:69: warning: redundant redeclaration of 'pthread_mutex_destroy' /usr/include/pthread.h:724: warning: previous declaration of 'pthread_mutex_destroy' was here threads.c:71: warning: function declaration isn't a prototype threads.c:71: warning: redundant redeclaration of 'pthread_mutex_lock' /usr/include/pthread.h:732: warning: previous declaration of 'pthread_mutex_lock' was here threads.c:73: warning: function declaration isn't a prototype threads.c:73: warning: redundant redeclaration of 'pthread_mutex_unlock' /usr/include/pthread.h:743: warning: previous declaration of 'pthread_mutex_unlock' was here threads.c:75: warning: function declaration isn't a prototype threads.c:75: warning: redundant redeclaration of 'pthread_cond_init' /usr/include/pthread.h:927: warning: previous declaration of 'pthread_cond_init' was here threads.c:77: warning: function declaration isn't a prototype threads.c:431: warning: unused variable 'err' testapi.c:17978: 警告: ‘gen_xmlSchematronPtr’ defined but not used testapi.c:17981: 警告: ‘des_xmlSchematronPtr’ defined but not used testapi.c:17998: 警告: ‘gen_xmlSchematronParserCtxtPtr’ defined but not used testapi.c:33930: 警告: ‘gen_xmlSAXHandlerPtr_ptr’ defined but not used testapi.c:33933: 警告: ‘des_xmlSAXHandlerPtr_ptr’ defined but not used make[3]: ディレクトリ `/home/myapp/libxml2-2.6.30/doc/examples' から出ます make[3]: ディレクトリ `/home/myapp/libxml2-2.6.30/doc' に入ります make[3]: `all-am' に対して行うべき事はありません. make[3]: ディレクトリ `/home/myapp/libxml2-2.6.30/doc' から出ます I/O error : Attempt to load network entity http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ../doc/news.html:2: warning: failed to load external entity "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" reating gjobread make[2]: ディレクトリ `/home/myapp/libxml2-2.6.30/example' から出ます Making all in xstc make[2]: ディレクトリ `/home/myapp/libxml2-2.6.30/xstc' に入ります make[2]: `all' に対して行うべき事はありません. make[2]: ディレクトリ `/home/myapp/libxml2-2.6.30/xstc' から出ます make[1]: ディレクトリ `/home/myapp/libxml2-2.6.30' から出ます