CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
step by step installing mozrepl & mecha::firefox on linux

 



dilbert
User

Jun 22, 2013, 8:48 AM

Post #1 of 3 (545 views)
step by step installing mozrepl & mecha::firefox on linux Can't Post

hello dear Perl-gurus


i have big big troubles whith the installation of Mozrepl-Firefox on OpenSuse 12.4 how can i do this!? Please i need your help:

i start like so;

at the console


Code
perl -MCPAN -e shell


well in past The hard thing is that i face that CPAN does not handle all dependencies, Isn't it supposed to handle all dependencies automatically
so my cpan configuration should be set to follow prerequisites

cpan> o conf prerequisites_policy follow cpan> o conf commit



we have got this following;

http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.74/lib/WWW/Mechanize/Firefox/Installation.pod

Alternatively, launch the Firefox binary with the -mozrepl command line switch:


Code
 firefox -repl


If tests still fail, especially t/50-click.t and 51-mech-submit.t , this might be because you use the NoScript Mozilla extension and have it blocking Javascript for file:// URLs. While this is good, the tests need Javascript enabled.

[ Open t/50-click.html in Firefox
Allow Javascript for all file:// URLs
Re-run tests


Code
 perl Makefile.PL 
nmake test


or if you are using Strawberry Perl or Citrus Perl


Code
        perl Makefile.PL 
dmake test

No test should fail


questions: generally - how can i test which version of configuration i am running. how to check

a. if i run javascriopt or not!?


dilbert
User

Jun 22, 2013, 10:17 AM

Post #2 of 3 (541 views)
Re: [dilbert] step by step installing mozrepl & mecha::firefox on linux [In reply to] Can't Post

hi there

well it failed:

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


Code
  Non-zero exit status: 13 
t/mechanize/autocheck.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/mechanize/content.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/rt65615.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/rt78706.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/rt84418.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/select.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=86, Tests=95, 6 wallclock secs ( 0.29 usr 0.10 sys + 4.98 cusr 0.62 csys = 5.99 CPU)
Result: FAIL
Failed 81/86 test programs. 14/95 subtests failed.
make: *** [test_dynamic] Fehler 2
CORION/WWW-Mechanize-Firefox-0.74.tar.gz
one dependency not OK (MozRepl::RemoteObject); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports CORION/WWW-Mechanize-Firefox-0.74.tar.gz
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


what can i do now?


dilbert
User

Jun 22, 2013, 10:55 AM

Post #3 of 3 (539 views)
Re: [dilbert] step by step installing mozrepl & mecha::firefox on linux [In reply to] Can't Post

 
update:

well it is a pain if we have much text in the commandline. i will do reports with the following way:

At the terminal:
the folliwing steps will help;


first of all we need to be sure that we know what directory we are in.
run the command "script"
We do whatever produces the output we need. It is okay to change directories.
We run the command "exit" or just CTRL-D to exit from the shell.
When done, we will still be in a terminal in the same directory that we noted for step 1.

well that will do / create reports of the full text in the commandline

end of update;


note i need to trace the issues - since i struggle with the installation so many tinmes.
and with that way i can trace the issues that i have with the installation

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives