Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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/ 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/ 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.

      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...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://772468]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-11-23 02:30 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (328 votes). Check out past polls.