Local perl for rt 3.8.2

RT gurus:

Is there any CONF file on RT that can change the RT perl files to point to
local perl or should all .pl files be changed individually?

For example, currently pl files are pointing to #!/usr/bin/perl ; I want to
point them to #!/root/localperl/perl-5.14.2

Thanks much in advance.

RT gurus:

Is there any CONF file on RT that can change the RT perl files to point to local perl or should all .pl files be changed individually?

For example, currently pl files are pointing to #!/usr/bin/perl ; I want to point them to #!/root/localperl/perl-5.14.2

Does the right thing happen if you set the PERL environment variable to that value before running the configure script? Then things like make fixdeps will Do The Right Thing and make sure your new perl will have all the right modules installed.

Tim

The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.

I am sorry I am so new for RT and perl.

I installed perl-5.14.2 in a local directory and CD’d to that directory
before running configure script. and then using local perl installed
missing modules
/root/localperl/bin/perl -MCPAN -e ‘install Bundle::Interchange’
I did not run fixdeps. I already have a running version of RT 3.8.2. I want
to point it to the perl I installed in the local directory.

The reason I am doing this is because, I have to upgrade centos from 5.5 to
5.8 (which is the latest). I did an upgrade on my test machine and I could
not start the http server. The error logs showed some TEMP dependancy
missing for RT. After installing that TEMP perl module, I could start the
httpd server but could not access the RT application from the browser. It
tries to open some(?) file and fails due to missing mime type. Then I
installed mime types from the source but this also did not fix it. I cannot
understand what this centos upgrade did.

I am completly lost. Now I am wondering, if by installing a new version of
perl and have RT point to that will fix the issue or not?

Any ideas please let me know.

Thanks much.On Mon, Apr 9, 2012 at 2:10 PM, Tim Cutts tjrc@sanger.ac.uk wrote:

On 9 Apr 2012, at 19:04, testwreq wreq wrote:

RT gurus:

Is there any CONF file on RT that can change the RT perl files to point
to local perl or should all .pl files be changed individually?

For example, currently pl files are pointing to #!/usr/bin/perl ; I want
to point them to #!/root/localperl/perl-5.14.2

Does the right thing happen if you set the PERL environment variable to
that value before running the configure script? Then things like make
fixdeps will Do The Right Thing and make sure your new perl will have all
the right modules installed.

Tim


The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.

RT gurus:

Is there any CONF file on RT that can change the RT perl files to point to local perl or should all .pl files be changed individually?

For example, currently pl files are pointing to #!/usr/bin/perl ; I want to point them to #!/root/localperl/perl-5.14.2

Does the right thing happen if you set the PERL environment variable to that value before running the configure script? Then things like make fixdeps will Do The Right Thing and make sure your new perl will have all the right modules installed.

It should work as expected.

Tim


The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.

Best regards, Ruslan.

I am sorry I am so new for RT and perl.

I installed perl-5.14.2 in a local directory and CD’d to that directory
before running configure script. and then using local perl installed
missing modules
/root/localperl/bin/perl -MCPAN -e ‘install Bundle::Interchange’

I did not run fixdeps. I already have a running version of RT 3.8.2. I want
to point it to the perl I installed in the local directory.

The reason I am doing this is because, I have to upgrade centos from 5.5 to
5.8 (which is the latest). I did an upgrade on my test machine and I could
not start the http server. The error logs showed some TEMP dependancy
missing for RT. After installing that TEMP perl module, I could start the
httpd server but could not access the RT application from the browser. It
tries to open some(?) file and fails due to missing mime type. Then I
installed mime types from the source but this also did not fix it. I cannot
understand what this centos upgrade did.

I am completly lost. Now I am wondering, if by installing a new version of
perl and have RT point to that will fix the issue or not?

Any ideas please let me know.

Thanks much.On Mon, Apr 9, 2012 at 4:08 PM, Ruslan Zakirov ruz@bestpractical.comwrote:

On Mon, Apr 9, 2012 at 22:10, Tim Cutts tjrc@sanger.ac.uk wrote:

On 9 Apr 2012, at 19:04, testwreq wreq wrote:

RT gurus:

Is there any CONF file on RT that can change the RT perl files to point
to local perl or should all .pl files be changed individually?

For example, currently pl files are pointing to #!/usr/bin/perl ; I
want to point them to #!/root/localperl/perl-5.14.2

Does the right thing happen if you set the PERL environment variable to
that value before running the configure script? Then things like make
fixdeps will Do The Right Thing and make sure your new perl will have all
the right modules installed.

It should work as expected.

Tim


The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.


Best regards, Ruslan.