Migration of Perl-Installation

Migration of Perl-Installation

am 05.05.2010 12:19:47 von Johannes Kilian

Hi there,

I've got to format/reinstall my machine - and now I want to get all the
Perl-Modules installed again that I've got installed previously.

I've had running ActiveState-Perl 5.8.8.817 (Yes I know - pretty old,
but I'm bound to it for some reason). Almost all additional modules are
installed via ppm, some are installed from cpan (due to lack of ppm
versions). Before reinstalling my machine I made a complete backup of my
C:\Perl directory.

After reinstalling my machine I want to have the same perl environment
reinstalled (esp. all non-core modules). I don't want to reinstall all
modules by hand - after installing perl on my "new" machine.

Is there any way to "inject" the previously installed modules in a new
perl installation?


Any help welcome ...

Johannes


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Migration of Perl-Installation

am 05.05.2010 12:54:43 von Rene Schickbauer

Johannes Kilian wrote:
> Hi there,
>
> I've got to format/reinstall my machine - and now I want to get all the
> Perl-Modules installed again that I've got installed previously.
>
> I've had running ActiveState-Perl 5.8.8.817 (Yes I know - pretty old,
> but I'm bound to it for some reason). Almost all additional modules are
> installed via ppm, some are installed from cpan (due to lack of ppm
> versions). Before reinstalling my machine I made a complete backup of my
> C:\Perl directory.
>
> After reinstalling my machine I want to have the same perl environment
> reinstalled (esp. all non-core modules). I don't want to reinstall all
> modules by hand - after installing perl on my "new" machine.

Just install ActivePerl and all the development tools. Then, just
replace C:\Perl with your backed-up copy.

I do this all the time on some of my production servers, works like a
charm for me.

LG
Rene
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Migration of Perl-Installation

am 05.05.2010 12:58:43 von Johannes Kilian

Am 05.05.2010 12:54, schrieb Rene Schickbauer:
> Just install ActivePerl and all the development tools. Then, just
> replace C:\Perl with your backed-up copy.
>
> I do this all the time on some of my production servers, works like a
> charm for me.
>

Thats what I also tried - but either I did something completly wrong
(unlikely), or it does not work as expected. Neither PPM does show any
modules as installed (ppm query * gives an empty list) nor any
(non-core) modules are found while running a perl script ...

Will try it again ...

Thanks
Johannes

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Migration of Perl-Installation

am 05.05.2010 13:37:48 von lyle

Johannes Kilian wrote:
> Am 05.05.2010 12:54, schrieb Rene Schickbauer:
>
>> Just install ActivePerl and all the development tools. Then, just
>> replace C:\Perl with your backed-up copy.
>>
>> I do this all the time on some of my production servers, works like a
>> charm for me.
>>
>>
>
> Thats what I also tried - but either I did something completly wrong
> (unlikely), or it does not work as expected. Neither PPM does show any
> modules as installed (ppm query * gives an empty list) nor any
> (non-core) modules are found while running a perl script ...
>
> Will try it again ...
>

The modules must be there if you've copied them over, so PPM isn't
showing them... I'd suspect that PPM keeps a local record somewhere of
the modules it's installed. Maybe in "Documents &
Settings\AppData\ActivPerl"?? Or something like that.


Lyle

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Migration of Perl-Installation

am 05.05.2010 13:45:29 von Johannes Kilian

Am 05.05.2010 13:37, schrieb Lyle:
> The modules must be there if you've copied them over, so PPM isn't
> showing them... I'd suspect that PPM keeps a local record somewhere of
> the modules it's installed. Maybe in "Documents &
> Settings\AppData\ActivPerl"?? Or something like that.
>

That's what I suspect too - but I don't have a guess where to search for
this record yet ...
I'll try researching ...
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Migration of Perl-Installation

am 06.05.2010 11:13:15 von Johannes Kilian

Am 05.05.2010 12:54, schrieb Rene Schickbauer:
> Just install ActivePerl and all the development tools. Then, just
> replace C:\Perl with your backed-up copy.
>
> I do this all the time on some of my production servers, works like a
> charm for me.

Am 05.05.2010 13:37, schrieb Lyle:
> The modules must be there if you've copied them over, so PPM isn't
> showing them... I'd suspect that PPM keeps a local record somewhere of
> the modules it's installed. Maybe in "Documents &
> Settings\AppData\ActivPerl"?? Or something like that.

Both are right. I previously had a WinXP System and now have Win7.
The described issues has to been seen in the context of UAC.
Perl is installed as administrator - the previous perl installation was
copied in this installation as administrator.
Running perl scripts/ppm as administrator everything is OK - running as
normal user the described behaviour occurs ....

Since I'm pretty new to Win7, I've to search further on for an solution ...


http://aspn.activestate.com/ASPN/Mail/Message/activeperl/381 5369 seems
to address a similar problem:
* perl.exe and wperl.exe now contain an application manifest that tells
Windows Vista, Windows 2008 and Windows 7 to run the executable with
the same privileges as the invoker. This avoids getting redirected to
the "Virtual Store" sandbox while trying to access certain parts of
the filesystem.

Does anybody know, whether it is possible to run AvtiveState Perl 5.8.8
817 under Win7 reasonably at all?

Thanks
Johannes



_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs