Click here to get back home

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

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
XML::Sax::Writer build error (long data) mpersico 08-02-2005
Posted by mpersico on August 2, 2005, 6:54 am
Please log in for more thread options


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: matthew.persico@lazard.com
--

__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->) ne lc($self->)) {
71 $self-> =
Text::Iconv->new($self->,
$self->);
72 }
73 else {
74 $self-> =
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


Similar ThreadsPosted
A bug in RTF::Writer? January 5, 2005, 9:56 pm
A New Article Site Invites You to become a Member Writer! July 7, 2008, 4:12 am
Win32:Printer Windows x86 build with FreeImage.dll support build issues May 29, 2008, 2:58 pm
List of sample Build::Module Build.PL May 7, 2007, 6:49 pm
Version? of getopt::Long October 4, 2004, 2:48 pm
Getopt::Long install problems October 4, 2004, 6:33 pm
PARI stack overflow during long Net::SFTP connection July 16, 2004, 3:20 am
Parsing function args in Getopt::Long style January 11, 2008, 4:11 pm
DBD-Pg for Perl 5.8.4 Build 810 December 11, 2004, 1:05 pm
Help with Module::Build June 19, 2006, 10:50 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap