Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable?

Booting, installing, newbie
Post Reply
Message
Author
sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable?

#1 Post by sayhello_to_the_world »

good day dear Puppy Linux-Friends,

well i am new to PL so do not bear with me if i ask nasty questions.

i run openSuse 12.3

but in the past i had several issues with installing some perl packages

I run into troubles several times - with several openSuse-releases.
guess that i sometimes messed up the installation -

well now i want to try out a new way - i have heard bout puppylinux and i eagerly look for a package that contains

a. mozrepl and
b. Mechanize::FireFox

is this doable - on a Puppy-Live-DVD !?


welll i have tried to install all that stuff via

a. Repos of opensuse
b. CPAN

no thing worked either!?

i have had CPAN-Dependencies,

BTW - the OpenSuse-people are somewhat "religios ppl." they do not allow me to install via CPAN - they force me to do all the things by adding a Repository (from opensuse).

But - guess that i have to try out the CPAN-way. It seems to be a good way.
The last time i tried to install Mozrepl i did something wrong and i guess that i messed up all the machine. All the things were messed up totally.

At the end .- have had errors over errors. it was terrible.

see the error reports i have had... btw - i guess that i somethimes have had a bad Make on the machine - or a bad make-test. What do you think"!?

here i provide you with the reports of the failed trials of installation ....


what has happened in the past: i have had serious issues with the installation of

MECHA::FireFox Hmm - i should have to work through the steps in
WWW::Mechanize::Firefox::Troubleshooting! But believe me - this is pretty hard to do: Especially the "Installation" section seems particularly applicable to my situation here!

see also...: https://forums.opensuse.org/english/...make-test.html

n i decided to install WWW-Mechanize-Firefox-0.68.tar.gz

but i run into troubles : see the following:

Code: Select all

Parse errors: No plan found in TAP output
Files=83, Tests=78,  7 wallclock secs ( 0.26 usr  0.08 sys +  4.64 cusr  0.56 csys =  5.54 CPU)
Result: FAIL
Failed 78/83 test programs. 14/78 subtests failed.
make: *** [test_dynamic] Fehler 2
  CORION/WWW-Mechanize-Firefox-0.68.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.68.tar.gz
Running make install
  make test had returned bad status, wont install without force
Failed during this command:
 ZIGOROU/MozRepl-0.06.tar.gz                  : make_test NO
 CORION/MozRepl-RemoteObject-0.34.tar.gz      : make_test NO one dependency not OK (MozRepl)
 CORION/WWW-Mechanize-Firefox-0.68.tar.gz     : make_test NO one dependency not OK (MozRepl::RemoteObject); additionally test harness failed 

,,,,,also interesting - some reports (in the past!!):

If i run the script i got fatal errors -

Code: Select all

linux-vi17:/home/martin/bin # perl get_shots.pl Failed to connect to , problem connecting to "localhost", port 4242:
 connecting to the denied at /usr/lib/perl5/site_perl/5.12.3/MozRepl/Client.pm line 144

what is aimed:

i have a list of 2,500 URLs, one on each line, saved in a file. i want the script to open the file, read a line, then retrieve the website? If so, something like this:


Filename: urls.txt

Code: Select all

Google.com 
CNN.com
news.bbc.co.uk
Bing.com 
Yahoo.com 
and so on and so forth...
Then the code:

Code: Select all

    use WWW::Mechanize::Firefox;
    my $mech = WWW::Mechanize::Firefox->new();

    open(INPUT, "urls.txt") or die "Can't open file: $!";

    while (<INPUT>) {
      chomp;
      $mech->get($_);
      my $png = $mech->content_as_png();
    }
    close(INPUT);
    exit;

i try to run this little programme on my linux box.

But as mentioned above - this were the issues i have runned into. Now i have a totally fresh installed Opensuse - 12.3 and i can begin at the beginning.

Guess that i have to start over with the CPAN or even better

to try it out with a PUPPY-Linux.

do you think that puppy can have all the necessary things i need - all included in a Live-CD or DVD!?


what do you think!?

love to hear from you
say hello to the woerld

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable?

#2 Post by Sky Aisling »

Hello, sayhello_to_the_world and welcome.
Your enthusiasm for trying many things is impressive.

Could you tell us the name and model of your machine?
How much RAM does it have?
Would you like to try a simple Puppy before you customize it?

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#3 Post by Ted Dog »

