how to copy the test of a report in terminal -

hello dear linux-fans

as it failed many many times to install Mozrepl with Mechanize::FireFox i tried another package

this here Task::Mechanistic::Firefox

which comes packed with the prerequesites -

i did the following

at the console

perl -MCPAN -e shell
on first run you'll need to configure it, just follow defaults, get local repositories
cpan>  install Task::Mechanistic::Firefox


note - i wanted to install Task::Mechanistic::Firefox

AND THEN the terminal was filled with the report of all the process:

one question;: how can i copy this whole text -
it was so much text that i was not able to do a copy of it.
after all the proecesse went through - and were done -

i only could " catch " a small amount of the results… +
question - how can i get all the text - is there any way to do this?

-. and the second thing is - the process failed - at least i guess so.
´see the report - bad make test
note; i have this report over hundred times bevore.

i am pulling my hair…



# Child PID = 10886
# Good, your raw ptys can handle at least 530 bytes at once.
t/test.t .. 5/5 sysread(): Eingabe-/Ausgabefehler at t/test.t line 151.
Slave got EOF at line 530, byte 0.
t/test.t .. ok   
All tests successful.
Files=1, Tests=5,  3 wallclock secs ( 0.04 usr  0.01 sys +  0.24 cusr  0.70 csys =  0.99 CPU)
Result: PASS
  TODDR/IO-Tty-1.10.tar.gz
  /usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi/auto/IO/Tty/Tty.bs
Installing /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi/auto/IO/Tty/Tty.so
Installing /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi/IO/Pty.pm
Installing /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi/IO/Tty.pm
Installing /usr/lib/perl5/site_perl/5.16.0/i586-linux-thread-multi/IO/Tty/Constant.pm
Installing /usr/share/man/man3/IO::Tty.3pm
Installing /usr/share/man/man3/IO::Pty.3pm
Installing /usr/share/man/man3/IO::Tty::Constant.3pm
Appending installation info to /usr/lib/perl5/5.16.0/i586-linux-thread-multi/perllocal.pod
  TODDR/IO-Tty-1.10.tar.gz
  /usr/bin/make install  -- OK
Running make for S/SK/SKI/Task-Mechanistic-Firefox-0.01.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Task-Mechanistic-Firefox-0.01-HkWgcA

  CPAN.pm: Building S/SK/SKI/Task-Mechanistic-Firefox-0.01.tar.gz

Warning: Prerequisite 'MozRepl => 0' for 'SKI/Task-Mechanistic-Firefox-0.01.tar.gz' failed when processing 'ZIGOROU/MozRepl-0.06.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'MozRepl::RemoteObject => 0' for 'SKI/Task-Mechanistic-Firefox-0.01.tar.gz' failed when processing 'CORION/MozRepl-RemoteObject-0.36.tar.gz' with 'make_test => NO one dependency not OK (MozRepl)'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'WWW::Mechanize::Firefox => 0' for 'SKI/Task-Mechanistic-Firefox-0.01.tar.gz' failed when processing 'CORION/WWW-Mechanize-Firefox-0.74.tar.gz' with 'make_test => NO one dependency not OK (MozRepl::RemoteObject); additionally test harness failed'. Continuing, but chances to succeed are limited.
cp lib/Task/Mechanistic/Firefox.pm blib/lib/Task/Mechanistic/Firefox.pm
Manifying blib/man3/Task::Mechanistic::Firefox.3pm
  SKI/Task-Mechanistic-Firefox-0.01.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/Task-Mechanistic-Firefox.t
t/Task-Mechanistic-Firefox.t .. ok   
All tests successful.
Files=1, Tests=1,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.01 cusr  0.00 csys =  0.04 CPU)
Result: PASS
  SKI/Task-Mechanistic-Firefox-0.01.tar.gz
Tests succeeded but 3 dependencies missing (MozRepl,WWW::Mechanize::Firefox,MozRepl::RemoteObject)
  SKI/Task-Mechanistic-Firefox-0.01.tar.gz
  [dependencies] -- NA
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 ZIGOROU/MozRepl-0.06.tar.gz                  : make_test NO
 CORION/MozRepl-RemoteObject-0.36.tar.gz      : make_test NO one dependency not OK (MozRepl)
 CORION/WWW-Mechanize-Firefox-0.74.tar.gz     : make_test NO one dependency not OK (MozRepl::RemoteObject); additionally test harness failed
 SKI/Task-Mechanistic-Firefox-0.01.tar.gz     : make_test NO 3 dependencies missing (MozRepl,WWW::Mechanize::Firefox,MozRepl::RemoteObject)


what can i do here?

note - i run opensuse 12.3

love to hear from you
greetings

At the terminal:

  1. Be sure that you know what directory you are in.
  2. run the command “script”
  3. Do whatever produces the output you need. It is okay to change directories.
  4. run the command “exit” or just CTRL-D to exit from the shell.

When done, you will still be in a terminal in the same directory that you noted for step 1.
There will be a file there named “typescript”. That file is a complete transcript of the session.

On Fri 17 May 2013 07:16:01 PM CDT, dilbertone wrote:

hello dear linux-fans

as it failed many many times to install Mozrepl with Mechanize::FireFox
i tried another package

this here Task::Mechanistic::Firefox

which comes packed with the prerequesites -

i did the following

at the console

perl -MCPAN -e shell

make test had returned bad status, won’t install without force

what can i do here?

Hi
Force the install so it skips the failed test?


