Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by syphilis (Canon)
on Oct 19, 2011 at 09:29 UTC ( #932336=note: print w/ replies, xml ) Need Help??


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

it given error like Can't locate XML/Fast.pm

Yes, you need to install XML::Fast. On Strawberry Perl the simplest way to do that is to run:

cpan -i XML::Fast
so i downloaded XML::Fast .tar.gz file from CPAN. and i extracted

Well ... that's another alternative ... but, having extracted the tarball, you then need to cd to the top level source folder (ie the folder that contains the Makefile.PL) and run, in succession:
perl Makefile.PL dmake test dmake install
I Google it to overcome this error, every body say it will come when you copy .pm file like that

Not correct. That will work for some modules, but not perl extensions (such as XML::Fast) that contain code that needs to be compiled.

Cheers,
Rob


Comment on Re: can't locate loadable object module error in perl.
Select or Download Code
Re^2: can't locate loadable object module error in perl.
by veerubiji (Sexton) on Oct 19, 2011 at 10:12 UTC

    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.

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932336]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2014-08-22 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (150 votes), past polls