(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
...