Should be, recommend a rewritable DVD, and keep the downloaded chunks stored on a flash or HD. Good thing about puppy is you can run from RAM and try things out before committing it back to DVD drive. Puppy being small saves time on the retries.

sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

Re: Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable?

#4 Post by sayhello_to_the_world »

hello dear Sky Aisling

many thanks for the reply - sorry for answering so late
Sky Aisling wrote:Hello, sayhello_to_the_world and welcome.
Your enthusiasm for trying many things is impressive.

Could you tell us the name and model of your machine?
How much RAM does it have?
Would you like to try a simple Puppy before you customize it?

well sure i would like to try a simple puppy before.

see the machines i have here:

Akoya - P 6512 15" OpenSuse 12.3: AMD Athlon X2 P320, 2,10 GHz, 4 GB

Samsunng q 210, 12,1" OpenSuse 12.3: Intel® Core™ 2 Duo Proz. P8400 2,26 GHz 1066 MHz FSB 3 MB


love to hear from you - how to step forward - what comes next / first?


greetings say :D

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Puppy liveDVD with Mozrepl & Mechanize-FireFox: Doable?

#5 Post by Sky Aisling »

hello sayhello_to_the_world,

You write:
well now i want to try out a new way - i have heard bout puppylinux and i eagerly look for a package that contains

a. mozrepl and
b. Mechanize::FireFox

is this doable - on a Puppy-Live-DVD !?
I'm going to have to pass your questions on to those who know more about programming Mozilla applications as I know little of that subject.

Also, since your post I've broken my wrist and injured my shoulder. My typing responses are limited, not to mention other non-computer related tasks. :roll:

Be steadfast, hopefully someone will respond with assistance for your question :)

sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

#6 Post by sayhello_to_the_world »

hi

Be steadfast, hopefully someone will respond with assistance for your question
thx alot - hope that we can g e t further.

all the best to you

greets
say

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#7 Post by Semme »

Martin- WOW! You have been @ it a long time!

This below.. on Slackware as well?
Yes I tried this more than 15 month now... on several platforms.
I see Keath made a nice attempt. Unfortunately :cry: the wrong platform.

How come you didn't stick with it here?

sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

#8 Post by sayhello_to_the_world »

hi there semme



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 - and Semme keep on reading.
:D and help with a solution...

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

OK. Don't know what happened here? At some point you need to follow-through..

Older but interesting >> http://www.perlmonks.org/?node_id=583139

Then there's this page.. one you're <very> familiar with?

I'm kinda thinking it's about the order of events..

Gotta have a plan!

sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

#10 Post by sayhello_to_the_world »

Hello Semme,

many many thx for the excellent review of issues & problems and discussions. We have some kind of conflicts.


Semme wrote:OK. Don't know what happened here? At some point you need to follow-through..

Older but interesting >> http://www.perlmonks.org/?node_id=583139

Then there's this page.. one you're <very> familiar with?

I'm kinda thinking it's about the order of events..

Gotta have a plan!
well to have a plan is cetatinly the most important thing.

in previous times i thoutht that i have issues with MAKE

but in newer times - keath for example notes that i have other issues...
http://forums.devshed.com/perl-programm ... 45103.html


question: do you think that a remote session - a telnet insallation will function?
what about a session where a perl expert has got some kind of overview on the process?

that may solve all issues!? what do you think?

sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

#11 Post by sayhello_to_the_world »

well belive it or not .

i canont install the stuff _ now i run opensuse 13.1
it is not installable

sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

store the data instead of printing it - in to a mysql-db

#12 Post by sayhello_to_the_world »

want to store the data to the mysql-db

Code:

{'url': 'http://dom1', 'name': 'WACCCE', 'name2': 'WangDI Dange', 'email-adress': 'waddehadde@hotmail.com'}
{'url': 'http://dom2', 'name': 'WADDEE', 'name2': 'Josef Waddde', 'email-adress': 'waddehadde@hotmail.com'}


I have a very simple dataset - see above:; wwell it has approx 500 records.

PHP I want to store it in the mysql-db.

Well in order to do this, I need to store the above mentioned data

I ve heard that tis we can store it in a database, using MySQL to store this. but it seem overcomplicated to me.

So this takes me to a question, is there a way to store a this dataset with using MySQL

Post Reply