logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

XML::Parser And XML::Simple Install: msg#00017

Subject: XML::Parser And XML::Simple Install
Hi all,

Writing to see if anyone can provide help in getting XML::Simple 2.09
installed.  Running Perl v5.8.1 and after some playing got Expat 1.95.1
to compile and *looks* like XML::Parser 2.34 made okay.  There were some
warnings about long symbols that were trimmed (see listing below) -- not
sure if this is a problem, but mmk test and mmk install seemed to go
okay.

Now in the process of trying to get XML::Simple going and get errors
during the make test phase (listed below).  I'm quite the novice at
this, so could be missing something fairly simple.  Any help on this is
greatly appreciated.

- Chris

(P.S.  Sorry this is so long)


System Details:
OpenVMS 7.3 Running on an Alpha GS80
Compaq C V6.4-005 on OpenVMS Alpha V7.3
Perl v5.8.1
MMK V3.8

---------------------------------------
MMK and MMK Test on XML::Parser

$ mmk
cp [.parser.encodings]iso-8859-7.enc
[.blib.lib.xml.parser.encodings]iso-8859-7.
enc
cp [.parser.encodings]windows-1252.enc
[.blib.lib.xml.parser.encodings]windows-1
252.enc
cp [.parser.encodings]windows-1250.enc
[.blib.lib.xml.parser.encodings]windows-1
250.enc
cp [.parser.style]debug.pm [.blib.lib.xml.parser.style]debug.pm
cp [.parser.encodings]iso-8859-4.enc
[.blib.lib.xml.parser.encodings]iso-8859-4.
enc
cp [.parser.encodings]x-sjis-unicode.enc
[.blib.lib.xml.parser.encodings]x-sjis-
unicode.enc
cp [.parser.style]subs.pm [.blib.lib.xml.parser.style]subs.pm
cp [.parser.encodings]x-euc-jp-unicode.enc
[.blib.lib.xml.parser.encodings]x-euc
-jp-unicode.enc
cp [.parser.encodings]x-sjis-cp932.enc
[.blib.lib.xml.parser.encodings]x-sjis-cp
932.enc
cp [.parser.encodings]x-sjis-jdk117.enc
[.blib.lib.xml.parser.encodings]x-sjis-j
dk117.enc
cp [.parser.encodings]iso-8859-8.enc
[.blib.lib.xml.parser.encodings]iso-8859-8.
enc
cp [.parser.encodings]iso-8859-2.enc
[.blib.lib.xml.parser.encodings]iso-8859-2.
enc
cp [.parser.style]objects.pm [.blib.lib.xml.parser.style]objects.pm
cp [.parser.encodings]iso-8859-9.enc
[.blib.lib.xml.parser.encodings]iso-8859-9.
enc
cp [.parser.style]stream.pm [.blib.lib.xml.parser.style]stream.pm
cp [.parser.encodings]euc-kr.enc
[.blib.lib.xml.parser.encodings]euc-kr.enc
cp parser.pm [.blib.lib.xml]parser.pm
cp [.parser]lwpexternent.pl [.blib.lib.xml.parser]lwpexternent.pl
cp [.parser.encodings]x-euc-jp-jisx0221.enc
[.blib.lib.xml.parser.encodings]x-eu
c-jp-jisx0221.enc
cp [.parser.encodings]japanese_encodings.msg
[.blib.lib.xml.parser.encodings]jap
anese_encodings.msg
cp [.parser.encodings]big5.enc [.blib.lib.xml.parser.encodings]big5.enc
cp [.parser.style]tree.pm [.blib.lib.xml.parser.style]tree.pm
cp [.parser.encodings]iso-8859-3.enc
[.blib.lib.xml.parser.encodings]iso-8859-3.
enc
cp [.parser.encodings]readme. [.blib.lib.xml.parser.encodings]readme.
cp [.parser.encodings]x-sjis-jisx0221.enc
[.blib.lib.xml.parser.encodings]x-sjis
-jisx0221.enc
cp [.parser.encodings]iso-8859-5.enc
[.blib.lib.xml.parser.encodings]iso-8859-5.
enc
olddef = F$Environment("Default")
Set Default [.Expat]
MMK all /Macro=(LIB="", LIBPERL_A="libperl.olb",
LINKTYPE="dynamic",
PREFIX="",      OPTIMIZE="/NoList",     PASTHRU_DEFINE="",
PASTHRU_INC="")
cp expat.pm [-.blib.lib.xml.parser]expat.pm
MCR $1$dkc300:[perl5_8_1]perl.exe -e "use ExtUtils::Mksymlists;"
-e "Mksy
mlists('NAME' => 'XML::Parser::Expat', 'DL_FUNCS' => {  }, 'DL_VARS' =>
[], 'FUN
CLIST' => [])"
MCR $1$dkc300:[perl5_8_1]perl.exe -e "print
""[-.blib.arch.auto.XML.Parser.Expat
]Expat.olb/Include=Expat\n[-.blib.arch.auto.XML.Parser.Expat]Expat.olb/Library\n

"";" >>EXPAT.OPT
MCR $1$dkc300:[perl5_8_1]perl.exe -e "print
qq{\$1\$DKC300:[MODULES.LIBRARIES.EX
PAT.LIB]expat/Library\nPerlShr/Share\n}" >>EXPAT.OPT
Copy/NoConfirm EXPAT.OPT [-.BLIB.ARCH.AUTO.XML.PARSER.EXPAT]EXPAT.OPT
MCR $1$dkc300:[perl5_8_1]perl.exe perl_root:[lib.ExtUtils]xsubpp
-noprototypes -
typemap perl_root:[lib.ExtUtils]typemap -typemap typemap EXPAT.xs
>EXPAT.C
Warning: long symbol XML__Parser__Expat_ParserCreate
        trimmed to XML_Ps_Eat_ParserCreate
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_ParserRelease
        trimmed to XML_Ps_EatPsRee
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_ParserFree
        trimmed to XML_Parser_Expat_ParserFree
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_ParseString
        trimmed to XML_Parser_Expat_ParseString
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_ParseStream
        trimmed to XML_Parser_Expat_ParseStream
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_ParsePartial
        trimmed to XML_Ps_Eat_ParsePartial
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetStartElementHandler
        trimmed to XML_Ps_EatSSrtEmtHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetEndElementHandler
        trimmed to XML_Ps_EatSEEmtHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetCharacterDataHandler
        trimmed to XML_Ps_EatSCrtDaHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetProcessingInstructionHandler
        trimmed to XML_Ps_EatSPciItconHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetCommentHandler
        trimmed to XML_Ps_EatSCeHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetDefaultHandler
        trimmed to XML_Ps_EatSDatHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetUnparsedEntityDeclHandler
        trimmed to XML_Ps_EatSUaedEiDlHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetNotationDeclHandler
        trimmed to XML_Ps_EatSNaonDlHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetExternalEntityRefHandler
        trimmed to XML_Ps_EatSEealEiRHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetExtEntFinishHandler
        trimmed to XML_Ps_EatSEEFiHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetEntityDeclHandler
        trimmed to XML_Ps_EatSEiDlHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetElementDeclHandler
        trimmed to XML_Ps_EatSEmtDlHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetAttListDeclHandler
        trimmed to XML_Ps_EatSAtLtDlHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetDoctypeHandler
        trimmed to XML_Ps_EatSDteHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetEndDoctypeHandler
        trimmed to XML_Ps_EatSEDteHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetXMLDeclHandler
        trimmed to XML_Ps_EatSXMLDlHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_PositionContext
        trimmed to XML_Ps_EatPionCtt
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_GenerateNSName
        trimmed to XML_Ps_EatGeteNSNe
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_DefaultCurrent
        trimmed to XML_Ps_EatDatCe
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_RecognizedString
        trimmed to XML_Ps_EatRoidSi
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_GetErrorCode
        trimmed to XML_Parser_Expat_GetErorCode
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_GetCurrentLineNumber
        trimmed to XML_Ps_EatGCeLeNb
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_GetCurrentColumnNumber
        trimmed to XML_Ps_EatGCeCuNb
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_GetCurrentByteIndex
        trimmed to XML_Ps_EatGCeBeIex
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_GetSpecifiedAttributeCount
        trimmed to XML_Ps_EatGSciAiteCnt
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_ErrorString
        trimmed to XML_Parser_Expat_ErrorString
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_LoadEncoding
        trimmed to XML_Ps_Eat_LoadEncoding
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_FreeEncoding
        trimmed to XML_Parser_Expat_FreEncoding
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_OriginalString
        trimmed to XML_Ps_EatOgalSi
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetStartCdataHandler
        trimmed to XML_Ps_EatSSrtCtaHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_SetEndCdataHandler
        trimmed to XML_Ps_EatSECtaHdr
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_UnsetAllHandlers
        trimmed to XML_Ps_EatUetAlHdrs
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_ElementIndex
        trimmed to XML_Ps_Eat_ElementIndex
         at perl_root:[lib.extutils]xsubpp line 1126
Warning: long symbol XML__Parser__Expat_Do_External_Parse
        trimmed to XML_Ps_Eat_Do_Eeal_Parse
         at perl_root:[lib.extutils]xsubpp line 1126
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj
/float=ieee/ieee=d
enorm_results/Define=("VERSION=""2.34""","XS_VERSION=""2.34""")/Include=(perl_ro

ot:[lib.VMS_AXP.5_8_1.CORE],$1$DKC300:[MODULES.LIBRARIES.EXPAT.LIB])/NoList
EXP
AT.c
If F$Search("[-.BLIB.ARCH.AUTO.XML.PARSER.EXPAT]EXPAT.OLB").eqs."" Then
Library/
Object/Create [-.BLIB.ARCH.AUTO.XML.PARSER.EXPAT]EXPAT.OLB
Library/Object/Replace [-.BLIB.ARCH.AUTO.XML.PARSER.EXPAT]EXPAT.OLB
EXPAT.OBJ
If F$TrnLNm("PerlShr").eqs."" Then Define/NoLog/User PerlShr
Sys$Share:PerlShr.e
xe
Link /NoTrace/NoMap
/Shareable=[-.BLIB.ARCH.AUTO.XML.PARSER.EXPAT]PL_XML__PARSER
__EXPAT.EXE
Expat.opt/Option,perl_root:[lib.VMS_AXP.5_8_1.CORE]perlshr_attr.opt/
Option
Running mkbootstrap for XML::Parser::Expat ()
Copy/NoConfirm Expat.bs [-.blib.arch.auto.XML.Parser.Expat]Expat.bs
Set Default 'olddef'
MCR $1$dkc300:[perl5_8_1]perl.exe -e "use ExtUtils::Mksymlists;"
-e "Mksy
mlists('NAME' => 'XML::Parser', 'DL_FUNCS' => {  }, 'DL_VARS' => [],
'FUNCLIST'
=> [])"
MCR $1$dkc300:[perl5_8_1]perl.exe -e "print
""/Include=()\n/Library\n"";" >>PARS
ER.OPT
MCR $1$dkc300:[perl5_8_1]perl.exe -e "print qq{PerlShr/Share\n}"
>>PARSER.OPT
Copy/NoConfirm PARSER.OPT [.BLIB.ARCH.AUTO.XML.PARSER]PARSER.OPT


$ mmk test
olddef = F$Environment("Default")
Set Default [.Expat]
MMK all /Macro=(LIB="", LIBPERL_A="libperl.olb",
LINKTYPE="dynamic",
PREFIX="",      OPTIMIZE="/NoList",     PASTHRU_DEFINE="",
PASTHRU_INC="")
Set Default 'olddef'
MCR $1$dkc300:[perl5_8_1]perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0
, '[.blib.lib]', '[.blib.arch]')" t/*.t
t/astress.........
ok
t/cdata...........
ok
t/decl............
ok
t/defaulted.......
ok
t/encoding........
"my" variable $p masks earlier declaration in same scope at t/encoding.t
line 94
.
ok
t/external_ent....
Couldn't load LWP based external entity handler
Switching to file-based external entity handler
 (To avoid this message, use NoLWP option to XML::Parser)
