Skip Menu |

This queue is for tickets about the Compress-Zlib CPAN distribution.

Report information
The Basics
Id: 24102
Status: resolved
Priority: 0/
Queue: Compress-Zlib

People
Owner: Nobody in particular
Requestors: dha [...] panix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.000_14
Fixed in: (no value)



Subject: Test Failures on Mac OS 10.4.8/perl 5.8.8 (actually in C::Z 2.001)
Several tests failing. Many warnings as well. Current zlib (1.2.3) is installed. I even reinstalled it to make sure. Test output attached.
Subject: test.out
Download test.out
application/octet-stream 15k

Message body not shown because it is not plain text.

On Tue Dec 26 15:18:55 2006, dha@panix.com wrote: Show quoted text
> Several tests failing. Many warnings as well. > > Current zlib (1.2.3) is installed. I even reinstalled it to make sure. > > Test output attached.
Can you send me a log of the complete build please? I need a log of output from the following perl Makefile.PL make make test Also, did you have an older version of Compress::Zlib installed? This error makes me think you have version 1 of Compress::Zlib installed because version 2 doesn't use XS # Failed test (t/01version.t at line 23) # Tried to use 'Compress::Zlib'. # Error: is only avaliable with the XS version at /Users/dha/Compress-Zlib-2.001/blib/lib/Compress/Zlib.pm line 9 # BEGIN failed--compilation aborted at t/01version.t line 23. # Compilation failed in require at (eval 5) line 2. # BEGIN failed--compilation aborted at (eval 5) line 2. Paul
Subject: Re: [rt.cpan.org #24102] Test Failures on Mac OS 10.4.8/perl 5.8.8 (actually in C::Z 2.001)
Date: Tue, 26 Dec 2006 17:29:33 -0500
To: Paul Marquess via RT <bug-Compress-Zlib [...] rt.cpan.org>
From: "David H. Adler" <dha [...] panix.com>
On Tue, Dec 26, 2006 at 04:21:58PM -0500, Paul Marquess via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=24102 > > > On Tue Dec 26 15:18:55 2006, dha@panix.com wrote:
> > Several tests failing. Many warnings as well. > > > > Current zlib (1.2.3) is installed. I even reinstalled it to make sure. > > > > Test output attached.
> > Can you send me a log of the complete build please? I need a log of > output from the following > > perl Makefile.PL > make > make test
Attached. Show quoted text
> Also, did you have an older version of Compress::Zlib installed? This > error makes me think you have version 1 of Compress::Zlib installed > because version 2 doesn't use XS
Hm. I went to zlib.net and it seems to say 1.2.3 is the latest. Am I looking in the wrong place? dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ Looking at the cake is like looking at the future. Until you taste it, what do you really know? And, of course, by then, it's much too late. - Merlin, Excalibur
Download compzilbmake.tar.gz
application/x-tar-gz 783b

Message body not shown because it is not plain text.

On Tue Dec 26 17:29:55 2006, dha@panix.com wrote: Show quoted text
> On Tue, Dec 26, 2006 at 04:21:58PM -0500, Paul Marquess via RT wrote:
> > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=24102 > > > > > On Tue Dec 26 15:18:55 2006, dha@panix.com wrote:
> > > Several tests failing. Many warnings as well. > > > > > > Current zlib (1.2.3) is installed. I even reinstalled it to make
sure. Show quoted text
> > > > > > Test output attached.
> > > > Can you send me a log of the complete build please? I need a log of > > output from the following > > > > perl Makefile.PL > > make > > make test
> > Attached.
Thanks Show quoted text
> > Also, did you have an older version of Compress::Zlib installed?
This Show quoted text
> > error makes me think you have version 1 of Compress::Zlib installed > > because version 2 doesn't use XS
> > Hm. I went to zlib.net and it seems to say 1.2.3 is the latest. Am I > looking in the wrong place?
Sorry, you've misunderstood what I've asked you. I'm not asking what version of the zlib library you have installed. I'm asking whether you already have an older version of my Perl module, Compress::Zlib, installed. Run this perl -MCompress::Zlib -e 'print "$Compress::Zlib::VERSION\n"' to find out. Paul
Subject: Re: [rt.cpan.org #24102] Test Failures on Mac OS 10.4.8/perl 5.8.8 (actually in C::Z 2.001)
Date: Tue, 26 Dec 2006 23:58:51 -0500
To: Paul Marquess via RT <bug-Compress-Zlib [...] rt.cpan.org>
From: "David H. Adler" <dha [...] panix.com>
On Tue, Dec 26, 2006 at 06:47:31PM -0500, Paul Marquess via RT wrote: Show quoted text
>
> > > Also, did you have an older version of Compress::Zlib installed?
> This
> > > error makes me think you have version 1 of Compress::Zlib installed > > > because version 2 doesn't use XS
> > > > Hm. I went to zlib.net and it seems to say 1.2.3 is the latest. Am I > > looking in the wrong place?
> > Sorry, you've misunderstood what I've asked you. I'm not asking what > version of the zlib library you have installed. I'm asking whether you > already have an older version of my Perl module, Compress::Zlib, > installed. > > Run this > > perl -MCompress::Zlib -e 'print "$Compress::Zlib::VERSION\n"' > > to find out.
~ 23:51:12% perl -MCompress::Zlib -e 'print "$Compress::Zlib::VERSION\n"' is only avaliable with the XS version at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9. Compilation failed in require. BEGIN failed--compilation aborted. buh. :-/ It says 2.001 when I look in the source. It occurs to me that it may well be seeing the Compress::Zlib that came from apple. think I can just use the apple perl and reinstall? dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ My glass might be half empty, but I am on the way to the bar - Simon Wilcox
On Tue Dec 26 23:59:13 2006, dha@panix.com wrote: Show quoted text
> On Tue, Dec 26, 2006 at 06:47:31PM -0500, Paul Marquess via RT wrote:
> >
> > > > Also, did you have an older version of Compress::Zlib installed?
> > This
> > > > error makes me think you have version 1 of Compress::Zlib
> installed
> > > > because version 2 doesn't use XS
> > > > > > Hm. I went to zlib.net and it seems to say 1.2.3 is the latest. Am
> I
> > > looking in the wrong place?
> > > > Sorry, you've misunderstood what I've asked you. I'm not asking what > > version of the zlib library you have installed. I'm asking whether
> you
> > already have an older version of my Perl module, Compress::Zlib, > > installed. > > > > Run this > > > > perl -MCompress::Zlib -e 'print "$Compress::Zlib::VERSION\n"' > > > > to find out.
> > ~ 23:51:12% perl -MCompress::Zlib -e 'print > "$Compress::Zlib::VERSION\n"' > is only avaliable with the XS version at > /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9 > BEGIN failed--compilation aborted at > /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9. > Compilation failed in require. > BEGIN failed--compilation aborted. > > buh. :-/ > > It says 2.001 when I look in the source.
Can you have a look in /usr/local/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm and see what version of perl is in that file please? Show quoted text
> It occurs to me that it may well be seeing the Compress::Zlib that > came from apple. think I can just use the apple perl and reinstall?
I think I see the problem This error # Error: is only avaliable with the XS version at /Users/dha/Compress-Zlib-2.001/blib/lib/Compress/Zlib.pm line 9 is referring to this line in my code use Scalar::Util qw(dualvar); That is indicating a problem with the installation of Scalar::Util. Can you run this please? perl -e 'use Scalar::Util qw(dualvar);' If you get the same error about the XS version then you need to re- install the Scalar-List-Utils distribution before you can continue with building my module. You must have a C compiler on your system to install Scalar::Util and not get the XS version error. The strange thing is though - Scalar::Util is part of the standard 5.8.8 distribution. I wonder if apple don't supply the XS version of the module? Paul
Subject: Re: [rt.cpan.org #24102] Test Failures on Mac OS 10.4.8/perl 5.8.8 (actually in C::Z 2.001)
Date: Wed, 27 Dec 2006 13:23:04 -0500
To: Paul Marquess via RT <bug-Compress-Zlib [...] rt.cpan.org>
From: "David H. Adler" <dha [...] panix.com>
On Wed, Dec 27, 2006 at 06:39:56AM -0500, Paul Marquess via RT wrote: Show quoted text
> I think I see the problem > > This error > > # Error: is only avaliable with the XS version > at /Users/dha/Compress-Zlib-2.001/blib/lib/Compress/Zlib.pm line 9 > > is referring to this line in my code > > use Scalar::Util qw(dualvar); > > That is indicating a problem with the installation of Scalar::Util. Can > you run this please? > > perl -e 'use Scalar::Util qw(dualvar);' > > If you get the same error about the XS version then you need to re- > install the Scalar-List-Utils distribution before you can continue with > building my module. You must have a C compiler on your system to > install Scalar::Util and not get the XS version error.
Apparently that was it. Show quoted text
> The strange thing is though - Scalar::Util is part of the standard > 5.8.8 distribution. I wonder if apple don't supply the XS version of > the module?
Well, 5.8.8 is the one I installed myself. Maybe it saw the one with 5.8.6 and didn't bother installing a new one. weird. but now, apparently at least, fixed. Many thanks. dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ I'm the proof that nearly anyone can be brilliant if they don't have to do it in real-time. :-) - Larry Wall
... Show quoted text
> > Well, 5.8.8 is the one I installed myself. Maybe it saw the one with > 5.8.6 and didn't bother installing a new one. weird. but now,
apparently Show quoted text
> at least, fixed. Many thanks.
Good stuff. I'll close this issue then. Paul