SA Bugzilla – Bug 3820
Need info on finding Perl module versions
Last modified: 2004-12-16 08:15:08 UTC
The INSTALL file specifies minimum versions of several Perl modules. For the Perl impared, could you add a note on how to find the version of the currently installed modules?
Any possibility of having a Milestone sooner that future?
you can run "spamassassin -D --lint" and you'll get some output ala: debug: diag: module installed: DBI, version 1.21 debug: diag: module installed: DB_File, version 1.808 debug: diag: module installed: Digest::SHA1, version 2.01 debug: diag: module installed: IO::Socket::UNIX, version 1.20 debug: diag: module installed: MIME::Base64, version 2.20 debug: diag: module installed: Net::DNS, version 0.46 debug: diag: module not installed: Net::LDAP ('require' failed) debug: diag: module installed: Razor2::Client::Agent, version 2.61 debug: diag: module installed: Storable, version 2.12 debug: diag: module installed: URI, version 1.30
Since I have SpamAssassin installed already, I can certainly use spamassassin -D --lint now. For folks doing a first time install, it would be nice to be able to get all of the modules correct before installing SpamAssassin.
Created attachment 2455 [details] required_modules.pl script I suppose we could distribute something like this with the tarball. In fact, we could even close this as a duplicate to Bug 3822 since it will probably end up doing the same thing.
*** Bug 4036 has been marked as a duplicate of this bug. ***
bug 3822 has been applied already, and Daniel has already noted his reticence to using an additional script so marking this a dup *** This bug has been marked as a duplicate of 3822 ***