Hi,

WHAT I HAVE DONE
*********************

I have installed Otrs 2.2.1 from sources on my Rhel 3, Mysql 3.23, Apache 2
and Perl 5.8 and also I have installed all perl modules (required and not)
in a directory near otrs, I mean, modules are in /home/haecotrs/perl and
otrs installation's folder is in /home/haecotrs/public_html/otrs. Just in
case, I have realized later, I had defined PERL5LIB with the public perl
libraries and the ones installed by myself in /home/haecotrs/perl so that
when I execute "perl CheckModules.pl" the command's output is everthing ok.


WHAT I WOULD LIKE TO KNOW
****************************

I would like to know if my particular otrs' installation is finding the
modules that I have installed in /home/haecotrs/perl. I can guess this is
not happening so I would also like to know how I can tell otrs where to find
them


WHAT UNSUCCESSFUL TESTS I HAVE DONE TO FOUND OUT WHAT I WOULD LIKE TO KNOW
******************************************************************

- I have tried to print the PERL5LIB form otrs's installation by "$ENV
{PERL5LIB}" but the output got was a blank space so that means this is not
defined.Moreover I have looked for  every $ENV statement by using "egrep -w
"ENV" -R otrs" and I could not see anyone related to PERL5LIB.

- I have printed, from index.pl, @INC and among found paths there is none
to /home/haecotrs/.

- I certainly know otrs is executed by apache user as I have also done a
whoami from the index.pl file and the printed output said it was apache.

- I have even printed the $INC list to know what modules have currently
loaded
/usr/lib/perl5/5.8.0/warningswarnings/register.pm
/usr/lib/perl5/5.8.0/warnings/register.pmre.pm
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/re.pmXSLoader.pm
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/XSLoader.pmCarp.pm
/usr/lib/perl5/5.8.0/Carp.pmExporter/Heavy.pm
/usr/lib/perl5/5.8.0/Exporter/Heavy.pmFile/Spec/Unix.pm
/usr/lib/perl5/5.8.0/File/Spec/Unix.pmvars.pm
/usr/lib/perl5/5.8.0/vars.pmstrict.pm
/usr/lib/perl5/5.8.0/strict.pmExporter.pm
/usr/lib/perl5/5.8.0/Exporter.pmCwd.pm
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Cwd.pmwarnings.pm
/usr/lib/perl5/5.8.0/warnings.pmFile/Spec.pm
/usr/lib/perl5/5.8.0/File/Spec.pmbase.pm
/usr/lib/perl5/5.8.0/base.pmlib.pm
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/lib.pmFile/Basename.pm
/usr/lib/perl5/5.8.0/File/Basename.pmConfig.pm
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Config.pmFindBin.pm
/usr/lib/perl5/5.8.0/FindBin.pm

none is loaded form the place where I installed the perl modules.


 TO SUM UP
***********

I would certainly like to know what I can do to tell otrs where the
installed modules are instead of looking for in the pubic perl libraries'
folder. I know I should have defined @INC when perl modules were installed
or I could even make a symlink form cpa-lib directory to /home/haecotrs/perl
as perl script look for in the current directory first of all but I don't
think this is a good solution.

Thank you very much in advantage for your answers,

Daniel.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to