Perlbeginner1 has asked for the wisdom of the Perl Monks concerning the following question:

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

i tried to install Task-Mechanistic-Firefox-0.01.tar.gz

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 here

http://pastebin.com/G9XJNXsG

see a snippet of the report...


br # 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 con +tinue. 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 architectu +re dependent library tree Installing /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi/aut +o/IO/Tty/Tty.so Installing /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi/aut +o/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-Mec +hanistic-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.p +m 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_h +arness(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 f +ailure 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 f +ailure ignored because 'force' in effect GAAS/LWP-Protocol-https-6.04.tar.gz : make_test FAILED but f +ailure 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 f +ailure ignored because 'force' in effect CORION/WWW-Mechanize-Firefox-0.74.tar.gz : make_test FAILED but f +ailure 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 Fire +fox/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

Replies are listed 'Best First'.
Re: Task-Mechanistic-Firefox now running on port localhost:52074 - doable?
by marto (Cardinal) on May 18, 2013 at 04:38 UTC

    Ignore this module (see your previous thread for reasons why) and install WWW::Mechanize::Firefox as described in the documentation (again, see your previous thread, and all your other posts on the subject).

    If you don't stop ignoring the advice people give you, they're likely to stop replying to you. If you don't want to do this consider an alternative hobby/career, or hire someone to do this for you. At one point you did successfully install this module. Often you make it sound like this has never worked for you, which is clearly not the case.

      hello dear Marto

      many thanks for the hints - the advices and -yes for your kind words. Youre right. Once upon a time the Mechanize::FireFox runned well and without any issue.
      But - the sad thing is: i do not know how i solved the issues with the prerequisites. And there are some dependencies that can be handeled only from wise perl-experts.


      The hard thing is that i face that CPAN does not handle all dependencies, Isn't it supposed to handle all dependencies automatically?

      Khen, the guy that put together all this told this - since there are loads of dependencies that need to be installed before we can install Mechanize. Sure, CPAN does exactly what it is told to do. The authors of the dependencies are supposed to to tell it to install prerequisites: however, apparently they don't always do that, so some dependencies end up in the wind, causing the problems that we are encountering.

      so Marto - if i were able to install the original Mechanize:: FireFox i would be happy - but i think that it is hardly possible for me since there are tricky things involved - concerning the prerequisites and the conditions that need to be set up before we are able to install.

      If you can tell me where my issues are rootet in i would be happy.

      meanwhile i AM HAPPY with the Task::Mechanistic::FireFox

      but i would be happy if i am able to understand what i did wrong with the installation

      without any ironic touch i would say. i am sure that you know the issues i am faced. You know where the installation fails -and what i do wrong here.
      Marto: i would be happy if you can h“elp me to understand - what i did wrong.

      greetings - perlbeginner

        "The hard thing is that i face that CPAN does not handle all dependencies, Isn't it supposed to handle all dependencies automatically?"

        Your cpan configuration should be set to follow prerequisites:

        cpan> o conf prerequisites_policy follow cpan> o conf commit

        WWW::Mechanize::Firefox installs fine for me with cpan WWW::Mechanize::Firefox. As you have been told many times you need to set up the MozRepl Firefox plugin, and set it up, in order to run the tests and the module.

        Read WWW::Mechanize::Firefox::Troubleshooting and WWW::Mechanize::Firefox::Installation and actually work through the steps given.

        If you post another long, wordy yet seemingly content-less stream of though post on this or any other subject, I'm unlikely to reply.

        Update: fixed broken link.