Skip Menu |

This queue is for tickets about the Win32-IE-Mechanize CPAN distribution.

Report information
The Basics
Id: 7383
Status: resolved
Priority: 0/
Queue: Win32-IE-Mechanize

People
Owner: abeltje [...] cpan.org
Requestors: Michael-W.J.West [...] usa.dupont.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.006
Fixed in: (no value)



Subject: Will this work on Win2000 under Cygwin?
I like the Unix environment of Cygwin, an emulator under Win2000. This module skips all tests, and then installs, I believe because the OS is reported as Cygwin, not Win32. (This is not Activestate perl.) The module might work (you think?), but the tests were really not run. Any thoughts? Running make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'b lib/arch')" t/*.t t/basic.........skipped all skipped: This is not MSWin32! t/find_link.....skipped all skipped: This is not MSWin32! t/formbasics....skipped all skipped: This is not MSWin32! t/jstest........skipped all skipped: This is not MSWin32! t/tick..........skipped all skipped: This is not MSWin32! All tests successful, 5 tests skipped. Files=5, Tests=0, 3 wallclock secs ( 1.44 cusr + 0.90 csys = 2.34 CPU) /usr/bin/make test -- OK Running make install Installing /usr/lib/perl5/site_perl/5.8.2/Win32/IE/Mechanize.pm Writing /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/auto/Win32/IE/M echanize/.packlist Appending installation info to /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/pe rllocal.pod /usr/bin/make install -- OK WESTMWJ@AC431380 ~ $ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=cygwin, osvers=1.5.5(0.9432), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.0 troubardix 1.5.5(0.9432) 2003-09-20 16:31 i686 unknown unknown cygwin ' config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Doptimize=-O2 -Dma n3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=de fine useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' ccversion='', gccversion='3.3.1 (cygming special)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee ksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -lcrypt -lgdbm_compat perllibs=-lcrypt -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Nov 7 2003 12:06:28 %ENV: CYGWIN="" @INC: /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int /usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl . WESTMWJ@AC431380 ~ $ uname CYGWIN_NT-5.0
From: Abe Timmerman <abeltje [...] cpan.org>
To: bug-Win32-IE-Mechanize [...] rt.cpan.org
Subject: Re: [cpan #7383] Will this work on Win2000 under Cygwin?
Date: Tue, 17 Aug 2004 23:37:42 +0200
RT-Send-Cc:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op een zonnige zomerdag (Tuesday 17 August 2004 20:38), schreef Guest via RT: Show quoted text
> This message about Win32-IE-Mechanize was sent to you by guest <> via > rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=7383 > > > I like the Unix environment of Cygwin, an emulator under Win2000. This > module skips all tests, and then installs, I believe because the OS is > reported as Cygwin, not Win32. (This is not Activestate perl.)
It is a matter of opinion if the tests should be skipped or fail. Show quoted text
> The module might work (you think?), but the tests were really not run.
Some superficial testing shows that it could work, but the testsuite was not designed to cope with the conversion of cygwin paths to native Windows paths (which is what IE needs, even under cygwin). I'll see what I can do to improve on this. Show quoted text
> Any thoughts?
ActivePerl will also run from a cygwin shell: ~$ uname CYGWIN_NT-5.0 abeltje@neewa (Tue Aug 17 21:57:17) ~$ /cygdrive/c/perl/bin/perl -v This is perl, v5.8.3 built for MSWin32-x86-multi-thread (with 8 registered patches, see perl -V for more detail) Copyright 1987-2003, Larry Wall Binary build 809 provided by ActiveState Corp. http://www.ActiveState.com ActiveState is a division of Sophos. Built Feb 3 2004 00:28:51 [snip] Show quoted text
> Running make test > /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, > 'blib/lib', 'b lib/arch')" t/*.t > t/basic.........skipped > all skipped: This is not MSWin32!
On my todo list now to special-case cygwin, I have a concept patch that makes the test-suite pass. Good luck, Abe - -- Show quoted text
Rafael> Actually you're thinking aloud, here ?
Yes? No? Maybe? -- Jarkko Hietaniemi on p5p @ 2003-02-17 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFBInqqxqqoeg1/sS8RAgMMAKCs3QwD9f6sDxjwhRtxrBagoBzsIACaA2zP lCc3BLOs5HxvgCmEQgoYjJQ= =wZNO -----END PGP SIGNATURE-----
Sorry this took so long. [ABELTJE - Tue Aug 17 18:13:49 2004]: Show quoted text
> On my todo list now to special-case cygwin, I have a concept patch > that makes > the test-suite pass.
Thanks for this suggestion. Finally had the time to work this out, and the testsuite fully passes on cygwin-1.5.10/W2k Abe.