Craig A. Berry wrote: > At 3:06 PM -0800 2/18/04, Chris Smith wrote: > >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.
> The long symbol warnings are ok. xsubpp does its own name mangling. > > > >Now in the process of trying to get XML::Si > >$ 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 > Well, flock emulation isn't exactly broken, it's non-existent. Files > are not opened for shared access by default on VMS, so some, but by > no means all, of the locking activities performed by flock or fcntl > on Unix systems are unnecessary on VMS. One would really have to > look at exactly what is being locked and why. Note that there is a > VMS::Lock extension on CPAN that uses native lock management > services. I've never tried to build XML::Simple, so I don't really > know how serious the issues are or whether there might be a simple > workaround. I just submitted a CPAN bug report with a patch for XML::Simple 2.13 on VMS, see ticket 9091. http://rt.cpan.org/NoAuth/Bug.html?id=9091 I decided to avoid introducing (additional) file lock code for VMS, and replaced the calls: Storable::lock_nstore => Storable::nstore Storable::lock_retrieve => Storable::retrieve I also replaced: unlink($XMLFile); => 1 while (unlink($XMLFile)); for VMS in 3 test cases. Peter (Stig) Edwards