[Shipwright] Having problems importing RT plugins into vessel

Wenck, Samuel samuel.wenck at lmco.com
Tue Aug 25 10:50:34 EDT 2009


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?
> 


More information about the Shipwright mailing list