Problem with perl(YAML::XS)
Moderator: crythias
-
- Znuny newbie
- Posts: 59
- Joined: 24 Aug 2015, 16:40
- Znuny Version: 3.3.x
- Real Name: Carlos Freire
- Company: Palosanto
Problem with perl(YAML::XS)
Hi, I have a problem in my OTRS 4.11 on a Centos 6.7, when I check the perl modules /opt/otrs/bin/otrs.CheckModules.pl I receive:
------
-------
o Crypt::Eksblowfish::Bcrypt.......Not installed! Use: 'yum install "perl(Crypt::Eksblowfish::Bcrypt)"' (optional - For strong password hashing.)
o YAML::XS.........................Not installed! Use: 'yum install "perl(YAML::XS)"' (required - Very important)
etc
and other modules are not instaled. I tried to install them with:
yum install "perl(YAML::XS)"
or with
yum install "perl(Crypt::Eksblowfish::Bcrypt)" "perl(DBD::ODBC)" "perl(DBD::Oracle)" "perl(DBD::Pg)" "perl(Encode::HanExtra)" "perl(GD)" "perl(GD::Text)" "perl(GD::Graph)" "perl(JSON::XS)" "perl(Mail::IMAPClient)" "perl(PDF::API2)" "perl(Text::CSV_XS)" "perl(YAML::XS)"
but I receive the error "There is no package available" "Nothing to do" Whyyyy?? Can you help me with this??? Thanks.
------
-------
o Crypt::Eksblowfish::Bcrypt.......Not installed! Use: 'yum install "perl(Crypt::Eksblowfish::Bcrypt)"' (optional - For strong password hashing.)
o YAML::XS.........................Not installed! Use: 'yum install "perl(YAML::XS)"' (required - Very important)
etc
and other modules are not instaled. I tried to install them with:
yum install "perl(YAML::XS)"
or with
yum install "perl(Crypt::Eksblowfish::Bcrypt)" "perl(DBD::ODBC)" "perl(DBD::Oracle)" "perl(DBD::Pg)" "perl(Encode::HanExtra)" "perl(GD)" "perl(GD::Text)" "perl(GD::Graph)" "perl(JSON::XS)" "perl(Mail::IMAPClient)" "perl(PDF::API2)" "perl(Text::CSV_XS)" "perl(YAML::XS)"
but I receive the error "There is no package available" "Nothing to do" Whyyyy?? Can you help me with this??? Thanks.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Problem with perl(YAML::XS)
YAML::XS seems to be missing in many repositories. You could install it via the cpan client:
If you're useing the cpan client for the first time, you have to configure it (just run the client, it will ask to some questions)...
Code: Select all
cpan YAML::XS
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 59
- Joined: 24 Aug 2015, 16:40
- Znuny Version: 3.3.x
- Real Name: Carlos Freire
- Company: Palosanto
Re: Problem with perl(YAML::XS)
I did cpan YAML::XS but I received:
-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE" -DHAVE_CONFIG_H api.c
/bin/sh: gcc: no se encontró la orden
make[1]: *** [api.o] Error 127
make[1]: se sale del directorio `/root/.cpan/build/YAML-LibYAML-0.59-Me1KoK/LibYAML'
make: *** [subdirs] Error 2
INGY/YAML-LibYAML-0.59.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
What else can I do?
-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/CORE" -DHAVE_CONFIG_H api.c
/bin/sh: gcc: no se encontró la orden
make[1]: *** [api.o] Error 127
make[1]: se sale del directorio `/root/.cpan/build/YAML-LibYAML-0.59-Me1KoK/LibYAML'
make: *** [subdirs] Error 2
INGY/YAML-LibYAML-0.59.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
What else can I do?
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Problem with perl(YAML::XS)
You don't have the compiler "make".
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny newbie
- Posts: 59
- Joined: 24 Aug 2015, 16:40
- Znuny Version: 3.3.x
- Real Name: Carlos Freire
- Company: Palosanto
Re: Problem with perl(YAML::XS)
mmmmm,.... it is propable, but what can I do to solved it? =/
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Problem with perl(YAML::XS)
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny newbie
- Posts: 59
- Joined: 24 Aug 2015, 16:40
- Znuny Version: 3.3.x
- Real Name: Carlos Freire
- Company: Palosanto
Re: Problem with perl(YAML::XS)
I did yum install perl-YAML-LibYAML and received:
* base: mirror.espoch.edu.ec
* extras: mirror.espoch.edu.ec
* updates: mirror.espoch.edu.ec
No existe disponible ningún paquete perl-YAML-LibYAML.
Where I replace mirror.espoch.edu.ec by a mirror that contains the module perl-YAML-LibYAML.?
* base: mirror.espoch.edu.ec
* extras: mirror.espoch.edu.ec
* updates: mirror.espoch.edu.ec
No existe disponible ningún paquete perl-YAML-LibYAML.
Where I replace mirror.espoch.edu.ec by a mirror that contains the module perl-YAML-LibYAML.?
-
- Znuny expert
- Posts: 213
- Joined: 04 Nov 2012, 23:58
- Znuny Version: OTRS 4.x
- Real Name: Esteban
- Company: NORTON DE COLOMBIA
Re: Problem with perl(YAML::XS)
Try these:
Instal epel
After that, try
or the one you just tried
Instal epel
Code: Select all
yum install -y epel-release
Code: Select all
yum install -y "perl(YAML::XS)"
Code: Select all
yum install -y perl-YAML-XS
-
- Znuny newbie
- Posts: 59
- Joined: 24 Aug 2015, 16:40
- Znuny Version: 3.3.x
- Real Name: Carlos Freire
- Company: Palosanto
Re: Problem with perl(YAML::XS)
Excelent eandres, it was usefull to me.
Please May you explain to me what was the problem?
Please May you explain to me what was the problem?
-
- Znuny newbie
- Posts: 59
- Joined: 24 Aug 2015, 16:40
- Znuny Version: 3.3.x
- Real Name: Carlos Freire
- Company: Palosanto
Re: Problem with perl(YAML::XS)
eandrex wrote:Try these:
Instal epelAfter that, tryCode: Select all
yum install -y epel-release
or the one you just triedCode: Select all
yum install -y "perl(YAML::XS)"
Code: Select all
yum install -y perl-YAML-XS
Excelent eandres, it was usefull to me.
Please May you explain to me what was the problem?
-
- Znuny expert
- Posts: 213
- Joined: 04 Nov 2012, 23:58
- Znuny Version: OTRS 4.x
- Real Name: Esteban
- Company: NORTON DE COLOMBIA
Re: Problem with perl(YAML::XS)
Well, the problem could be that perl-YAML-XS was not available in standard Centos 6 packages repositories, so by installing EPEL (https://fedoraproject.org/wiki/EPEL) you expand the repositories of your system, so whenever you want to install a desired package, your system will look up in the installed repositories too.. in this case, perl-YAML-XS was found in the EPEL repository.
-
- Znuny newbie
- Posts: 59
- Joined: 24 Aug 2015, 16:40
- Znuny Version: 3.3.x
- Real Name: Carlos Freire
- Company: Palosanto
Re: Problem with perl(YAML::XS)
eandrex wrote:Well, the problem could be that perl-YAML-XS was not available in standard Centos 6 packages repositories, so by installing EPEL (https://fedoraproject.org/wiki/EPEL) you expand the repositories of your system, so whenever you want to install a desired package, your system will look up in the installed repositories too.. in this case, perl-YAML-XS was found in the EPEL repository.
Excellent.. Thank you very much for your help and thanks to all people. =) =)