iCal::Parser Installation Issue

Moderator: crythias

Post Reply
altinac
Znuny newbie
Posts: 9
Joined: 22 May 2014, 17:13
Znuny Version: 6.4.4
Real Name: Dave Ballard

iCal::Parser Installation Issue

Post by altinac »

When upgrading Znuny, I get an error that iCal::Parser is not installed:

iCal::Parser.....................Not installed! To install, you can use: 'yum install "perl(iCal::Parser)"'. (required - Required for calendar events.)

When I run yum install "perl(iCal::Parser)", it is not found. So I tried CPAN to install it doing the following:

yum install -y gcc make perl-devel
yum install -y perl-CPAN
cpan
install Data::ICal

It appears to have installed the perl module; however, when I run /opt/otrs/bin/otrs.CheckModules.pl --all, I get back that the module is still missing.

I'm using RedHat 8 as my server's OS. Any suggestions on how to correct this? Thank you!
root
Administrator
Posts: 3957
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: iCal::Parser Installation Issue

Post by root »

Hi,

AFAIK there is no iCal::Parser RPM for RHEL 8. I recommend using cpanminus (dnf install cpanminus) to install this CPAN dependency:

Code: Select all

cpanm iCal::Parser
Data::iCal is the wrong module.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
altinac
Znuny newbie
Posts: 9
Joined: 22 May 2014, 17:13
Znuny Version: 6.4.4
Real Name: Dave Ballard

Re: iCal::Parser Installation Issue

Post by altinac »

Roy,

Tried your instructions and wasn't successful. During the installation, I got errors toward the end of the install. Here's the complete output:

