in reply to Re: can't locate loadable object module error in perl.
in thread can't locate loadable object module error in perl.

hi, if i want run this command  cpan -i XML::Fast where should I run this in command prompt or cpan client, I tried on both but it it gives some errors.i installed strawberry perl in c folder. 2)for second option I tried to extract .tar.gz file it extracted to c directory and some folder. extracted folder name is "XML-Fast-0.08" this folder contains all files that i extracted. when I try with command prompt invalid internal or external like that. what should I do now.

Replies are listed 'Best First'.
Re^3: can't locate loadable object module error in perl.
by syphilis (Archbishop) on Oct 19, 2011 at 10:28 UTC
    where should I run this in command prompt or cpan client

    Run at the command prompt.

    I tried on both but it it gives some errors

    What errors did you get (when run from the command prompt) ?

    extracted folder name is "XML-Fast-0.08" this folder contains all files that i extracted. when I try with command prompt invalid internal or external

    What command was it that was reported as "invalid" ?

    Cheers,
    Rob

      when I tried like as you said, cpan -i XML::Fast I am getting error

      fetching with Lwp: http://cpan.strawberry.com/authors/01mailrc.txt.gz lwp failed with code [500] message [can't connect to cpan.strawberry.c +om:80<connect timeout>] warning: no success downloading 'c:\strawberry\cpan\sources\authors\01 +mailrc.txt.gz.tmp4056'.giving up on it.
      and when run like Makefile.pl I am getting errors like this
      c:\>files>XML-Fast-0.08>perl Makefile.PL writting Makefile for XML::Fast c:\>files>XML-Fast-0.08>make make is not recognized as internal or external command, operable program or batch file.
      i tried like this also
      c:\>files>XML-Fast-0.08>nmake nmake is not recognized as internal or external command, operable program or batch file.
        http://cpan.strawberry.com/authors/01mailrc.txt.gz

        My browser can't find this file either.
        Perhaps someone who regularly uses the cpan shell could confirm that this file *ought* to be locatable. (I personally loathe the cpan shell and avoid using it whenever it's practicable to do so ... which, thankfully, is "most of the time".)

        Cheers,
        Rob
        Are you behind a firewall? Do you require a proxy to access the internet?
        strawberryperl uses dmake, as perl -V:make will show
        c:\>files>XML-Fast-0.08>make

        In case you didn't the grasp the significance of Anonymous Monk's advice, you need to enter dmake not make

        Cheers,
        Rob
Re^3: can't locate loadable object module error in perl.
by Anonymous Monk on Oct 19, 2011 at 10:38 UTC