ok
t/file............
ok
t/finish..........
ok
t/namespaces......
ok
t/parament........
Couldn't load LWP based external entity handler
Switching to file-based external entity handler
 (To avoid this message, use NoLWP option to XML::Parser)
ok
t/partial.........
ok
t/skip............
ok
t/stream..........
ok
t/styles..........
ok
All tests successful.
Files=14, Tests=130, 14 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00
CPU)
$

-------------------------------------------------------------------------------------

MMK and MMK Test on XML::Simple

$ set def $1$DKC300:[XML-SIMPLE-2_09]
$
$ mmk clean
MCR $1$dkc300:[perl5_8_1]perl.exe "-MExtUtils::Command" -e rm_f *.Map
*.Dmp *.Li
s *.cpp *.exe *.obj *.olb *.Opt  Simple.bso .MM_Tmp
MCR $1$dkc300:[perl5_8_1]perl.exe "-MExtUtils::Command" -e rm_rf  blib
[.blib.ar
ch.auto.XML.Simple]extralibs.ld pm_to_blib.ts
MCR $1$dkc300:[perl5_8_1]perl.exe "-MExtUtils::Command" -e rm_rf
[.blib.arch.aut
o.XML.Simple]extralibs.all perlmain.c Makeaperl.MMS pm_to_blib
$
$
$ perl makefile.pl
Checking installed modules ...
XML::Parser is installed, it will be used by the test suite
Checking if your kit is complete...
Looks good
Writing Descrip.MMS for XML::Simple
$ mmk
cp [.lib.xml.simple]faq.pod [.blib.lib.xml.simple]faq.pod
cp [.lib.xml]simple.pm [.blib.lib.xml]simple.pm
$ mmk test
MCR $1$dkc300:[perl5_8_1]perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0
, '[.blib.lib]', '[.blib.arch]')" t/*.t
t/0_config........
# Package                        Version
#  perl                           5_8_1
#  XML::Simple                    2.09
#  Storable                       2.08
#  XML::Parser                    2.34 (default parser)
#  XML::SAX                       Not Installed
ok
t/1_xmlin.........
ok
t/2_xmlout........
ok
t/3_storable......
Storable::lock_store: fcntl/flock emulation broken on VMS at
/$1$DKC300/XML-SIMP
LE-2_09/blib/lib/XML/Simple.pm line 362
Storable::lock_store: fcntl/flock emulation broken on VMS at
/$1$DKC300/XML-SIMP
LE-2_09/blib/lib/XML/Simple.pm line 388
Storable::lock_store: fcntl/flock emulation broken on VMS at
/$1$DKC300/XML-SIMP
LE-2_09/blib/lib/XML/Simple.pm line 362
#     Failed test (t/3_storable.t at line 137)
#          got: '1077143819'
#     expected: '1077143820'
Storable::lock_store: fcntl/flock emulation broken on VMS at
/$1$DKC300/XML-SIMP
LE-2_09/blib/lib/XML/Simple.pm line 362
#     Failed test (t/3_storable.t at line 150)
Storable::lock_store: fcntl/flock emulation broken on VMS at
/$1$DKC300/XML-SIMP
LE-2_09/blib/lib/XML/Simple.pm line 388

