XML::Sax::Writer build error (long data)

M

mpersico

Is there anyone out there familiar with this module? I am getting an
error in the build and email to the apparent author's email address on
CPAN was rejected.

I want to install this module so I can use XML-Generator-DBI-1.00.

Is there a better way than XML-Generator-DBI-1.00 (read: another
module) to generate XML from DBI w/o coding it myself?

As to the error, I have included the
build output
snip of code complaining
module versions
perl -V

Thank you
--
Matthew Persico
Vice President
Lazard
30 Rockefeller Plaza
New York, NY 10020, USA
Phone Number: 212.632.8255
Fax Number: 212.332.5904
Email: (e-mail address removed)
--

__DATA__

1) build output

[184] $ make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /opt/perl/bin/5.6.1/perl "-MExtUtils::Command::MM"
"-e"
"test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/05basic........1..27
ok 1 - use XML::SAX::Writer;
ok 2 - default EncodeFrom
ok 3 - default EncodeTo
ok 4 - default Output isa IO::Handle
ok 5 - default Format
ok 6 - default Escape
ok 7 - set EncodeFrom
ok 8 - set EncodeTo
ok 9 - set Output
ok 10 - set Format
ok 11 - set Escape
ok 12 - null converter for noop encoding isa
XML::SAX::Writer::NullConverter
ok 13 - ns support isa XML::NamespaceSupport
ok 14 - escaper regex
ok 15 - ns stack
ok 16 - ns stack is clear
ok 17 - consumer is set isa XML::SAX::Writer::ConsumerInterface
Unsupported conversion: Invalid argument at
/home/persicom/perl.nydux-ast401/src/XML-SAX-Writer-0.44/blib/lib/XML/SAX/Writer.pm
line 70.
# Looks like you planned 27 tests but only ran 17.
# Looks like your test died just after 17.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 18-27
Failed 10/27 tests, 62.96% okay
t/10consumers....1..15
ok 1 - StringConsumer isa XML::SAX::Writer::StringConsumer
ok 2 - content is set
ok 3 - ArrayConsumer isa XML::SAX::Writer::ArrayConsumer
ok 4 - content (1)
ok 5 - content (2)
ok 6 - FileConsumer isa XML::SAX::Writer::FileConsumer
ok 7 - HandleConsumer isa XML::SAX::Writer::HandleConsumer
ok 8 - file content (1)
ok 9 - file content (2)
ok 10
ok 11 - start_document
ok 12 - data
ok 13 - end_document
ok 14 - <foo />
ok 15 - <foo />
ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/05basic.t 255 65280 27 20 74.07% 18-27
Failed 1/2 test scripts, 50.00% okay. 10/42 subtests failed, 76.19%
okay.
*** Error code 11
make: Fatal error: Command failed for target `test_dynamic'
The lines in question are:

2) snippet of complaining code
67 sub setConverter {
68 my $self = shift;
69
70 if (lc($self->{EncodeFrom}) ne lc($self->{EncodeTo})) {
71 $self->{Encoder} =
Text::Iconv->new($self->{EncodeFrom},
$self->{EncodeTo});
72 }
73 else {
74 $self->{Encoder} =
XML::SAX::Writer::NullConverter->new;
75 }
76 return $self;
77 }

3) modules:

[187] $ perl_version XML::NamespaceSupport Text::Iconv
XML::Filter::BufferText
XML::SAX::Exception

(module version => location)
XML::NamespaceSupport 1.09 =>
/home/persicom/perl.nydux-ast401/lib/site_perl/5.6.1/XML/NamespaceSupport.pm
Text::Iconv 1.4 =>
/home/persicom/perl.nydux-ast401/lib/site_perl/5.6.1/sun4-solaris/Text/Iconv.pm
XML::Filter::BufferText 1.01 =>
/home/persicom/perl.nydux-ast401/lib/site_perl/5.6.1/XML/Filter/BufferText.pm
XML::SAX::Exception 1.01 =>
/home/persicom/perl.nydux-ast401/lib/site_perl/5.6.1/XML/SAX/Exception.pm


4) perl -V

[185] $ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1)
configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos nycux-tch108 5.8 generic_117350-18 sun4u sparc
sunw,ultra-80 '
config_args='-d'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' '
libpth=/usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G '


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Jun 20 2005 12:06:32
%ENV:

PERL5LIB="/home/persicom/perl.nydux-ast401/lib/5.6.1:/home/persicom/perl.nydux-ast401/lib/site_perl:/am/common/lib/5.6.1:/am/common/lib/site_perl:/sa/common/lib/5.6.1:/sa/common/lib/site_perl"
@INC:
/home/persicom/perl.nydux-ast401/lib/5.6.1/sun4-solaris
/home/persicom/perl.nydux-ast401/lib/5.6.1
/home/persicom/perl.nydux-ast401/lib/site_perl/5.6.1/sun4-solaris
/home/persicom/perl.nydux-ast401/lib/site_perl/5.6.1
/home/persicom/perl.nydux-ast401/lib/site_perl
/am/common/lib/5.6.1/sun4-solaris
/am/common/lib/5.6.1
/am/common/lib/site_perl/5.6.1/sun4-solaris
/am/common/lib/site_perl/5.6.1
/am/common/lib/site_perl
/sa/common/lib/5.6.1/sun4-solaris
/sa/common/lib/5.6.1
/sa/common/lib/site_perl/5.6.1/sun4-solaris
/sa/common/lib/site_perl/5.6.1
/sa/common/lib/site_perl
/opt/perl/lib/5.6.1/sun4-solaris
/opt/perl/lib/5.6.1
/opt/perl/lib/site_perl/5.6.1/sun4-solaris
/opt/perl/lib/site_perl/5.6.1
/opt/perl/lib/site_perl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top