cpan[n]> force install Task::Mechanistic::Firefox


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.4-desktop
up 3 days 3:17, 3 users, load average: 0.13, 0.07, 0.06
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale

hello dear malcom

thx for the reply - and the hints - i did it.

unfortunalty without generating a report for all the processes

but let me tell you - some investigations
during the tests sevral new brwoser windows were opened - with text in it like so…
**
Mechanize ::Firefox etc …
**

see a snippet of the report…




# Checking basic functionality and how your ptys handle large strings...
#   This test may hang on certain systems, even though it is protected
#   by alarm().  If the counter stops, try Ctrl-C, the test should continue.
trying posix_openpt()...
trying grantpt()...
trying unlockpt()...
trying ptsname_r()...
trying to open /dev/pts/2...
trying to I_PUSH ptem...
trying to I_PUSH ldterm...
trying to I_PUSH ttcompat...
# isatty($master): YES
# isatty($slave): YES
# Child PID = 10644
# Good, your raw ptys can handle at least 530 bytes at once.
t/test.t .. 5/5 sysread(): Eingabe-/Ausgabefehler at t/test.t line 151.
Slave got EOF at line 530, byte 0.
t/test.t .. ok   
All tests successful.
Files=1, Tests=5,  4 wallclock secs ( 0.04 usr  0.02 sys +  0.32 cusr  0.46 csys =  0.84 CPU)
Result: PASS
  TODDR/IO-Tty-1.10.tar.gz
  /usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi/auto/IO/Tty/Tty.so
Installing /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi/auto/IO/Tty/Tty.bs
Installing /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi/IO/Pty.pm
Installing /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi/IO/Tty.pm
Installing /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi/IO/Tty/Constant.pm
Installing /usr/share/man/man3/IO::Pty.3pm
Installing /usr/share/man/man3/IO::Tty::Constant.3pm
Installing /usr/share/man/man3/IO::Tty.3pm
Appending installation info to /usr/lib/perl5/5.16.2/i586-linux-thread-multi/perllocal.pod
  TODDR/IO-Tty-1.10.tar.gz
  /usr/bin/make install  -- OK
Running make for S/SK/SKI/Task-Mechanistic-Firefox-0.01.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Task-Mechanistic-Firefox-0.01-_ECpVJ

  CPAN.pm: Building S/SK/SKI/Task-Mechanistic-Firefox-0.01.tar.gz

cp lib/Task/Mechanistic/Firefox.pm blib/lib/Task/Mechanistic/Firefox.pm
Manifying blib/man3/Task::Mechanistic::Firefox.3pm
  SKI/Task-Mechanistic-Firefox-0.01.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/Task-Mechanistic-Firefox.t
t/Task-Mechanistic-Firefox.t .. ok   
All tests successful.
Files=1, Tests=1,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.01 cusr  0.00 csys =  0.05 CPU)
Result: PASS
  SKI/Task-Mechanistic-Firefox-0.01.tar.gz
  /usr/bin/make test -- OK
Running make install
Installing /usr/lib/perl5/site_perl/5.16.2/Task/Mechanistic/Firefox.pm
Installing /usr/share/man/man3/Task::Mechanistic::Firefox.3pm
Appending installation info to /usr/lib/perl5/5.16.2/i586-linux-thread-multi/perllocal.pod
  SKI/Task-Mechanistic-Firefox-0.01.tar.gz
  /usr/bin/make install  -- OK
Failed during this command:
 ZIGOROU/MozRepl-0.06.tar.gz                  : make_test FAILED but failure ignored because 'force' in effect
 MIKEM/Net-SSLeay-1.54.tar.gz                 : make NO
 SULLR/IO-Socket-SSL-1.89.tar.gz              : make_test FAILED but failure ignored because 'force' in effect
 GAAS/LWP-Protocol-https-6.04.tar.gz          : make_test FAILED but failure ignored because 'force' in effect
 NANIS/Crypt-SSLeay-0.64.tar.gz               : make NO
 SKI/Task-Mechanistic-0.01.tar.gz             : make_test FAILED but failure ignored because 'force' in effect
 CORION/WWW-Mechanize-Firefox-0.74.tar.gz     : make_test FAILED but failure ignored because 'force' in effect



and see some content of a browser-window that opened… - and this was a brand new behaviour. i never ever had this during an attemt of installation of Mechanize::FireFox
in the last 15 month

yes i tried this more than 15 month now… - on several platforms.

see this…:output:



Request headers

Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Host: localhost:52074
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0
Cookie: log-server-httponly=supersecret; log-server=shazam2



by the way - do i have to switch something with the Host - shouldent it be something with 4xxyy

question -. how can i test if the installation-process succedet?

love to hear from you

regards

malcolmlewis wrote:
> Hi
> Force the install so it skips the failed test?
>


> cpan[n]> force install Task::Mechanistic::Firefox
> 

I’m really surprised that you suggest this course of action.

It’s generally a bad idea to force an install. Much better to understand
the fundamental cause of the problem and fix it.

In this case forcing the install won’t help at all. It will just confuse
things further.

The error message is quite clear:

make_test NO one dependency not OK (MozRepl)

There is a missing dependency - MozRepl. That needs to be fixed.

I’m surprised the installation got as far as make test. Either there is
a bug in the install script or some forcing was already done but not
posted. dilbertone, please post the full session as described by nrickert.

my trials to install mozrepl and Mechanize FireFox on a opensuse 12.3

well it failed:

see full stuff - see here
http://pastebin.de/34952

btw - the next time i will gather even more information
i will try to capture the full stuff.

hope it helps a bit further

love to hear from you