Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > XML::Sax::Writer build error (long data)

Reply
Thread Tools

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

 
 
mpersico
Guest
Posts: n/a
 
      08-02-2005
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:
--

__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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not Buid errors when build, yes build erros when deploy, why? Pedro Mir ASP .Net 2 06-20-2006 02:26 AM
Build a Better Blair (like Build a Better Bush, only better) Kenny Computer Support 0 05-06-2005 04:50 AM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
How to build ASP.NET projects on a separate build machine? Vagif Abilov ASP .Net 2 07-07-2004 04:34 PM
Python 2.3.3 : Win32 build vs Cygwin build performance ? Nicolas Lehuen Python 3 01-28-2004 07:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57