On Nov 16, 2004, at 3:47 PM, Phil Dobbin wrote:

I need to step back a version in a module compliled from source (from v.3.0 -> v.2.0).

What's the best way to go about this (again compiling from source rather than cpan)?

* The best way to do this is to have a backup of the previous system with v.2.0 installed, and revert to the backup.


* If you don't have a backup, the next best way is to use a package manager like RPM or DPKG to track your installed modules, remove the v.3.0 package and install the v.2.0 package.

* If you don't have a backup, and you don't have a package manager, the next next best way is to go back in time and start using one or the other.

* If you can't do any of the above, your only option is to brute-force remove v.3.0 using the packlist file (CPANPLUS provides some support for this) and then install v.2.0 again. This is not a great option because packlists can get out of sync, it can remove files that are required for some other thing you've installed, and so on.


Incidentally, using CPAN *is* compiling from source.

 -Ken



Reply via email to