'moving' an activeperl install to a new machine (xp to windows 7)
hi all, ive got a wonderfully working activeperl 5.8.9 environment that was originall setup on Windows XP. so that i dont need to reinstall the many, many packages that ive ammased throughout the years - i had the thought to simply copy my entire 'perl' folder from the older windows xp pc to my newer windows 7 pc. certainly this will move perl and all packages just fine... the problem with this, is i dont know how to preserve the built-in PPM database functionality. originally i had 5.8.8 and only one file: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db at some point in time, i ran a 5.8.9 install ON TOP OF my 5.8.8 installation, and from that point on, the PPM folder structure somehow changed to become 3 files: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db-journal C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\820\ppm-MSWin32-x86-multi-thread-5_8.db I am suspecting that there is truly just one 'master database file', that being: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db does anyone have any first hand knowledge here what i would do, to somehow utilize my old .db file on the new windows 7 pc? i am thinking i can run the 5.8.9 install to the new windows 7 pc, then see if i can determine where the new *.db file gets created - and then possibly just 'swap out' the newly created *.db file with my original *.db file? i guess i have nothing to loose by trying this, but it would be nice if someone has walked this path before me, and can tell me which branches to duck under - so to speak... greg ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: 'moving' an activeperl install to a new machine (xp to windows 7)
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32- users-boun...@listserv.activestate.com] On Behalf Of Greg VisionInfosoft Sent: Friday, March 15, 2013 14:12 To: Perl-Win32-Users@listserv.ActiveState.com Subject: 'moving' an activeperl install to a new machine (xp to windows 7) hi all, ive got a wonderfully working activeperl 5.8.9 environment that was originall setup on Windows XP. so that i dont need to reinstall the many, many packages that ive ammased throughout the years - i had the thought to simply copy my entire 'perl' folder from the older windows xp pc to my newer windows 7 pc. certainly this will move perl and all packages just fine... the problem with this, is i dont know how to preserve the built-in PPM database functionality. What you want to do is: ppm profile save [ filename ] Write profile of configured repositories and installed packages to the given file. If no file is given then print the profile XML to standard output. Then install the AS you want and do: ppm profile restore [ filename ] Install the packages listed in the given profile file. If no file is given try to read the profile from standard input. Jan D is on the list and someone else may have more input, but I don't believe you want to just copy it across... If you have any questions and/or problems, please let me know. Thanks. Wags ;) David R. Wagner Senior Programmer Analyst FedEx Services 1.719.484.2097 Tel 1.719.484.2419 Fax 1.408.623.5963 Cell http://Fedex.com/us originally i had 5.8.8 and only one file: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db at some point in time, i ran a 5.8.9 install ON TOP OF my 5.8.8 installation, and from that point on, the PPM folder structure somehow changed to become 3 files: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db-journal C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\820\ppm-MSWin32-x86-multi-thread-5_8.db I am suspecting that there is truly just one 'master database file', that being: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db does anyone have any first hand knowledge here what i would do, to somehow utilize my old .db file on the new windows 7 pc? i am thinking i can run the 5.8.9 install to the new windows 7 pc, then see if i can determine where the new *.db file gets created - and then possibly just 'swap out' the newly created *.db file with my original *.db file? i guess i have nothing to loose by trying this, but it would be nice if someone has walked this path before me, and can tell me which branches to duck under - so to speak... greg ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: 'moving' an activeperl install to a new machine (xp to windows 7)
On Fri, Mar 15, 2013 at 1:12 PM, Greg VisionInfosoft gai...@visioninfosoft.com wrote: hi all, ive got a wonderfully working activeperl 5.8.9 environment that was originall setup on Windows XP. so that i dont need to reinstall the many, many packages that ive ammased throughout the years - i had the thought to simply copy my entire 'perl' folder from the older windows xp pc to my newer windows 7 pc. certainly this will move perl and all packages just fine... I think this should work fine as long as you preserve the original install location, i.e. if it was installed into C:\Perl, then put it into C:\Perl on the new machine as well. the problem with this, is i dont know how to preserve the built-in PPM database functionality. I don't think you need to. PPM should recreate everything for you automatically when you invoke it again. Note thought that PPM has changed a bit since the days of Perl 5.8, so things may be different, but it can't hurt to just try it. On the other hand, maybe this is a good opportunity to move to a newer version of Perl? Cheers, -Jan ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs