Operating System - OpenVMS
1748154 Members
3695 Online
108758 Solutions
New Discussion юеВ

Re: Need MMS or MMK, but don't have C compiler

 
SOLVED
Go to solution
Ts_hunter
Occasional Advisor

Re: Need MMS or MMK, but don't have C compiler

I have all of the .pm I need from my other installation of OpenVMS perl (done several years ago). Would I be able to simply copy all of those .pm files from the other machine to this new setup?
Joseph Huber_1
Honored Contributor

Re: Need MMS or MMK, but don't have C compiler

>>Would I be able to simply copy all of those .pm files from the other machine to this new setup?

You can copy the whole perl_root directory tree from another machine of course.
It makes not much sense to copy the [lib]*.pm only, they usually call modules/libraries further down the [LIB...]tree.

If You look into the existing setup, You will see a lot of directories containing .pm,.exe, and .olb files mainly. The exe and olb's are the one built using compilers.
http://www.mpp.mpg.de/~huber
Craig A Berry
Honored Contributor

Re: Need MMS or MMK, but don't have C compiler

In principle you can copy the files that make up pure-Perl modules into a new installation if you know where they go, what their permissions and ownership should be, etc. But it's generally better to let "MMK install" worry about that. Copying the files manually can get just a bit tricky if autosplitting is involved (see $ perldoc AutoSplit).