[Shipwright] Having problems importing RT plugins into vessel

Wenck, Samuel samuel.wenck at lmco.com
Tue Aug 25 12:59:23 EDT 2009


Sunnavy,

Here's the output you requested:

root at mir RTFM-2.4.2]# perl /opt/rt384/lib/RT.pm
Can't locate Log/Dispatch.pm in @INC (@INC contains: /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl .) at /opt/rt384/lib/RT.pm line 220.
BEGIN failed--compilation aborted at /opt/rt384/lib/RT.pm line 220.

However, when I add the vessel's library area, it has no errors:

[root at mir RTFM-2.4.2]# perl -i /opt/rt384/lib /opt/rt384/lib/RT.pm
[root at mir RTFM-2.4.2]#


I tried this same method when trying to install RTFM in the vessel:

[root at mir RTFM-2.4.2]# perl -i /opt/rt384/lib/perl5/  Makefile.PL 
[root at mir RTFM-2.4.2]#

I don't get any errors nor do I get any Makefile produced from the above command.

 -Sam

-----Original Message-----
From: sunnavy [mailto:sunnavy at bestpractical.com] 
Sent: Tuesday, August 25, 2009 11:47 AM
To: Wenck, Samuel
Subject: Re: [Shipwright] Having problems importing RT plugins into vessel

Sam

seems your inc doesn't have /opt/rt384/lib/perl5, that's not so right.

what happens if you run the following cmd:
$ perl /opt/rt384/lib/RT.pm

On Aug 25, 2009, at 10:50 PM, Wenck, Samuel wrote:

> Jesse, Yup, the shipwright vessel is installed in /opt/rt384 and the  
> RT.pm module exists:
>
> [wencks at mir lib]$ pwd
> /opt/rt384/lib
> [wencks at mir lib]$ ls -alt
> total 56
> drwxrwxr-x   6 wencks wencks  4096 Aug 19 14:16 ..
> drwxr-xr-x   4 wencks bin     4096 Aug 18 07:22 .
> drwxr-xr-x  58 wencks wencks  4096 Aug 18 07:22 perl5
> drwxr-xr-x  15 wencks wencks  4096 Aug 18 07:22 RT
> -rw-r--r--   1 wencks wencks 18833 Aug 18 07:22 RT.pm
> -rwxr-xr-x   1 wencks wencks 18990 Aug 18 07:22 RT.pm.in
> [wencks at mir lib]$
>
>
> I am not sure what 'build' you are referring to, as I had to move  
> ahead from trying to import RTFM into the vessel and now I am trying  
> to install RTFM directly into the built and installed vessel  
> instance that is running RT 3.8.4. I would prefer to have a way to  
> include the plugins, including RTFM and ExternalAuth, using the  
> Shipwright import function so that I can then have a complete  
> vessel. I assume that the plugins perform tests to see if RT is  
> installed somewhere during the import into the shipwright vessel  
> which fails. Is there some way to work around that issue which still  
> maintaining the vessel's portability?
>
> Thanks... Sam
>
> -----Original Message-----
> From: Jesse Vincent [mailto:jesse at bestpractical.com]
> Sent: Tuesday, August 25, 2009 10:33 AM
> To: Wenck, Samuel
> Cc: sunnavy; shipwright at lists.bestpractical.com
> Subject: Re: [Shipwright] Having problems importing RT plugins into  
> vessel
>
>
>
>
> On Tue 25.Aug'09 at 10:03:51 -0400, Wenck, Samuel wrote:
>> Jesse,
>>
>> Same error when I set up RTHOME:
>>
>> root at mir RTFM-2.4.2]# export RTHOME=/opt/rt384
>> [root at mir RTFM-2.4.2]# echo $RTHOME
>> /opt/rt384
>> [root at mir RTFM-2.4.2]# perl Makefile.PL
>> Cannot determine author info from lib/RT/FM.pm
>> Cannot determine license info from lib/RT/FM.pm
>> Cannot find the location of RT.pm that defines $RT::LocalPath in:  
>> inc /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/ 
>> perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread- 
>> multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/ 
>> lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/ 
>> perl5/vendor_perl/5.8.5 /usr/lib64/perl5/vendor_perl/5.8.3/x86_64- 
>> linux-thread-multi /usr/lib/perl5/vendor_perl . /opt/rt384 /opt/ 
>> rt384/lib /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
>
> At the time of build, is there an RT installed into /opt/rt384 which  
> has
> lib/RT.pm defined?
>
>
>> Path to your RT.pm:
>>
>>
>> - Sam
>>
>> -----Original Message-----
>> From: Jesse Vincent [mailto:jesse at bestpractical.com]
>> Sent: Tuesday, August 25, 2009 10:00 AM
>> To: Wenck, Samuel
>> Cc: sunnavy; shipwright at lists.bestpractical.com
>> Subject: Re: [Shipwright] Having problems importing RT plugins into  
>> vessel
>>
>>
>>
>>
>> On Tue 25.Aug'09 at  9:51:33 -0400, Wenck, Samuel wrote:
>>> Sorry Sunnavy,
>>>
>>> Here is the error with the correct directory specified:
>>
>> what happens if you export an RTHOME pointing to the right place?
>>
> _______________________________________________
> Shipwright mailing list
> Shipwright at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/shipwright


best wishes
sunnavy







More information about the Shipwright mailing list