This question about Installation of Foswiki, Configuration: Answered
How do I find and install the missing dependancies below?
I'm installing Foswiki on Red Hat 8.0 Server.
[root@vmadwikiws501 bin]# ./configure
Content-type: text/plain
** ERROR ****
The following critical dependencies are missing from your installation:
... CGI::Session: Can't locate CGI/Session.pm in @INC
... File::Copy::Recursive: Can't locate File/Copy/Recursive.pm in @INC
Please install these modules and then ensure all dependencies are installed by e ither:
- viewing the
PerlDependencyReport in your local Foswki, or
- running the CLI shell script tools/dependencies from your server's command l ine.
You can get a complete list of Perl module dependencies by viewing System.System Requirements
on your local system or at
http://foswiki.org/System/SystemRequirements.
Foswiki will not operate correctly unless the required dependencies are installe d.
Your current library search path @INC contains:
/var/www/foswiki/lib
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
/var/www/foswiki/lib/CPAN/lib
You can adjust the search path by editing bin/LocalLib.cfg
[root@vmadwikiws501 bin]#
--
KeithSteger - 14 Apr 2022
If you have root privileges on your server you can install those via either a Red Hat (centos) package or
Comprehensive Perl Archive Network (CPAN) package. Just google the dependencies listed above (i.e. CGI::Session and File::Copy::Recursive) to find the packages.
If you don't have root access to the server (such as with shared hosting), you'll need to ask their support to install them. If you go that route, make sure you find out the path to where they are installed to make sure the are in the
@INC
path, or if not add it to
bin/LocalLib.cfg
as mentioned in the note above. There are instructions in that file about adding locations to @INC path list.
--
LynnwoodBrown - 14 Apr 2022
I've done this and then always get prompted:
nothing provides perl(:MODULE_COMPAT_5.34.0) needed by perl-CGI-Session-4.48-23.fc35.noarch
--
KeithSteger - 14 Apr 2022
From what you say, it sounds like you know how to find and install these modules. Have you look for and tried installing MODULE_COMPAT_5.34.0? I saw these packages for Fedora:
https://pkgs.org/download/perl(:MODULE_COMPAT_5.34.0)
.
--
LynnwoodBrown - 15 Apr 2022
Thanks, I will check this out.
--
KeithSteger - 18 Apr 2022
perl module compat 5.34.0 Download for Linux- Not Found
--
KeithSteger - 18 Apr 2022
I downloaded the perl module compat 5.34.0 from another Fedora link and now missing other dependencies when I tried to install it.
sudo dnf install perl-libs-5.34.1-486.fc35.i686.rpm
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 -
BaseOS 7.8 kB/s | 2.4 kB 00:00
Red Hat Satellite Tools 6.9 for RHEL 8 x86_64 ( 7.1 kB/s | 2.1 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 -
AppStre 8.8 kB/s | 2.8 kB 00:00
Error:
Problem: conflicting requests
- nothing provides libc.so.6(GLIBC_2.33) needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libc.so.6(GLIBC_2.34) needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libcrypt.so.2 needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libcrypt.so.2(XCRYPT_2.0) needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libm.so.6(GLIBC_2.29) needed by perl-libs-4:5.34.1-486.fc35.i686
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[
[email protected]@vmadwikiws501 ~]$ [
[email protected]@vmadwikiws501 ~]$ sudo dnf install perl-libs-5.34.1-486.fc35.i686.rpm
Problem: conflicting requests
- nothing provides libc.so.6(GLIBC_2.33) needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libc.so.6(GLIBC_2.34) needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libcrypt.so.2 needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libcrypt.so.2(XCRYPT_2.0) needed by perl-libs-4:5.34.1-486.fc35.i686
- nothing provides libm.so.6(GLIBC_2.29) needed by perl-libs-4:5.34.1-486.fc35.i686
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
--
KeithSteger - 18 Apr 2022
Keith - I'm not much familiar with Fedora package management so can't comment on the errors listed above other than asking whether you tried the alternative parameters mentioned. Beyond that, I would suggestion following the suggestions in
SystemRequirements > RedHat installation instructions, specifically to install CPAN and then install your perl modules via CPAN.
--
LynnwoodBrown - 25 Apr 2022