Hello everybody,
I've tried to install otrs on Mac OS X (10.2.6). Yet after having a look to the list archives and in the Documentation, I found out nothing regarding the mistake I'm facing with.
So the goal, as describe in the Manual, is to load the requested perl modules on Apache startup, thru the ~otrs/scripts/apache-perl-startup.pl, and here is the mistake.
First of all I'm using the "Standard" installed Mac OS X.2.6 Server edition, i.e. Apache 1, perl 5.6. Here is stuff I've done in the http.conf file :
<IfModule mod_perl.c>
Include /private/etc/httpd/mod_perl.conf
</IfModule>
and here is the contents of the mod_perl.conf file:
Alias /otrs-web/ "/Volumes/Data/Users/otrs/var/httpd/htdocs/"
Alias /otrs/ "/Volumes/Data/Users/otrs/bin/cgi-bin/"
#Perlrequire /Volumes/Data/Users/otrs/scripts/apache-perl-startup.pl
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
</Location>
If the "Perlrequire..." is comment, otrs is running but not fast enough for me.... Once comment out, here is the result of the apache startup:
[Wed Oct 1 20:04:12 2003] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /Volumes/Data/Users/otrs/Kernel/cpan-lib /Volumes/Data/Users/otrs/var/httpd/htdocs/ /Volumes/Data/Users/otrs/ /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl . /Library/WebServer/ /Library/WebServer/lib/perl) at /Volumes/Data/Users/otrs/scripts/apache-perl-startup.pl line 24.
BEGIN failed--compilation aborted at /Volumes/Data/Users/otrs/scripts/apache-perl-startup.pl line 24.
Compilation failed in require at (eval 1) line 1.
Syntax error on line 3 of /private/etc/httpd/mod_perl.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /Volumes/Data/Users/otrs/Kernel/cpan-lib /Volumes/Data/Users/otrs/var/httpd/htdocs/ /Volumes/Data/Users/otrs/ /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl . /Library/WebServer/ /Library/WebServer/lib/perl) at /Volumes/Da
After having a look for DBI.pm files on my local hard drive, I found out the following:
#find / -name "DBI.pm" -print
/Library/Perl/darwin/Bundle/DBI.pm
/Library/Perl/darwin/DBI.pm
/private/var/root/.cpan/build/DBI-1.38/blib/lib/Bundle/DBI.pm
/private/var/root/.cpan/build/DBI-1.38/blib/lib/DBI.pm
/private/var/root/.cpan/build/DBI-1.38/DBI.pm
/private/var/root/.cpan/build/DBI-1.38/lib/Bundle/DBI.pm
Does anyone have an idea which one has to be used, if so ? Where has to be located the right one ? For info, here is the result of the otrs.checkModules command:
CGI ... ok
Date::Pcalc ... ok
DBI ... ok
DBD::mysql ... ok
Digest::MD5 ... ok
Email::Valid ... ok
IO::Scalar ... ok
IO::Wrap ... ok
MIME::Base64 ... ok
MIME::Tools ... ok
Mail::Internet ... ok
Net::DNS ... ok
Net::POP3 ... ok
Net::LDAP ... ok
Net::SMTP ... ok
Authen::SASL ... ok
GD ... not installed! (for stats - not required)
GD::Text ... not installed! (for stats - not required)
GD::Graph ... not installed! (for stats - not required)
GD::Graph::lines ... not installed! (for stats - not required)
GD::Text::Align ... not installed! (for stats - not required)
Thanks a lot for your attention and read you later.
Vincent.
P.S.: Subsidiary question, does anyone know where I may find a version of the GD library for Mos X ?