[rt-users] Dependencies for RT 4.0.5 on CentOS 5

Scott Sjodin scott.sjodin at gmail.com
Sun Apr 22 13:15:25 EDT 2012


Stephen,

Thanks for the prompt reply.

Unless I entered the bash command incorrectly (which is entirely possible)
both of those came back with "no code specified for -e"

So two questions now since I've clearly mixed the environments (and I'm
quite new to bash):
1. How do I remove that symlink?
2. How do I build CPAN in the new environment?

Thanks so much for the reply again.

On Sun, Apr 22, 2012 at 6:27 PM, Stephen J Alexander
<sjalexander at mpbx.com>wrote:

> It sounds like you might have mixed your perl environments, which might be
> an unhealthy thing. You should get rid of the symlink; it is liable to
> cause problems for you.
>
> I suggest you determine whether cpan installed the XML::RSS under /usr/lib
> or /usr/local/lib:
>      /usr/local/bin/perl -mXML::RSS -e ""
> If that throws an error, that means that you're using the wrong cpan (from
> the /usr/ vs the /usr/local install)
>
> In which case try the following to determine whether cpan is also in the
> new environment:
>      /usr/local/bin/perl -mCPAN -e ""
> If this throws errors then you need to build cpan for the new environment.
>
> Regards,
>
> Stephen J Alexander
> MPBX, LLC
> http://mpbx.com
> 832-713-6729
>
>
>
> On Sun, Apr 22, 2012 at 8:37 AM, Scott Sjodin <scott.sjodin at gmail.com>wrote:
>
>> Hi there,
>>
>> So I've stood up a CentOS 5 server. I've downloaded and extracted RT
>> 4.0.5. Through the make fixdeps and testdeps I've had to do a lot of
>> wrangling to get all the dependencies to install correctly. I had to
>> upgrade Perl from 5.8 to 5.12  (so I believe I have 2 Perl installs at this
>> point).
>>
>> Getting right to it, I only have one dependency that's missing. When I
>> run make testdeps | grep MISSING I get the following:
>>
>>
>>> XML::RSS ...MISSING
>>> SOME DEPENDENCIES WERE MISSING.
>>>         XML::RSS ...MISSING
>>> make: *** [testdeps] Error 1
>>
>>
>> When I open up CPAN and attempt to install, I get the following:
>>
>> install XML::RSS
>>> Going to read '/root/.cpan/Metadata'
>>>   Database was generated on Sat, 21 Apr 2012 21:19:04 GMT
>>> XML::RSS is up to date (1.49).
>>
>>
>> I renamed the old perl to be "perl58" (so if I absolutely need it in the
>> future, I can rename it back). Then I made a symbolic link to the new perl
>> binary so that the location of the old binary still pointed to it
>>
>> mv /usr/bin/perl /usr/bin/perl58
>>
>> ln -s /usr/local/bin/perl /usr/bin/perl
>>
>> Is there something I missed? Any thoughts? Thanks in advance.
>>
>> Scott
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120422/e34b2be8/attachment.htm>


More information about the rt-users mailing list