Skip Menu |

This queue is for tickets about the XForms-Generator CPAN distribution.

Report information
The Basics
Id: 1308
Status: resolved
Priority: 0/
Queue: XForms-Generator

People
Owner: Nobody in particular
Requestors: rho [...] bigpond.net.au
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.3.5
Fixed in: (no value)



Subject: make test fails on Linux i586
Hi Attached is a 'script' session. My Perl config: Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.13, archname=i386-linux uname='linux duende 2.4.13 #1 wed oct 31 19:18:07 est 2001 i686 unknown ' config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darchlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid -des' hint=recommended, 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 ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.4 (Debian prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -ldb -ldl -lm -lc -lcrypt perllibs=-ldl -lm -lc -lcrypt libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so.5.6.1 Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Jan 11 2002 04:09:18 %ENV: PERL5LIB="" @INC: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl
Download typescript
application/octet-stream 5.2k

Message body not shown because it is not plain text.

You did a good job of providing information on your distribution of perl, but you didn't tell me exactly what test is failing. I should point out though that it is practically imposible for the tests to fail if XML::LibXML is installed correctly. The tests are very simple, they just test the loading of the modules togther and individually and finally a test to ensure that the inheritance from XML::LibXML. My recommendation is to double check to make sure XML::LibXML is installed and working correctly.
Ah, it would appear that XML::LibXML is the problem after all. It isn't that it is not working properly, but rather it is an older version that doesn't support everything XML::XForms::Generator needs. You can see that by these couple of lines from your output: Checking if your kit is complete...^M Looks good^M Warning: prerequisite XML::LibXML 1.52 not found at /usr/share/perl/5.6.1/ExtUtils/MakeMaker.pm line 343.^M Go ahead and upgrade to the latest XML::LibXML and tell me what happens. I have this feeling everything will be golden. In fact, I think you will find that your XML::LibXML scripts will also work better as in recent versions of XML::LibXML some memmory leaks were found and corrected.
From: rho [...] bigpond.net.au
[DHAGEMAN - Sun Jul 21 13:13:40 2002]: Show quoted text
> Ah, it would appear that XML::LibXML is the problem after all.
It isn't Show quoted text
> that it is not working properly, but rather it is an older
version that Show quoted text
> doesn't support everything XML::XForms::Generator needs. You can
see Show quoted text
> that by these couple of lines from your output: > > Checking if your kit is complete...^M > Looks good^M > Warning: prerequisite XML::LibXML 1.52 not found at
Uhm, if your module NEEDS a particular version, then you might want to consider to code the dependency into your Makefile.PL: 'PREREQ_PM' => { 'XML::LibXML' => 1.52, .... A 'warning' is a _warning_ and that single line no one will spot easily. Show quoted text
> find that your XML::LibXML scripts will also work better as in
recent Show quoted text
> versions of XML::LibXML some memmory leaks were found and
corrected. If I can get it installed, as it fails numerous tests here. Thx! \rho
From: rho [...] bigpond.net.au
[guest - Mon Jul 22 04:49:41 2002]: Show quoted text
> [DHAGEMAN - Sun Jul 21 13:13:40 2002]: >
> > Ah, it would appear that XML::LibXML is the problem after all.
> It isn't
> > that it is not working properly, but rather it is an older
> version that
> > doesn't support everything XML::XForms::Generator needs.
The tests work now, although with minor annoyances: t/01_use............Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1 Some names are not tags at (eval 3) line 1
If you look at the Makefile.PL you will see the: 'PREREQ_PM' => { 'XML::LibXML' => 1.52, .... stuff is already in the there ... hence why you got the warning in the first place. I will look into making it die if it doesn't find it though. As far as the other warnings you get with XML::LibXML - my best advice to you is to also keep up-to-date on the libxml C library that is the heart of all of this. On the multiple platforms that I code and test on I haven't had any issues with the released versions of XML::LibXML giving me bad mojo on the tests as long as I had the latest of both pieces of software. I don't currently have a Debian box up and running, but I will ask an associate to test on it to be sure.