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



well i tried it several times - on differnet installations of suselinux. now - on opensuse 13.1 i have issues again to install mozrepl firefox

- once - years ago i managed to get it up and running. but i do not know how... - unfortunatly

FOLLOWED THE STEPS HERE:

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

Download mozrepl 1.1.0 available from
https://github.com/bard/mozrepl/zipball/1.1.0
or a later version from
https://github.com/bard/mozrepl/tags Unpack the zip archive into a directory.
The archive contains one subdirectory with a name of the form bard-mozrepl-abcdefg. Create a new zip archive with the files in the subdirectory bard-mozrepl-abcdefg. This new archive must have the files at the root entry, not in a subdirectory.


The file layout should look like this:

chrome/ components/ defaults/ chrome.manifest install.rdf logo.png



Rename your new zip archive from .zip to .xpi.
Launch Firefox
Install the freshly created .xpi file into Firefox. For example you can drag and drop the file into Firefox. Start mozrepl in Firefox by going to the menu:

well i did all the steps and finally i got the results

drwxr-xr-x 5 martin users 4096 15. Dez 2011 bard-mozrepl-646208b martin@linux-70ce:~/perl/mechanize_firefox> cd bard-mozrepl-646208b/ martin@linux-70ce:~/perl/mechanize_firefox/bard-mozrepl-646208b> ls -l insgesamt 24 drwxr-xr-x 3 martin users 4096 15. Dez 2011 chrome -rw-r--r-- 1 martin users 722 15. Dez 2011 chrome.manifest drwxr-xr-x 2 martin users 4096 15. Dez 2011 components drwxr-xr-x 3 martin users 4096 15. Dez 2011 defaults -rw-r--r-- 1 martin users 1114 15. Dez 2011 install.rdf -rw-r--r-- 1 martin users 2166 15. Dez 2011 logo.png martin@linux-70ce:~/perl/mechanize_firefox/bard-mozrepl-646208b>


I installed it trought firefox

BUT then i tried to thest it:
qestion: which tests can i do - which tests with the terminal to check if i installed it right? i found this site http://chat.stackoverflow.com/transcript/23922/2013/2/4/23-24 where someone claims that i can do the following test.

add only this line in a file use WWW::Mechanize::Firefox;

cf: Mooing Duck Does a file containing only "use WWW::Mechanize::Firefox;" work? If not, it's not properly set up. I'm still researching how to set up perl plugins for you. see this site http://chat.stackoverflow.com/transcript/23922/2013/2/4/23-24


results:

martin@linux-70ce:~/perl> perl moz.pl Can't locate WWW/Mechanize/Firefox.pm in @INC (you may need to install + the WWW::Mechanize::Firefox module) (@INC contains: /usr/lib/perl5/s +ite_perl/5.18.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.18 +.1 /usr/lib/perl5/vendor_perl/5.18.1/i586-linux-thread-multi /usr/lib +/perl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/i586-linux-thread-mul +ti /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl .) at moz.pl line 2 +. BEGIN failed--compilation aborted at moz.pl line 2. martin@linux-70ce:~/perl>



well the installation of mechanize_firefox fails here

what d o you advice!?

Replies are listed 'Best First'.
Re: installation of FireFox :: Mechanize fails - [again]
by AppleFritter (Vicar) on Jul 10, 2014 at 18:47 UTC

    This bit:

    you may need to install the WWW::Mechanize::Firefox module

    gives a valuable clue: fire up a cpan shell, and install WWW::Mechanize::Firefox:

    $ cpan cpan shell -- CPAN exploration and modules installation (v2.05) Enter 'h' for help. cpan[1]> install WWW::Mechanize::Firefox ...

    Have you tried that?

Re: installation of FireFox :: Mechanize fails - [again]
by marto (Cardinal) on Jul 10, 2014 at 18:46 UTC
    At this stage I'd advise you to either look at your many previous threads on this exact topic and read the responses you have been given. Some are very in depth, you had this module installed and working previously. Either figure out what is going wrong and why (again, your many previous threads here and elsewhere) or give up and pay someone to do this for you.
Re: installation of FireFox :: Mechanize fails - [again]
by Anonymous Monk on Jul 11, 2014 at 06:54 UTC
      hello - thx for the hint to use another package. i will give it a try later the weekend. Thx for the constructive comment in the thread. ;-) This is very supportive
Re: installation of FireFox :: Mechanize fails - [again]
by Perlbeginner1 (Scribe) on Jul 10, 2014 at 19:02 UTC
    hello dear Marto - hello dear Applefitter

    first of all - many thanks for the replies. i am happy that you have answered.

    @Marto: youre right;: years ago i was lucky - i had it up and running. gueess that it had to do with the usage of the correct make - ... but i am not sure

    @AppleFitter:

    i just did it - just see what happened:

    http://pastebin.com/5ZkrC2WY

    well - i have to study the results... later the evening.

    if i find something - what goes wrong i come back here and report it... if you have something that you might see - then i would be happy to hear from you.


    i would be very glad to go one step ahead with this loooooong-term-issue...

Re: installation of FireFox :: Mechanize fails - [again]
by Perlbeginner1 (Scribe) on Jul 10, 2014 at 19:14 UTC
    i just did it - just see what happened:

    http://pastebin.com/5ZkrC2WY

    well - i have to study the results... later the evening.

    after studying the terminal-output a while i suppose that something went wrong with the installation of mozrepl.... what do you say....



    Can't locate MozRepl/RemoteObject.pm irn @INC (you may need to install + the MozRepl::RemoteObject module) (@INC contains: /usr/lib/perl5/sit +e_perl/5.18.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.18.1 + /usr/lib/perl5/vendor_perl/5.18.1/i586-linux-thread-multi /usr/lib/p +erl5/vendor_perl/5.18.1 /usr/lib/perl5/5.18.1/i586-linux-thread-multi + /usr/lib/perl5/5.18.1 /usr/lib/perl5/site_perl . lib) at lib/Firefox +/Application.pm line 4.




    conclusion - it would be great if we would have a file that fits . i do not (!!!!!) understand why we need the tricky procedure that is described here....http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.74/lib/WWW/Mechanize/Firefox/Installation.pod

    any ideas how to procced

    which tests should i perform - what can i do in the terminal now ...

      You should give up. Stop cross posting this spam at StackOverlfow, OS forums. Programming is not for you.