Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrading Perl from 5.8.8. build 19

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

I have attempted few times to upgrade my perl environment from my current ver to 5.8.8 build 22 and even to 5.10.

5.8.8 build 22 gave me errors on missing bits during running my perl scripts.
5.10 - would just quit 1 sec after executing any script...

WHat am I missing here ?
thanks

Long live king Moshiach !
 
Windows or linux/unix? If windows who's perl are you using?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
I've never had issues upgrading from ver of 5.8 to another. When you go to 5.10 I think you have to re-install all your modules. It is possible you have to do that for 5.8 to but I normally go from 5.8 to 5.10.

I use activestate and haven't had any issues. Not much help I know.. are you having problems with simple scripts to or scripts that require modules?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Any specific modules? You do have to re-install all your modules when you go to 5.10.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Thanks,

is there any automatic way to reinstall all modules?
ppm does not seem to enable selecting all modules that need update in one action.


Long live king Moshiach !
 
Yeah.. in ppm you can check all the modules you want to install.. then you can click the arrow to install them all at one time. But there is no easy way to duplicate an installation (that I know of).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
From ActivePerl 5.10 Documentation at
Code:
Upgrading from ActivePerl 5.6.x or 5.8.x
Upgrading from earlier ActivePerl versions requires that you delete the old version of ActivePerl, and then install the 5.10.x version. This means that any additional packages that were installed using PPM must be manually reinstalled after the ActivePerl 5.10.x installation, so creating a list of these packages is an important first step.

You can use PPM-Profile to help save and restore your locally installed PPM packages. PPM-Profile is available through PPM and allows you to save a profile of all the PPM packages you have installed. For example, to save a profile before you upgrade, you can type: 

  ppm install PPM-Profile
  ppmprofile save C:\profile.xml

Once you have saved this profile, you can proceed with the new install. Once done, you can use the profile you saved to reinstall the same set of PPM packages in your new installation by typing (add the --verbose flag for more details on what is being installed) : 

  ppm install PPM-Profile
  ppmprofile restore C:\profile.xml

_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
 
Cool... I'll have to try that during my next upgrade.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
HI,

I get this after installing the Ppm-Profile module:

ppmprofile save C:\profile.xml

You must run this script with ActivePerl at ppmprofile.bat line 22.

Will appriciate an advise.
thanks

Long live king Moshiach !
 
It didn't work for me either.. it said saving on ppm4 wasn't supported.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top