Results 1 to 4 of 4

Thread: bad Make-Test while running installation of a perl module

  1. #1

    Default bad Make-Test while running installation of a perl module

    on opensuse 12,3 i had a bad Make-Test while running installation of a perl module

    btw - think that i have gcc and make installed
    but see the troubles i run with the installation of WWW::Mechanize::firefox

    what can i do now ?



    Code:
    # '
    #     doesn't match '(?^:examples/open-local-file.pl syntax OK)'
    t/99-examples.t ................... 4/? 
    #   Failed test 'examples/bcat.pl compiles'
    #   at t/99-examples.t line 13.
    #                   'Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/arch /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.16.2 /usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.2 /usr/lib/perl5/5.16.2/i586-linux-thread-multi /usr/lib/perl5/5.16.2 /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.16.2 /usr/lib/perl5/site_perl .) at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/Firefox/Application.pm line 4.
    # BEGIN failed--compilation aborted at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/Firefox/Application.pm line 4.
    # Compilation failed in require at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/WWW/Mechanize/Firefox.pm line 12.
    # BEGIN failed--compilation aborted at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/WWW/Mechanize/Firefox.pm line 12.
    # Compilation failed in require at examples/bcat.pl line 3.
    # BEGIN failed--compilation aborted at examples/bcat.pl line 3.
    # '
    #     doesn't match '(?^:examples/bcat.pl syntax OK)'
    
    
    
    
    ´t/select.t ........................ Can't locate MozRepl/RemoteObject.pm in @INC (@INC contains: /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/arch /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.16.2 /usr/lib/perl5/vendor_perl/5.16.2/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.2 /usr/lib/perl5/5.16.2/i586-linux-thread-multi /usr/lib/perl5/5.16.2 /usr/lib/perl5/site_perl/5.16.2/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.16.2 /usr/lib/perl5/site_perl .) at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/Firefox/Application.pm line 4.
    BEGIN failed--compilation aborted at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/Firefox/Application.pm line 4.
    Compilation failed in require at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/WWW/Mechanize/Firefox.pm line 12.
    BEGIN failed--compilation aborted at /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/blib/lib/WWW/Mechanize/Firefox.pm line 12.
    Compilation failed in require at t/select.t line 6.
    BEGIN failed--compilation aborted at t/select.t line 6.
    t/select.t ........................ Dubious, test returned 2 (wstat 512, 0x200)
    No subtests run 
    
    Test Summary Report
    -------------------
    t/00-load.t                     (Wstat: 256 Tests: 1 Failed: 1)
      Failed test:  1
      Non-zero exit status: 1
    t/01-mech-destroy.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/47-mech-memleak2.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/47-mech-ref-memleak.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/47-mech-simplest.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/48-mech-launch.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/49-mech-get-file.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/49-mech-nav.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/49-mech-reuse.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-allow-js.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-app-new.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-app-profile.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-click.t                    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-follow-link.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-form-with-fields.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-form2.t                    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-load-and-load.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-activateTab.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-bufsize.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-closeTab.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-content.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-ct.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-encoding.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-error.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-event.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-forms.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-get-nocache.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-get.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-multi-event.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-new-dsl.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-new-with-tab.t        (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-new.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-post.t                (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-save-dialog.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-set-fields-875912.t   (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-mech-status.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-popup.t                    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-rt65615.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/50-tick.t                     (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-click_button.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-click_js.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-form-number-blakew.t       (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-field.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-form-with-fields.t    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-links.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-navigation.t          (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-sandbox.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-set-content.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/51-mech-submit.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-frame-document.t           (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-frame-event.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-mech-api-find_link-frames.t (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-mech-api-find_link.t       (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-mech-xpath.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-selector-frames.t          (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-selector-noframes.t        (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/52-selector-relative.t        (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/53-mech-capture-js-error.t    (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/55-basic-auth.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/60-mech-cookies.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/60-mech-custom-headers.t      (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/65-is_visible.t               (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/65-mech-meta.t                (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/65-set_visible.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-download-url.t             (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-mech-png.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-real-status.t              (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-rt70106-reload.t           (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-rt71216.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-tag-team.t                 (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-two-instances.t            (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/70-urlbar.t                   (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/75-save_url-cookies.t         (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    t/99-changes.t                  (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: Bad plan.  You planned 2 tests but ran 0.
    t/99-examples.t                 (Wstat: 3328 Tests: 14 Failed: 13)
      Failed tests:  1-4, 6-14
      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=81,  7 wallclock secs ( 0.24 usr  0.10 sys +  5.38 cusr  0.73 csys =  6.45 CPU)
    Result: FAIL
    Failed 81/86 test programs. 14/81 subtests failed.
    make: *** [test_dynamic] Fehler 2
      /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/.
    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 /home/martin/Downloads/perl/WWW-Mechanize-Firefox-0.74/.
    Running make install
      make test had returned bad status, won't install without force
    martin@linux-70ce:~/Downloads/perl/WWW-Mechanize-Firefox-0.74>
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,205
    Blog Entries
    15

    Default Re: bad Make-Test while running installation of a perl module

    Hi
    Why not use cpan to download, build and install?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: bad Make-Test while running installation of a perl module

    dilbertone wrote:
    > on opensuse 12,3 i had a bad Make-Test while running installation of a
    > perl module
    >
    > btw - think that i have gcc and make installed
    > but see the troubles i run with the installation of
    > WWW::Mechanize::firefox
    >
    > what can i do now ?
    >
    >
    >
    >
    > Code:
    > --------------------
    > # '
    > # doesn't match '(?^:examples/open-local-file.pl syntax OK)'


    (1) This isn't an applications question. Please ask a mod to move it to
    programming

    (2) You don't show the commands that you are using to try to install the
    module. You also spell it incorrectly, so please cut and paste computer
    output in code tags!

  4. #4

    Default Re: bad Make-Test while running installation of a perl module

    Hello dear Malcolm hello dar djh-novell,


    many thanks for the answer
    @ djh-novell - i will try to ask a mod to help me movin this thread to the programming-forums...



    many thanks to you Malcolm for your help.

    i will do as advice!

    on a sidenote: Well we tried to install www::mechanize::firefox through CPAN. The hard thing is that i face that CPAN does not handle all dependencies, Isn't it supposed to handle all dependencies automatically?

    We see that there are loads of dependencies that need to be installed before we can install Mechanize. I see that i run sometimes into serious problems. - See the make issues(below) that i often run into!

    I heard about this package: Task::Mechanistic::Firefox wihch contains lots of stuff that is needed.
    see detailed inof at the CPAN-Page: Task::Mechanistic::FireFox

    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 Malcolm, what d o you think, should we give this package a try!? CPAN-Module: Task-Mechanistic-Firefox-0.01/lib/Task/Mechanistic/Firefox.pm it is created by Khen1950fx@aol.com


    regrading the Make-Test: this is a difficult issue i run several times into - e.g. here i also had a bad make-test too: And on a sidenote: a guy told me to take care with the installation. He pointed out that the bad make-test can be caused by an installation for only one user - and not the whole system

    see this thread here

    Code:
    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/select.t                      (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: No plan found in TAP output
    Files=72, Tests=59,  5 wallclock secs ( 0.25 usr  0.10 sys +  4.08 cusr  0.62 csys =  5.05 CPU)
    Result: FAIL
    Failed 67/72 test programs. 13/59 subtests failed.
    make: *** [test_dynamic] Fehler 2
      CORION/WWW-Mechanize-Firefox-0.58.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.58.tar.gz
    Running make install
      make test had returned bad status, won't install without force
    linux-wyee:/home/martin/perl #
    Daxim, a user of Stackoverflow answered this: This happens when MozRepl::RemoteObject cannot be loaded. Install MozRepl for the system, not your user only.

    What do you think - is it possible that i run into problems since i do a messed up installation - with parts of it

    - installed as superuser [root], and other parts of it
    - installed as user [martin]

    What do you tink - is this possible. Can this be a cause of the issues i am faced!?
    As noted above, this is only a short answer since i am not at home right now. i am in the office - I get home later the evening then i can continue the work on the notebook with Perl, then i will do all you adviced me!


    Again, many many thanks for the help in this sophisticated task!

    regards
    dilbert
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •