Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

ActiveState Module Install Without PPM

by ~~David~~ (Hermit)
on Jun 17, 2009 at 16:35 UTC ( #772468=perlquestion: print w/replies, xml ) Need Help??
~~David~~ has asked for the wisdom of the Perl Monks concerning the following question:

My company controls the perl distribution that we work on, and it currently doesn't have Moose. I installed an old version of Moose to a local directory by manually downloading all the files and dependencies. Recently, I figured I would move to the newest version of Moose by doing the exact same thing (manually copying).
Unfortunately, this time, I must have messed up somehow because I get the following error
Can't locate loadable object for module Sub::Name in @INC (@INC contai +ns: //perl/lib )at //perl/lib/Class/MOP/Class.pm line 14
I have Sub::Name in the directory. I am assuming I messed up somewhere though.
So I have two questions:
1. Anyone know where my problem could be ( Moose is 0.81 )
2. Anyone know the most reliable way of downloading modules and their dependencies on ActiveState perl without PPM?

Replies are listed 'Best First'.
Re: ActiveState Module Install Without PPM
by syphilis (Chancellor) on Jun 17, 2009 at 23:32 UTC
    Anyone know where my problem could be

    You've copied site/lib/Sub/Name.pm across ok, but you haven't copied site/lib/auto/Sub/Name/Name.dll (the "loadable object" that cannot be located) across.

    Anyone know the most reliable way of downloading modules and their dependencies on ActiveState perl without PPM?

    If you have an internet connection, you should be able to get PPM working. Otherwise the best way is to get a compiler (eg the freely available MinGW) and a make utility (eg the freely available dmake) and build and install the modules from CPAN source - but you'll still need to be able to download the CPAN source.

    UPDATE: Follow jand's advice instead of the link I provided below.

    You can also download PPM packages to your machine without using PPM itself, then perform a local PPM install. For the 5.8.x packages, go here - I don't have a link to the 5.10 packages but it shouldn't be hard to find.

    Cheers,
    Rob
      Please don't use the old *.zip archives anymore. They are not being maintained anymore. You can download *.ppmx files directly from the PPM build status pages and install them with:
          ppm install FooBar-1.23.ppmx
      
      A .ppmx file is just the usual tarball of the blib tree plus an additional *.ppd included. These files are the same tarballs that PPM itself would download from the repo.
Re: ActiveState Module Install Without PPM
by imrags (Monk) on Jun 18, 2009 at 05:39 UTC
    If you have missed the dll file(as mentioned earlier), that could be one of ur problem
    or the path to the file should be included in the script itself
    Here's what i do when i use activestate perl.
    1. I download the module (tar.gz) file
    2. Extract it using WinRAR
    3. Use Nmake to install the module (Nmake 1.5 from Microsoft)
    Nmake Nmake test Nmake install
    4. Open the Pm file and check what modules it uses or
    run "perl -e "use <Module Name>" from commandline
    5. If it doesn't throw an error, it's working :)
    else, you'll know which dependent module is not present...
    Raghu

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://772468]
Approved by marto
help
Chatterbox?
[MidLifeXis]: (5.22 at that time)
[MidLifeXis]: Yeah, I know, really helpful :-)
[Corion]: If all else fails, Spreadsheet::XLSX should be "installable" by manually copying the files, provided that the prerequisites are met
[thezip]: It fails in the "formatted 2-digit numeric" tests
[thezip]: Okay Corion, that's what I wanted to hear. Thanks!
[Corion]: Oh, a test failure... Just force-install it then? --force and potentially --notest to skip the tests alltogether ?
[ambrus]: thezip: is Activestate Perl usable for your scenario instead?
[MidLifeXis]: Yeah, --notest is good, not sure I would do --force.
[thezip]: It fails 2/10 tests in that group. What are the ramifications if I force it? What should I look for for?
[thezip]: I've migrated from ActiveState to Strawberry. No going back...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2017-03-23 17:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (290 votes). Check out past polls.