Stéphane Téletchéa | 3 May 2006 10:39
Picon
Picon
Favicon

Problem for building refDB rpm ...

Hi everyone,

As stated on this list already, i'm willing to build a rpm for refdb in 
order to help its diffusion. I'm doing this rpm for Mandriva, but since 
Mandriva has still some relations with redhat, it should work also on it 
(i'll test it later while the rpm will be finished for Mandriva).

In my production of rpms, i need to produce some packages (some perl 
modules) to satisfy dependancies.

One of them is RefDB-perlmod.tar.gz

While i'm compiling it and testing, i see :

perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for RefDB::perlmod
[stephane <at> bioinfo RefDB-perlmod-0.4]$ make
cp Log.pm blib/lib/RefDB/Log.pm
cp Pubmed.pm blib/lib/RefDB/Pubmed.pm
cp Prefs.pm blib/lib/RefDB/Prefs.pm
cp Makestyle.pm blib/lib/RefDB/Makestyle.pm
cp CGI.pm blib/lib/RefDB/CGI.pm
Manifying blib/man3/RefDB::Log.3pm
Manifying blib/man3/RefDB::Pubmed.3pm
Manifying blib/man3/RefDB::Prefs.3pm
Manifying blib/man3/RefDB::CGI.3pm
Manifying blib/man3/RefDB::Makestyle.3pm
[stephane <at> bioinfo RefDB-perlmod-0.4]$ make test
(Continue reading)

Markus Hoenicka | 3 May 2006 12:54
Picon

Re: Problem for building refDB rpm ...

Stéphane Téletchéa <steletch <at> jouy.inra.fr> was heard to say:

> [stephane <at> bioinfo RefDB-perlmod-0.4]$ make test
> PERL_DL_NONLAZY=3D1 /usr/bin/perl5.8.8 "-Iblib/lib" "-Iblib/arch" test.pl
> 1..10: ok
> 2..10: not ok
> 3..10: not ok
> 4..10: not ok
> 5..10: ok
> 6..10: ok
> 7..10: ok
> 8..10: ok
> 9..10: ok
> 10..10: ok
> That is ... waitaminute ... 7 out of 10
>
> I'm not very confident about a test stating 3 tests over 10 are not OK=20
> and i'm not also a perl hacker.
>

Tests 2 through 4 use testdata/testdata.in as input. There is apparently
something going wrong with these tests on your platform. I just downloaded and
checked the archive on a Windows/Cygwin box where it succeeds in 10 out of 10
tests. Therefore I don't think the whole thing is broke. It rather seems to be
a platform or a Perl version issue (I run 5.8.7).

I've sent you a patched test.pl script by private mail. Please replace the
packaged version with this one and re-run "make test". Instead of deleting the
intermediate result files, it will just rename them for later analysis. When
done, please send me the testdata/ subdirectory as a tar.gz file so I can have
(Continue reading)


Gmane