BKM for deployment of RT's perl

Hi all,

Just curious how some of you provision perl to RT. I am running over my
server-distro’s apache2/perl, and during a recent upgrade the system perl
was moved forward and suddenly my modules disappeared. I was able to patch
it up without too much trouble, but did find myself debating rolling my own
perl/mod_perl so I could roll the distro forward in the future without
having to worry about blowing up RT again.

Just curious how some of you approach this detail.

Thanks in advance,
-Rob

I have successfully setup RT using local::lib to store all the
dependancies that perl needs outside of the system’s perl libs.
So far, it has worked quite well.

You have to be careful to set it up before you start running all the
commands so that it looks for the libs in the right place, as well as
using the right install paths for the new installed modules out of cpan.

Use this:
eval perl -Mlocal::lib=/opt/rt4/perl5
To get CPAN to install in that location, and setup perl to look there for
libs.

And add the following to apache’s config:

PerlOptions +Parent
PerlSwitches -I/opt/rt4/perl5/lib/perl5

I expect you can use something like perlbrew to setup the whole toolchain
to do the same…

Thanks,
Jok

| Joachim Thuau | Linux Systems Administrator / SpaceX |
| Cell: 310-890-7937 | Office: 310-363-6153 |

Hi all,

Just curious how some of you provision perl to RT. I am running over my
server-distro’s apache2/perl, and during a recent upgrade the system
perl was moved forward and suddenly my modules disappeared. I was able
to patch it up without too much trouble, but did find myself debating
rolling my own perl/mod_perl so I could roll the distro forward in the
future without having to worry about blowing up RT again.

Just curious how some of you approach this detail.

perlbrew + a fastcgi deployment (so you don’t need your own mod_perl)
works great.

Thomas

I use the OBS (open(suse) build sevice) perl repository for my RT system, I’m running on OpenSUSE 11.3. For RT itself I build an rpm package for it and a bunch of extensions, see links below, which are deployed from an internal repo server. I’d like to get this RT package, plus my extension packages, put into the OBS perl repo so all you’ll need to do is added the repo and “zypper in request-tracker” for SUSE systems.

http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.3/

RT 4.0.2 source rpm

http://download.opensuse.org/repositories/home:/lrupp:/request-tracker/openSUSE_Factory/src/

RT extensions rpm’s

https://build.opensuse.org/project/packages?project=home%3Adeadpoint

Darin Perusich

Email: Darin.Perusich@ctg.com

Office: 716-888-3690From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Robert Nesius
Sent: Thursday, October 27, 2011 2:42 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] BKM for deployment of RT’s perl

Hi all,

Just curious how some of you provision perl to RT. I am running over my server-distro’s apache2/perl, and during a recent upgrade the system perl was moved forward and suddenly my modules disappeared. I was able to patch it up without too much trouble, but did find myself debating rolling my own perl/mod_perl so I could roll the distro forward in the future without having to worry about blowing up RT again.

Just curious how some of you approach this detail.

Thanks in advance,
-Rob

The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you are not the intended recipient of this
message, please contact the sender and delete this material from this computer.

perlbrew + a fastcgi deployment (so you don’t need your own mod_perl) works
great.

Perlbrew looks exactly like what I should have used in the first place. I
feel like a bit of a noob now - thanks for the pointers!

Jok - thanks for your insightful tip about lib::local + modperl flags as
well!

Thanks again, all. :slight_smile:

-Rob