[rt-users] RT::Extension::PriorityAsString Help Request (Comple & Configuration)

Brian Thompson Brian.Thompson at tridentmicro.com
Tue Nov 16 11:28:52 EST 2010


Hi,

Still stuck making this work.  I believe my latest compilation via make is now correct (per Kevin's advice) however I'm not seeing any "priority as a string" functionality.  Does anyone have this working at their site?  If so, did anything beyond the instructions below need to be done?:

http://search.cpan.org/dist/RT-Extension-PriorityAsString/lib/RT/Extension/PriorityAsString.pm#INSTALLATION

Thank you!

<--Brian-->




-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Brian Thompson
Sent: Friday, November 12, 2010 9:37 AM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RT::Extension::PriorityAsString Help Request (Compile & Configuration)

Thank you Kevin!  Tried installing per your recommendation (looks likes it put files in their correct locations!) but I'm still not seeing a change in RT behavior (removed the "obj" directory and stopped/restarted the web server per instructions).  Here's the "make" output (anything obvious here?):

[rtracker at ithelpdesk RT-Extension-PriorityAsString-0.03]$ perl Makefile.PL

find the location of RT.pm that defines $RT::LocalPath in: inc /rt/perl/lib/perl5/5.8.8 /rt/perl/lib/perl5/x86_64-linux-thread-multi /rt/perl/lib/perl5 /rt/perl/lib/perl5/5.8.8 /rt/perl/lib/perl5/site_perl/5.8.8 /rt/perl/lib64/perl5/5.8.8/x86_64-linux-thread-multi /rt/perl/lib64/perl5/5.8.8 /rt/perl/lib64/perl5 /rt/perl/lib64/perl5/5.8.8/x86_64-linux-thread-multi /rt/perl/lib64/perl5/5.8.8 /rt/perl/lib64/perl5/5.8.8/x86_64-linux-thread-multi /rt/perl/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /rt/perl/lib64/perl5/site_perl/5.8.8 /rt/perl/lib64/perl5/site_perl /rt/perl/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /rt/perl/lib64/perl5/site_perl/5.8.8 /rt/perl/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 . /opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib /rt/perl /rt/perl/rt3/lib /rt/perl/lib/rt3 /rt/perl/lib
Path to your RT.pm:  /rt/app/lib

Using RT configuration from /rt/app/lib/RT.pm:
./html  => /rt/app/local/plugins/RT-Extension-PriorityAsString/html
./lib   => /rt/app/local/plugins/RT-Extension-PriorityAsString/lib

Checking if your kit is complete...
Looks good
Warning: prerequisite RT 3.8.3 not found.
Writing Makefile for RT::Extension::PriorityAsString
[rtracker at ithelpdesk RT-Extension-PriorityAsString-0.03]$

Thank you!

<--Brian-->


-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Thursday, November 11, 2010 4:18 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RT::Extension::PriorityAsString Help Request (Compile & Configuration)

On Thu, Nov 11, 2010 at 08:34:06AM -0800, Brian Thompson wrote:
>    Hello,
> 
>    I'm in the process of installing & implementing the extension
>    "RT::Extension::PriorityAsString".
> 
>    My first issue is with the "make"  Can anyone tell me if this compile was successful? (please
>    note the "Warning" although RT 3.8.8 is in fact installed and working for us):
> 
>    perl Makefile.PL PREFIX=/rt/perl
>    Using RT configuration from /rt/perl/lib/RT.pm:
>    ./html  => /rt/perl/html
>    ./lib   => /rt/perl/lib

Using PREFIX like that has caused your extension to be installed in a completely nonstandard location.

It should print something like 
    ./html => /rt/perl/local/plugins/RT-Extension-PriorityAsString/html

>    Installing /rt/perl/html/Ticket/Elements/ShowPriority
>    Installing /rt/perl/html/Elements/SelectPriority

This looks like you've clobbered the shipped versions of those files.

A better way to install a plugin is as follows.

perl Makefile.PL  - answer the prompt it gives, or run RTHOME=/rt/perl perl Makefile.PL and see if it installs correctly

-kevin





More information about the rt-users mailing list