hi, i isntalled the perl module XML-DB,with make test this is the error:
XML-DB]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl Please select the database you wish to test: 1 Xindice 3 File 2 eXist Note that (apart from File) the database must be running to use the te +sts Driver number: 3 New url for db? [./t/file]: ./t/file Continuing with File driver at ./t/file ... t/01_ini....1..13 ok 1 - Checking File.pm exists ok 2 - Creating new File driver NO_SUCH_COLLECTION: ./t/file/db in File::createCollection at blib/lib/ +XML/DB/Database/File.pm line 71. not ok 3 - Created collection # Failed test (t/01_ini.t at line 26) CANNOT_OPEN_COLLECTION: ./t/file/db in File::listChildCollections at b +lib/lib/XML/DB/Database/File.pm line 116. not ok 4 - listed child collection # Failed test (t/01_ini.t at line 39) CANNOT_REMOVE_COLLECTION: ./t/file/db/perltest in File::dropCollection + at blib/lib/XML/DB/Database/File.pm line 106. not ok 5 - dropped collection # Failed test (t/01_ini.t at line 48) NO_SUCH_COLLECTION: ./t/file/db in File::createCollection at blib/lib/ +XML/DB/Database/File.pm line 71. VENDOR_ERROR: ./t/file/db/perltest/testlet.xml in File::insertDocument No such file or directory at blib/lib/XML/DB/Database/File.pm line 203 +. not ok 6 - inserted document # Failed test (t/01_ini.t at line 66) CANNOT_OPEN_COLLECTION: ./t/file/db/perltest in File::getDocumentCount + at blib/lib/XML/DB/Database/File.pm line 183. not ok 7 - gets document count # Failed test (t/01_ini.t at line 77) not ok 8 - fetches document back # Failed test (t/01_ini.t at line 87) not ok 9 - created id # Failed test (t/01_ini.t at line 97) CANNOT_OPEN_COLLECTION: ./t/file/db/perltest in File::listDocuments at + blib/lib/XML/DB/Database/File.pm line 216. Use of uninitialized value in string eq at t/01_ini.t line 107. not ok 10 - listed document # Failed test (t/01_ini.t at line 107) Empty String at blib/lib/XML/DB/Database/File.pm line 237 not ok 11 - queried document # Failed test (t/01_ini.t at line 118) CANNOT_OPEN_COLLECTION: ./t/file/db/perltest in File::listDocuments at + blib/lib/XML/DB/Database/File.pm line 216. not ok 12 - queried collection # Failed test (t/01_ini.t at line 128) FILE_ERROR: File::removeDocument() at blib/lib/XML/DB/Database/File.pm + line 263.CANNOT_OPEN_COLLECTION: ./t/file/db/perltest in File::listD +ocuments at blib/lib/XML/DB/Database/File.pm line 216. ok 13 - removed document CANNOT_REMOVE_COLLECTION: ./t/file/db/perltest in File::dropCollection + at blib/lib/XML/DB/Database/File.pm line 106. # Looks like you failed 10 tests of 13. dubious Test returned status 10 (wstat 2560, 0xa00) DIED. FAILED tests 3-12 Failed 10/13 tests, 23.08% okay t/02_ini....1..18 "my" variable %clist masks earlier declaration in same scope at t/02_i +ni.t line 148. NO_SUCH_COLLECTION: ./t/file/db in File::createCollection at blib/lib/ +XML/DB/Database/File.pm line 71. # Looks like your test died before it could output anything. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-18 Failed 18/18 tests, 0.00% okay t/03_ini....1..11 Name "main::id" used only once: possible typo at t/03_ini.t line 174. NO_SUCH_COLLECTION: ./t/file/db in File::createCollection at blib/lib/ +XML/DB/Database/File.pm line 71. # Looks like your test died before it could output anything. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-11 Failed 11/11 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/01_ini.t 10 2560 13 10 76.92% 3-12 t/02_ini.t 2 512 18 36 200.00% 1-18 t/03_ini.t 2 512 11 22 200.00% 1-11 Failed 3/3 test scripts, 0.00% okay. 39/42 subtests failed, 7.14% okay +. make: *** [test_dynamic] Error 2
the test result is same with the all three options,plz help me.

Edit by castaway - added readmore tags


In reply to XML-DB test error by shams

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.