[resending because the message doesn't show up on
http://rt.cpan.org/Public/Bug/Display.html?id=19214]
gregor
----- Forwarded message from gregor herrmann <gregor+debian@comodo.priv.at> -----
From: gregor herrmann <gregor+debian@comodo.priv.at>
To: "(Mike Taylor) via RT" <bug-Net-Z3950-ZOOM@rt.cpan.org>
Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Fri, 12 May 2006 14:59:54 +0200
On Thu, May 11, 2006 at 05:48:51PM -0400, (Mike Taylor) via RT wrote:
Show quoted text> > > OK, I have now released v1.07, which complains at Makefile.PL time
> > > if the necessary YAZ isn't around. Please check that this correctly
> > > refuses to build on your system. Thanks.
> > # Error: Can't load '/tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: /tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so: undefined symbol: ZOOM_resultset_sort1 at /usr/lib/perl/5.8/DynaLoader.pm line 225.
> Ugh. I am so lame. You need version 2.1.11 or better, not 2.0.11.
Well, such things happen ;-)
Show quoted text> I
> have now uploaded release 1.08, which correctly asserts this.
> (Attached.) Please verify that this complains appropriately,
Works as intended:
$ perl Makefile.PL
*** WARNING!
ZOOM-Perl requires at least version 2.1.11 of YAZ,
but is currently you only have version 2.1.8.
Show quoted text> then go
> ahead and upgrade YAZ and see if everything works as it should.
Uh, the yaz version in Debian is unfortunately 2.1.8
* getting packages from
http://ftp.indexdata.dk/pub/yaz/debian/etch/ *
* installing 2.1.18 *
[* writing bug report against Debian package *]
Let's try:
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Z3950::ZOOM
$ make
cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm
cp lib/ZOOM.pod blib/lib/ZOOM.pod
cp lib/ZOOM.pm blib/lib/ZOOM.pm
cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/
ExtUtils/typemap -typemap typemap ZOOM.xs > ZOOM.xsc && mv ZOOM.xsc ZOOM.c
cc -c -DYAZ_POSIX_THREADS=1 -D_REENTRANT -D_REENTRANT -D_GNU_SOURCE -DTHREADS_H
AVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_S
OURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPI
C "-I/usr/lib/perl/5.8/CORE" ZOOM.c
Running Mkbootstrap for Net::Z3950::ZOOM ()
chmod 644 ZOOM.bs
rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
cc -shared -L/usr/local/lib ZOOM.o -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \
-lyaz -L/usr/lib -lxml2 -lz -lm -lssl -lcrypto -lwrap -lnsl -lpthread
\
chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so
cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs
Manifying blib/man3/Net::Z3950::ZOOM.3pm
Manifying blib/man3/ZOOM.3pm
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1-Net-Z3950-ZOOM......ok
t/10-options............ok
t/11-option-callback....ok
t/12-query..............ok
t/13-resultset..........ok
t/14-sorting............ok
t/15-scan...............ok
t/16-packages...........ok
t/17-logging............ok
t/18-charset............ok
t/19-events.............ok
t/2-ZOOM................ok
t/20-options............ok
t/21-option-callback....ok
t/22-query..............ok
t/23-resultset..........ok
t/24-sorting............ok
t/25-scan...............ok
t/26-packages...........ok
t/27-logging............ok
t/28-charset............ok
t/29-events.............ok
All tests successful.
Files=22, Tests=680, 23 wallclock secs ( 1.73 cusr + 0.25 csys = 1.98 CPU)
Wonderful!
Ok, I think you can close this bug.
Show quoted text> Sorry for this dumb interlude.
No problem, thanks for your efforts.
Cheers, gregor
--
.''`.
http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian: the universal operating system -
http://www.debian.org/
`. `' member of
https://www.vibe.at/ | how to reply:
http://got.to/quote/
`- NP: larimar: ham n eggs and bl
Show quoted text