Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Tk Package Fails to Make - Next Crisis

by BJ_Covert_Action (Beadle)
on Apr 08, 2009 at 22:56 UTC ( #756487=note: print w/replies, xml ) Need Help??


in reply to SOLVED (mostly): Tk Package Fails to Make

Well, I uninstalled my strawberry distribution so that I could reinstall and get a proper configuration. (I have been thinking about doing this anyways since the first time I installed it I had little idea on what I was doing....)

Anyways, I went with the 5.10.0.4 distribution this time. I ran the installer and all went well (defaults accepted across the board). I then went into the CPAN shell to update and update my CPAN module. This is where my new nightmare begins. The last chunk of results on an attempted:

install Bundle::CPAN

...dealt me this blow:

# BEGIN failed--compilation aborted at (eval 33) line 2. Bareword "Compress::Zlib::zlib_version" not allowed while "strict subs +" in use at t/cz-08encoding.t line 40. Bareword "ZLIB_VERSION" not allowed while "strict subs" in use at t/cz +-08encoding.t line 40. Execution of t/cz-08encoding.t aborted due to compilation errors. t/cz-08encoding.t ............... Dubious, test returned 255 (wstat 65 +280, 0xff00) Failed 30/30 subtests t/cz-14gzopen.t ................. # Failed test (t/cz-14gzopen.t at line 25) t/cz-14gzopen.t ................. 1/256 # Tried to use 'Compress:: +Zlib'. # Error: Compress::Raw::Zlib version 2.017 required--this is only + version 2.015 at C:\strawberry\cpan\build\IO-Compress-2.017-bSrMHt\b +lib\arch/Compress/Zlib.pm line 12. # BEGIN failed--compilation aborted at t/cz-14gzopen.t line 25. # Compilation failed in require at (eval 33) line 2. # BEGIN failed--compilation aborted at (eval 33) line 2. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 53. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 57. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 60. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 63. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 70. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 100. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 103. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 106. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 110. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 118. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 118. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 124. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 125. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 499. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 500. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 518. Global symbol "$gzerrno" requires explicit package name at t/cz-14gzop +en.t line 521. Bareword "Compress::Zlib::zlib_version" not allowed while "strict subs +" in use at t/cz-14gzopen.t line 31. Bareword "ZLIB_VERSION" not allowed while "strict subs" in use at t/cz +-14gzopen.t line 31. Bareword "Z_FINISH" not allowed while "strict subs" in use at t/cz-14g +zopen.t line 104. Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/cz +-14gzopen.t line 117. Bareword "Z_STREAM_END" not allowed while "strict subs" in use at t/cz +-14gzopen.t line 118. Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/ +cz-14gzopen.t line 465. Bareword "Z_STREAM_ERROR" not allowed while "strict subs" in use at t/ +cz-14gzopen.t line 480. Execution of t/cz-14gzopen.t aborted due to compilation errors. t/cz-14gzopen.t ................. Dubious, test returned 255 (wstat 65 +280, 0xff00) Failed 255/256 subtests t/globmapper.t .................. ok Test Summary Report ------------------- t/000prereq.t (Wstat: 512 Tests: 3 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 t/001bzip2.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 842 tests but ran 0. t/001zlib-generic-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/001zlib-generic-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/001zlib-generic-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/001zlib-generic-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/002any-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/002any-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/002any-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/002any-transparent.t (Wstat: 65280 Tests: 3 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 16 tests but ran 3. t/002any-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/004gziphdr.t (Wstat: 65280 Tests: 4 Failed: 2) Failed tests: 3-4 Non-zero exit status: 255 Parse errors: Bad plan. You planned 911 tests but ran 4. t/005defhdr.t (Wstat: 65280 Tests: 6 Failed: 2) Failed tests: 2-3 Non-zero exit status: 255 Parse errors: Bad plan. You planned 596 tests but ran 6. t/006zip.t (Wstat: 65280 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 255 Parse errors: Bad plan. You planned 78 tests but ran 2. t/010examples-bzip2.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/010examples-zlib.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/100generic-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/100generic-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/100generic-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/100generic-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/100generic-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/101truncate-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 913 tests but ran 0. t/101truncate-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 735 tests but ran 0. t/101truncate-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 979 tests but ran 0. t/101truncate-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 626 tests but ran 0. t/101truncate-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 2317 tests but ran 0. t/102tied-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/102tied-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/102tied-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/102tied-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/102tied-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/103newtied-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/103newtied-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/103newtied-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/103newtied-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/103newtied-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/104destroy-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/104destroy-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/104destroy-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/104destroy-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/104destroy-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/105oneshot-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/105oneshot-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/105oneshot-gzip-only.t (Wstat: 65280 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 255 Parse errors: Bad plan. You planned 71 tests but ran 2. t/105oneshot-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/105oneshot-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/105oneshot-zip-only.t (Wstat: 65280 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 255 Parse errors: Bad plan. You planned 147 tests but ran 2. t/105oneshot-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/106prime-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/106prime-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/106prime-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/106prime-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/106prime-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/107multi-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/107multi-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/107multi-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/107multi-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/107multi-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/108anyunc-bzip2.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/108anyunc-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/108anyunc-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/108anyunc-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/108anyunc-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/109merge-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/109merge-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/109merge-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/110encode-bzip2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/110encode-deflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/110encode-gzip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/110encode-rawdeflate.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/110encode-zip.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/cz-01version.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 3 tests but ran 1. t/cz-03zlib-v1.t (Wstat: 65280 Tests: 3 Failed: 2) Failed tests: 1, 3 Non-zero exit status: 255 Parse errors: Bad plan. You planned 402 tests but ran 3. t/cz-05examples.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/cz-06gzsetp.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/cz-08encoding.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 30 tests but ran 1. t/cz-14gzopen.t (Wstat: 65280 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 256 tests but ran 2. Files=85, Tests=203, 9 wallclock secs ( 0.34 usr + 0.23 sys = 0.58 +CPU) Result: FAIL Failed 77/85 test programs. 18/203 subtests failed. dmake.EXE: Error code 255, while making 'test_dynamic' PMQS/IO-Compress-2.017.tar.gz C:\strawberry\c\bin\dmake.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports PMQS/IO-Compress-2.017.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: PMQS/Compress-Raw-Zlib-2.017.tar.gz : make NO PMQS/IO-Compress-2.017.tar.gz : make_test NO

Apparently there is something wrong with my new version of the Compress module. Any I am not sure what is wrong here, I do have Compress and Archive installed in:

C:\strawberry\perl\lib

..already so maybe I don't need them? (I doubt it but why not ask right?) Anyways, I look forward to your posts.

Cheers.

Replies are listed 'Best First'.
Re^2: Tk Package Fails to Make - Next Crisis
by syphilis (Bishop) on Apr 09, 2009 at 10:10 UTC
    Apparently there is something wrong with my new version of the Compress module

    What happens if, in the cpan shell, you run:
    install Math::FFT
    For me, that runs flawlessly, and I think I have the same build of Strawberry as you - according to perl -V my Strawberry Perl was "Compiled at Oct 19 2008 15:47:04" (near the end of the output). Do you have the same ?

    Note that I usually download and build modules manually - I rarely use CPAN.pm, don't know much about its workings, and have no interest in troubleshooting it on Strawberry or anywhere else - but I am prepared to try and assist with matters relating to the general configuration and workability of Strawberry Perl. Normally, however, "the general configuration and workability of Strawberry Perl" is taken care of automatically when Strawberry Perl is installed (so it's rather unusual that any assistance with this is ever required).

    Cheers,
    Rob
      Hmmmm, there's definitely something wrong here.
      perl -v</code) outputs: <p><p> <code> This is perl, v5.10.0 built for MSWin32-x86-multi-thread Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

      ...with no discussion of compilation. Attempting  install Match::FFT yields:

      By the way, much thanks for helping me with all of this so far. I'm learning a lot.

        perl -V and perl -v do two different things. (note the capitalization on the V)

        Here's what capital V does on my main Strawberry 5.10.0.4 installation:

        Summary of my perl5 (revision 5 version 10 subversion 0) configuration +: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPL +ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_M SVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long lo +ng', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\straw +berry\c\lib"' libpth=C:\strawberry\c\lib libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool - +lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 - luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspo +ol -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi 32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE +" -L"C:\strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Jan 29 2009 20:56:38 @INC: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .
        Hmmmm, there's definitely something wrong here

        Yes, something is definitely wrong with MinGW. Which Windows OS do you have ?

        Save the following script as try.c:
        int main (void) { return 0; }
        Then cd to the directory that contains 'try.c' and run:
        gcc -o try.exe try.c -v
        What output do you get ?
        (I'm still interested to see the perl -V output too, btw.)

        Cheers,
        Rob
Re^2: Tk Package Fails to Make - Next Crisis
by Anonymous Monk on Apr 09, 2009 at 00:40 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://756487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2019-11-13 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (69 votes). Check out past polls.

    Notices?