no element found at line 1, column 0, byte 0 at
/perl_root/lib/site_perl/VMS_AXP
/XML/Parser.pm line 187
# Looks like you planned 21 tests but only ran 13.
# Looks like your test died just after 13.
%SYSTEM-F-ABORT, abort
dubious
        Test returned status 44 (wstat 1024, 0x400)
                (VMS status is 44)
DIED. FAILED tests 8, 11, 14-21
        Failed 10/21 tests, 52.38% okay
t/4_memshare......
#     Failed test (t/4_memshare.t at line 117)
# Looks like you failed 1 tests of 8.
%SYSTEM-F-ABORT, abort
dubious
        Test returned status 44 (wstat 1024, 0x400)
                (VMS status is 44)
DIED. FAILED test 3
        Failed 1/8 tests, 87.50% okay
t/5_memcopy.......
#     Failed test (t/5_memcopy.t at line 121)
# Looks like you failed 1 tests of 7.
%SYSTEM-F-ABORT, abort
dubious
        Test returned status 44 (wstat 1024, 0x400)
                (VMS status is 44)
DIED. FAILED test 3
        Failed 1/7 tests, 85.71% okay
t/6_objintf.......
ok
t/7_saxstuff......
skipped
        all skipped: no XML::SAX
t/8_namespaces....
skipped
        all skipped: no XML::SAX
t/9_strict........
ok
Failed Test    Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------

t/3_storable.t   44  1024    21   18  85.71%  8 11 14-21
t/4_memshare.t   44  1024     8    1  12.50%  3
t/5_memcopy.t    44  1024     7    1  14.29%  3
2 tests skipped.
Failed 3/10 test scripts, 70.00% okay. 12/398 subtests failed, 96.98%
okay.
%SYSTEM-F-ABORT, abort
%MMK-F-ERRUPD, error status %X0000002C occurred when updating target
TEST_DYNAMI
C
$






<Prev in Thread] Current Thread [Next in Thread>