When installing Request Tracker It says I'm missing dependencies such as DateTime that are actually installed

When I go to install Request Tracker and I do make testdeps I get the
following error, but these dependencies are actually installed. I’m at a
lost and any help would be much appreciated. I’m installing on centOS 6.3
and Request Tracker 4.0.17

SOME DEPENDENCIES WERE MISSING.
CORE missing dependencies:
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.
Log::Dispatch …MISSING
Attempt to reload Class/Load.pm aborted.
MASON missing dependencies:
XML::RSS …MISSING
Attempt to reload DateTime.pm aborted.
make: *** [fixdeps] Error 1

Looking at cpan these are installed
[root@requesttracker rt-4.0.17]# cpan DateTime
CPAN: Storable loaded ok (v2.20)
Reading ‘/root/.cpan/Metadata’
Database was generated on Thu, 22 Aug 2013 19:08:28 GMT
CPAN: Module::CoreList loaded ok (v2.97)
DateTime is up to date (1.03).
[root@requesttracker rt-4.0.17]# cpan Log::Dispatch
CPAN: Storable loaded ok (v2.20)
Reading ‘/root/.cpan/Metadata’
Database was generated on Thu, 22 Aug 2013 19:08:28 GMT
CPAN: Module::CoreList loaded ok (v2.97)
Log::Dispatch is up to date (2.41).
[root@requesttracker rt-4.0.17]# cpan XML::RSS
CPAN: Storable loaded ok (v2.20)
Reading ‘/root/.cpan/Metadata’
Database was generated on Thu, 22 Aug 2013 19:08:28 GMT
CPAN: Module::CoreList loaded ok (v2.97)
XML::RSS is up to date (1.54).
[root@requesttracker rt-4.0.17]#

View this message in context: http://requesttracker.8502.n7.nabble.com/When-installing-Request-Tracker-It-says-I-m-missing-dependencies-such-as-DateTime-that-are-actually-d-tp55086.html

    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

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@uw.edu wrote:

    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

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

Hi John,

Could you expound upon what you did to correct your path issue. It’s odd
because when I run make fixdeps, it tries to install the 3 missing
dependencies but then comes back with “they are up to date” So it looks
like it’s finding them but then it still comes back with the missing
dependencies errors.

View this message in context: http://requesttracker.8502.n7.nabble.com/When-installing-Request-Tracker-It-says-I-m-missing-dependencies-such-as-DateTime-that-are-actually-d-tp55086p55089.html

Ok so I figured it out, I didn’t need to install the missing 3 modules. All
that needed to be installed was OptList.pm. So I dropped to a cpan prompt
and did install Data::OptList . It installed and now all dependencies are
found.

View this message in context: http://requesttracker.8502.n7.nabble.com/When-installing-Request-Tracker-It-says-I-m-missing-dependencies-such-as-DateTime-that-are-actually-d-tp55086p55090.html