| Status: | |
TWiki version: | 5.1.1 | Perl version: | perl, v5.10.1 |
| Category: | CategoryInstallation | Server OS: | Red Hat Enterprise Linux Server release 6.2 | Last update: | 13 years ago |
Warning: CPAN is not available, some installer functions have been disabledWhen I try to install plugins or extensions from the web installer. Could anyone help ? Thanks -- OlivierGuillard - 2012-02-08
yum install ... if package is available, else follow the instructions in HowToInstallCpanModules. Once the dependencies are solved you should be able to install the plugin via the configure script. You can install plugins also manually.
-- PeterThoeny - 2012-02-08
Thanks Peter, but that is already done, see below :
# rpm -qa | grep -i CPAN perl-Parse-CPAN-Meta-1.40-119.el6_1.1.x86_64 perl-CPANPLUS-0.88-119.el6_1.1.x86_64 perl-CPAN-1.9402-119.el6_1.1.x86_64I have also downloaded and installed manually specific perl modules :# rpm -qa | grep perl-CGI-Session
perl-CGI-Session-4.35-5.el6.noarch
# rpm -qa | grep FreezeThaw
perl-FreezeThaw-0.45-5.el6.noarch
# rpm -qa | grep gd-
gd-2.0.35-10.el6.x86_64
# cd /data/my-build # ls CPAN-1.9800/ HTML-Tree-4.2/ perl-ldap-0.44/ Test-Exception-0.31/ Unicode-Map-0.112/ Unicode-MapUTF8-1.11/ Authen-SASL-2.15/ Digest-MD5-2.51/ Jcode-2.07/ Sub-Uplevel-0.22/ Unicode-Map8-0.13/ Unicode-String-2.09/ Time-modules-2011.0517/Since I want these modules to be only installed and used by twiki (outside of the global packaged system), I have installed them like this :
# cd /data/my-build/perl-modulexxx # perl -I /data/twiki/lib/ Makefile.PL INSTALL_BASE=/data/twiki/ # make # make install/data/twiki is the twiki web root I also have added this in /data/twiki/bin/LocalLib.cfg:
$twikiLibPath = "/data/twiki/lib";As you can see, CPAN is installed both as a whole system package and as a specific twiki library as well, but I still get this warning :@localPerlLibPath = ( '/data/twiki/lib, /data/twiki/lib/perl5' )
Warning: CPAN is not available, some installer functions have been disabledand installation of an extension such as LdapContrib fails -- OlivierGuillard - 2012-02-09 Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project! -- PeterThoeny - 2012-07-01
| SupportForm | |
|---|---|
| Status | Unanswered |
| Title | CPAN is not available |
| SupportCategory | CategoryInstallation |
| TWiki version | 5.1.1 |
| Server OS | Red Hat Enterprise Linux Server release 6.2 |
| Web server | Apache/2.2.15 |
| Perl version | perl, v5.10.1 |