OTRS 3.2rc1 RPM missing dependency

English! place to talk about development, programming and coding
Post Reply
akjhasf
Znuny newbie
Posts: 1
Joined: 23 Jan 2013, 12:57
Znuny Version: 3.2rc1

OTRS 3.2rc1 RPM missing dependency

Post by akjhasf »

I just downloaded the latest beta: otrs-3.2.0.rc1-01.noarch.rpm

(Fedora Core 17)

Code: Select all

# wget http://ftp.otrs.org/pub/otrs/RPMS/fedora/4/otrs-3.2.0.rc1-01.noarch.rpm
...
# rpm -i otrs-3.2.0.rc1-01.noarch.rpm
error: Failed dependencies:
        mod_perl is needed by otrs-3.2.0.rc1-01.noarch
        perl(Encode::HanExtra) is needed by otrs-3.2.0.rc1-01.noarch
        perl(JSON::XS) is needed by otrs-3.2.0.rc1-01.noarch
        perl(GD::Graph) is needed by otrs-3.2.0.rc1-01.noarch
        perl(GD::Text) is needed by otrs-3.2.0.rc1-01.noarch
        perl(Mail::IMAPClient) is needed by otrs-3.2.0.rc1-01.noarch
        perl(Net::DNS) is needed by otrs-3.2.0.rc1-01.noarch
        perl(Net::LDAP) is needed by otrs-3.2.0.rc1-01.noarch
        perl(Net::SSL) is needed by otrs-3.2.0.rc1-01.noarch
        perl(PDF::API2) is needed by otrs-3.2.0.rc1-01.noarch
        perl(Text::CSV) is needed by otrs-3.2.0.rc1-01.noarch
        perl(Text::CSV_XS) is needed by otrs-3.2.0.rc1-01.noarch

# yum install otrs-3.2.0.rc1-01.noarch.rpm
...
Processes a lot of dependencies beautifully... no errors...

# /etc/init.d/otrs status
...
Checking database connection... install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /op
t/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/p
erl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/l
ib64/perl5 /usr/share/perl5 .) at (eval 13) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
 at /opt/otrs/Kernel/System/DB.pm line 256
 Error!
 Maybe your database isn't configured yet?
...

# yum search mysql|grep perl
perl-Class-DBI-mysql.noarch : Extensions to Class::DBI for MySQL
perl-Config-Extend-MySQL.noarch : Extend your favorite .INI parser module to
perl-DBD-MySQL.x86_64 : A MySQL interface for perl
perl-DateTime-Format-MySQL.noarch : Parse and format MySQL dates and times
perl-Time-Piece-MySQL.noarch : MySQL-specific methods for Time::Piece

# yum install perl-DBD-MySQL
...

# /etc/init.d/otrs status
...
No errors... except for access denied, still have to set up the database of course... And judging by a search for SELinux on these forums, I have to draft an SELinux policy, because nobody else seems to have cared to...
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 3.2rc1 RPM missing dependency

Post by jojo »

what do you want to tell us?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply