[rt-users] When installing Request Tracker It says I'm missing dependencies such as DateTime that are actually installed

john boris jborissr at gmail.com
Fri Aug 23 13:26:45 EDT 2013


I had the same issue installing on a 64 Bit instance of Fedora. I just had
to make sure hte paths were correct and things started working.


On Fri, Aug 23, 2013 at 12:42 PM, Jeremy Mates <jmates at uw.edu> wrote:

> * dporter89 <dporter89 at yahoo.com>
> >         DateTime ...MISSING
> >                 Can't locate Data/OptList.pm in @INC (@INC contains:
> > /usr/local/lib64/perl5 /usr/local/share/perl5
> /usr/lib64/perl5/vendor_perl
> > /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
> > /root/Downloads/rt-4.0.17) at /usr/local/share/perl5/Class/Load.pm line
> 8.
>
> Good things to check are whether multiple perl installs have been done
> (to avoid the problem of RT using /path/to/{cpan,perl} but the PATH
> lists /some/other/{cpan,perl} first), and whether selinux is stabbing
> you in the back yet again. I avoid the vendor perl on Redhat or sed
> jobs of such, and install a custom perl to /opt/rt, and only use that
> for RT, but care must be taken to only use that version. More elaborate
> would be to only use /path/to/{cpan,perl}-5.18.1 and otherwise
> specifically versioned command names, but that's a few extra steps
> during the install of perl.
>
>   ./Configure -des -Dprefix=/opt/rt4 && make test && make install
>   /opt/rt4/bin/perl -MCPAN -e shell
>     (then exit that)
>
>   export PERL_MM_USE_DEFAULT=1
>   export PATH=/opt/rt4/bin:$PATH
>   env PERL=/opt/rt4/bin/perl ./configure \
>    --enable-ssl-mailgate \
>    --with-web-handler=fastcgi \
>    --with-db-type=Pg \
>    --with-web-user=apache --with-web-group=apache --with-rt-group=apache
>   make fixdeps
>
>   ...
>
>   /opt/rt4/bin/cpan RT::Extension::...
>
> Perlbrew would be another option, or building the custom perl into a
> proper software depot, etc, depending on resources available.
>
> --
> yad sdrawkcab si yadot
>



-- 
John J. Boris, Sr.
Online Services
www.onlinesvc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130823/d73115e1/attachment.htm>


More information about the rt-users mailing list