RT 4.2.12 and CentOS 7

Hi,

I was wondering if anyone has successfully used “make fixdeps” with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules.

Thank you,

Tom

Hi,

I was wondering if anyone has successfully used “make fixdeps” with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules.

Are you running ‘make fixdeps’ as root privileges?

Landon Stewart : lstewart@iweb.commailto:lstewart@iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com : +1 (888) 909-4932

I go it working - wasn’t the easiest; but it’s working great:

[root@uslaxrt ~]# uname -a
Linux uslaxrt.corp.xxxxx.com 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@uslaxrt ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)

MySQL + Index tables
mysqld (mysqld 5.5.43-MariaDB)

[root@uslaxrt ~]# perl -V
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Built under linux
Compiled at Mar 6 2015 05:05:52
@INC:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Tom Misilo
Sent: Wednesday, September 2, 2015 10:24 AM
To: ‘rt-users@lists.bestpractical.com’ rt-users@lists.bestpractical.com
Subject: [rt-users] RT 4.2.12 and CentOS 7

Hi,

I was wondering if anyone has successfully used “make fixdeps” with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules.

Thank you,

Tom

I got it working by doing a complete gut and replacement with the Perl
packages from Fedora 21.From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Tom Misilo
Sent: Wednesday, September 02, 2015 10:24 AM
To: 'rt-users@lists.bestpractical.com’
Subject: [rt-users] RT 4.2.12 and CentOS 7

Hi,

I was wondering if anyone has successfully used “make fixdeps” with Request
Tracker on CentOS 7? As it seems like cpan only installs to the local users
home directory in a ~/perl5 folder and not systemwide. Which when using
Request Tracker and mod_fcgid apache does not find any of the modules.

Thank you,

Tom

Le 02/09/2015 19:23, Tom Misilo a �crit :

Hi,

I was wondering if anyone has successfully used �make fixdeps� with
Request Tracker on CentOS 7? As it seems like cpan only installs to the
local users home directory in a ~/perl5 folder and not systemwide. Which
when using Request Tracker and mod_fcgid apache does not find any of
the modules.

just did it and:

  • most perl packages are available through yum with the epel repository
  • for last missing cpan modules, you can either try to find them
    packaged on another place on the web, build them or install through cpan.

For CPAN, make sure package “perl-homedir” isn’t installed … Or tweak
your cpan configuration.

Easter-eggs Sp�cialiste GNU/Linux
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

Landon,

yes I am running as root.

Thanks,

Tom-------- Original message --------
From: Landon Stewart lstewart@iweb.com
Date: 09/02/2015 7:28 PM (GMT-05:00)
To: Tom Misilo misilot@fit.edu
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT 4.2.12 and CentOS 7

On Sep 2, 2015, at 10:23 AM, Tom Misilo <misilot@fit.edumailto:misilot@fit.edu> wrote:

Hi,

I was wondering if anyone has successfully used “make fixdeps” with Request Tracker on CentOS 7? As it seems like cpan only installs to the local users home directory in a ~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid apache does not find any of the modules.

Are you running ‘make fixdeps’ as root privileges?

Landon Stewart : lstewart@iweb.commailto:lstewart@iweb.com
Lead Specialist, Abuse and Security Management
Spécialiste principal, gestion des abus et sécurité
http://iweb.com : +1 (888) 909-4932

To add to the other responses, I have determined for some time that trying to get the
myriad dependencies loaded into the system Perl on any RHEL flavor is a losing battle. I
generally have a self-contained Perl deployment (e.g., installed into /opt/rt or similar)
with all modules installed there via CPAN distinct from the system packages. This
requires some additional care when installing extensions, setting up fcgid, etc., but it
saves so much hassle it is well worth the effort. These days, I would consider doing this
in Docker to make spinning up new instances even simpler,

Regards,
MarkOn 9/3/2015 3:34 AM, Tom Misilo wrote:

Landon,

yes I am running as root.

Thanks,

Tom

-------- Original message --------
From: Landon Stewart lstewart@iweb.com
Date: 09/02/2015 7:28 PM (GMT-05:00)
To: Tom Misilo misilot@fit.edu
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT 4.2.12 and CentOS 7

On Sep 2, 2015, at 10:23 AM, Tom Misilo <misilot@fit.edu mailto:misilot@fit.edu> wrote:

Hi,

I was wondering if anyone has successfully used �make fixdeps� with Request Tracker on
CentOS 7? As it seems like cpan only installs to the local users home directory in a
~/perl5 folder and not systemwide. Which when using Request Tracker and mod_fcgid
apache does not find any of the modules.

Are you running ‘make fixdeps’ as root privileges?

Landon Stewart : lstewart@iweb.com mailto:lstewart@iweb.com
Lead Specialist, Abuse and Security Management
Sp�cialiste principal, gestion des abus et s�curit�
http://iweb.com
https://canit.willingminds.com/canit/urlproxy.php?_q=aHR0cDovL2l3ZWIuY29t : +1 (888)
909-4932

This message has been scanned by CanIt-PRO.

Mark D. Nagel, CCIE #3177 Emeritus mnagel@willingminds.com
Principal Consultant, Willing Minds LLC (http://www.willingminds.com)
cell: 949-279-5817, desk: 714-495-4001, fax: 714-844-4698

** For faster support response time, please
** email support@willingminds.com or call 714-495-4000