[root@**** ~]# cpanm iCal::Parser
--> Working on iCal::Parser
Fetching http://www.cpan.org/authors/id/R/RI/RIX ... .21.tar.gz ... O K
Configuring iCal-Parser-1.21 ... OK
==> Found dependencies: Text::vFile::asData, IO::String, FreezeThaw, DateTime::F ormat::ICal
--> Working on Text::vFile::asData
Fetching http://www.cpan.org/authors/id/R/RC/RCL ... 0.08.tar.g z ... OK
Configuring Text-vFile-asData-0.08 ... OK
==> Found dependencies: Class::Accessor::Chained
--> Working on Class::Accessor::Chained
Fetching http://www.cpan.org/authors/id/R/RC/RCL ... ained-0.01. tar.gz ... OK
Configuring Class-Accessor-Chained-0.01 ... OK
==> Found dependencies: Class::Accessor
--> Working on Class::Accessor
Fetching http://www.cpan.org/authors/id/K/KA/KAS ... .51.tar.gz .. . OK
Configuring Class-Accessor-0.51 ... OK
Building and testing Class-Accessor-0.51 ... OK
Successfully installed Class-Accessor-0.51
Building and testing Class-Accessor-Chained-0.01 ... OK
Successfully installed Class-Accessor-Chained-0.01
Building and testing Text-vFile-asData-0.08 ... OK
Successfully installed Text-vFile-asData-0.08
--> Working on IO::String
Fetching http://www.cpan.org/authors/id/G/GA/GAA ... .08.tar.gz ... OK
Configuring IO-String-1.08 ... OK
Building and testing IO-String-1.08 ... OK
Successfully installed IO-String-1.08
--> Working on FreezeThaw
Fetching http://www.cpan.org/authors/id/I/IL/ILY ... 0.5001.tar .gz ... OK
Configuring FreezeThaw-0.5001 ... OK
Building and testing FreezeThaw-0.5001 ... OK
Successfully installed FreezeThaw-0.5001
--> Working on DateTime::Format::ICal
Fetching http://www.cpan.org/authors/id/D/DR/DRO ... Cal-0.09.t ar.gz ... OK
Configuring DateTime-Format-ICal-0.09 ... OK
==> Found dependencies: Params::Validate, DateTime::Set, DateTime::Event::ICal
--> Working on Params::Validate
Fetching http://www.cpan.org/authors/id/D/DR/DRO ... .31.tar.gz ... OK
==> Found dependencies: Module::Build
--> Working on Module::Build
Fetching http://www.cpan.org/authors/id/L/LE/LEO ... 232.tar.gz .. . OK
Configuring Module-Build-0.4232 ... OK
Building and testing Module-Build-0.4232 ... OK
Successfully installed Module-Build-0.4232 (upgraded from 0.4224)
Configuring Params-Validate-1.31 ... OK
==> Found dependencies: Test::Fatal, Test::Requires
--> Working on Test::Fatal
Fetching http://www.cpan.org/authors/id/R/RJ/RJB ... 017.tar.gz ... OK
Configuring Test-Fatal-0.017 ... OK
Building and testing Test-Fatal-0.017 ... OK
Successfully installed Test-Fatal-0.017
--> Working on Test::Requires
Fetching http://www.cpan.org/authors/id/T/TO/TOK ... .11.tar.gz ... OK
Configuring Test-Requires-0.11 ... OK
Building and testing Test-Requires-0.11 ... OK
Successfully installed Test-Requires-0.11
Building and testing Params-Validate-1.31 ... FAIL
! Installing Params::Validate failed. See /root/.cpanm/work/1680552897.226551/bu ild.log for details. Retry with --force to force install it.
--> Working on DateTime::Set
Fetching http://www.cpan.org/authors/id/F/FG/FGL ... 900.tar.gz . .. OK
Configuring DateTime-Set-0.3900 ... OK
==> Found dependencies: Params::Validate, Set::Infinite
--> Working on Set::Infinite
Fetching http://www.cpan.org/authors/id/F/FG/FGL ... .65.tar.gz ... OK
Configuring Set-Infinite-0.65 ... OK
Building and testing Set-Infinite-0.65 ... OK
Successfully installed Set-Infinite-0.65
! Installing the dependencies failed: Module 'Params::Validate' is not installed
! Bailing out the installation for DateTime-Set-0.3900.
--> Working on DateTime::Event::ICal
Fetching http://www.cpan.org/authors/id/F/FG/FGL ... l-0.13.tar .gz ... OK
Configuring DateTime-Event-ICal-0.13 ... OK
==> Found dependencies: DateTime::Event::Recurrence
--> Working on DateTime::Event::Recurrence
Fetching http://www.cpan.org/authors/id/F/FG/FGL ... currence-0. 19.tar.gz ... OK
Configuring DateTime-Event-Recurrence-0.19 ... OK
==> Found dependencies: DateTime::Set
! Installing the dependencies failed: Module 'DateTime::Set' is not installed
! Bailing out the installation for DateTime-Event-Recurrence-0.19.
! Installing the dependencies failed: Module 'DateTime::Event::Recurrence' is no t installed
! Bailing out the installation for DateTime-Event-ICal-0.13.
! Installing the dependencies failed: Module 'DateTime::Set' is not installed, M odule 'DateTime::Event::ICal' is not installed, Module 'Params::Validate' is not installed
! Bailing out the installation for DateTime-Format-ICal-0.09.
! Installing the dependencies failed: Module 'DateTime::Format::ICal' is not ins talled
! Bailing out the installation for iCal-Parser-1.21.
9 distributions installed
root
Administrator
Posts: 3957
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: iCal::Parser Installation Issue

Post by root »

Hi,

The reason why something failed can be found in the related build.log
Mostly some devel packages are missing.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
altinac
Znuny newbie
Posts: 9
Joined: 22 May 2014, 17:13
Znuny Version: 6.4.4
Real Name: Dave Ballard

Re: iCal::Parser Installation Issue

Post by altinac »

Figured it out. Looked at the log file from the output and found an error that gcc wasn't found. Once I installed that and ran the command again to install, it worked.

Thank you for your help!
Post Reply