[rt-users] Problem installing RTFM 2.2.0RC5

Mike Friedman mikef at ack.berkeley.edu
Tue Jul 17 13:12:21 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 17 Jul 2007 at 07:09 (-0400), Kevin Falcone wrote:

> Makefile.PL for RTFM normally prompts you to find RT.pm, which is how it 
> would know to look in your local/lib

Kevin,

Yes, it did.  It turns out I gave it the path to the default RT.pm, not my 
local/lib/RT.pm.  But the contents are the same except for my mod which 
changes 'gmtime' to 'localtime' for RT logging.  In particular, the value 
in RT.pm of '$LocalPath' is the same, namely 
'/users/ist-rt/RT/rt/ist-rt/local'.  Yet that's not being put into the 
RTFM Makefile:

In the Makefile, for the target 'initdb', this appears:

    -Ilib -I/opt/rt3/local/lib -I"/users/ist-rt/RT/rt/ist-rt/lib"

rather than

    -Ilib -I"/users/ist-rt/RT/rt/ist-rt/local/lib"  -I"/users/ist-rt/RT/rt/ist-rt/lib"

as I would have expected.  That's why I wound up making the above change 
myself directly in the Makefile.

> What happens if you do
>
> PERL5LIB/users/ist-rt/RT/rt/ist-rt/local/lib perl Makefile.PL `cat 
> ../perl5prefs-ist-rt `

I'm not clear on what that is supposed to mean;  as shown above, it 
wouldn't work. (Also, my shell is tcsh, so I'm sure a different syntax is 
required anyway).

BTW: My PERL5LIB environment variable is set to point to all my local perl 
libraries:

  /users/ist-rt/lib/perl5:/users/ist-rt/lib/perl5/site_perl:/users/ist-rt/lib/perl:/users/ist-rt/lib/perl/5.8.8:/users/ist-rt/share/perl:/users/ist-rt/share/perl/5.8.8

What I'd really like to know now is whether the variable settings as I 
have them in my 'perl5prefs' file are correct for installing RT stuff with 
Makefile.PL:

    PREFIX=/users/ist-rt/RT/rt/ist-rt/share \
    INSTALLPRIVLIB=/users/ist-rt/share/perl/5.8.8 \
    INSTALLSITELIB=/users/ist-rt/RT/rt/ist-rt/local/lib \
    INSTALLARCHLIB=/users/ist-rt/lib/perl/5.8.8 \
    INSTALLSITEARCH=/users/ist-rt/lib/perl5/site_perl \
    INSTALLSITEBIN=/users/ist-rt/RT/rt/ist-rt/bin \
    INSTALLSCRIPT=/users/ist-rt/RT/rt/ist-rt/sbin \
    INSTALLSITEMAN1DIR=/users/ist-rt/lib/perl5/man \
    INSTALLSITEMAN3DIR=/users/ist-rt/lib/perl5/man/man3 \
    SITEARCHEXP=/users/ist-rt/lib/perl5/site_perl

where

o   /users/ist-rt/ is my home directory,
o   /users/ist-rt/RT/rt/ist-rt is the directory under which
     this RT instance is installed.

It took me a long time to figure out what those variable values should be, 
based on what got expanded when I installed the BrandedQueues extension 
using default values.  The hard part was mapping default libraries into 
the ones under my home directory.

Perhaps some of the above values are not correct.  Could you tell me if 
they look right, since these setting are what I would use whenever I use 
Makefile.PL in the future?

Thanks.

Mike

_________________________________________________________________________
Mike Friedman                        Information Services & Technology
mikef at ack.Berkeley.EDU               2484 Shattuck Avenue
1-510-642-1410                       University of California at Berkeley
http://socrates.berkeley.edu/~mikef  http://ist.berkeley.edu
_________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBRpz4eK0bf1iNr4mCEQLsvwCeKioZn0uQf5jRv3G7Xds3PMGyb9cAn1LN
CS/mwFfxjXdCI2sCpuYkhkUG
=B5yH
-----END PGP SIGNATURE-----



More information about the rt-users mailing list