Permalink
Browse files

Modernize ModuleManager documentation:

- Update "Common Errors" section for error messages shown in recent
  versions.
- Remove references to the EOL 1.2 branch.
  • Loading branch information...
1 parent f3feb38 commit a305b219f08d46efe6e579cb68ec65ca4954508b @SaberUK SaberUK committed Feb 15, 2014
Showing with 22 additions and 10 deletions.
  1. +22 −10 Module-Manager.md
View
@@ -16,26 +16,40 @@ of your InspIRCd installation.
upgrade upgrade installed modules
list lists available modules
- For installing a package, specify its name or name=version to force the installation of a specific version.
+ For installing a package, specify its name or name=version to force the installation of a specific version.
## Common errors
-### Can't locate LWP/Simple.pm in @INC
+### Your system is missing the LWP::Simple Perl module!
Your system is missing the libwww-perl package. You should install it from your appropriate package
manager.
+* **CPAN** — cpan LWP::Simple
* **CentOS, Fedora** — yum install perl-libwww-perl
* **Debian, Ubuntu** — apt-get install libwww-perl
+### Your system is missing the Crypt::SSLeay or IO::Socket::SSL Perl modules!
-### Could not retrieve https://raw.github.com/inspircd/inspircd-extras/master/modules.lst
+Your system is missing SSL support for the libwww-perl package. You should install one from your
+appropriate package manager.
+
+##### Crypt::SSLeay
-There is a problem with your internet connection or your system is missing LWP SSL support and
-module manager is not detecting this properly.
+* **CPAN** — cpan Crypt::SSLeay
+* **CentOS, Fedora** — yum install perl-crypt-ssleay
+* **Debian, Ubuntu** — apt-get install libcrypt-ssleay-perl
-The latter is a known issue, see [issue #154](https://github.com/inspircd/inspircd/issues/154) for
-more details.
+##### IO::Socket::SSL
+
+* **CPAN** — cpan IO::Socket::SSL
+* **CentOS, Fedora** — yum install perl-io-socket-ssl
+* **Debian, Ubuntu** — apt-get install libio-socket-ssl-perl
+
+### Could not retrieve https://raw.github.com/inspircd/inspircd-extras/master/modules.lst
+
+Your version of InspIRCd is out of date. Update to the latest version and you will get a more
+useful error message.
## Installing modules without the module manager
@@ -47,6 +61,4 @@ manually using the following steps:
2. Move it to the src/modules directory.
- 3. **1.2 only** Run ./configure -modupdate.
-
- 4. Run "make install" to build and install the module.
+ 3. Run "make install" to build and install the module.

0 comments on commit a305b21

Please sign in to comment.