[rt-users] Installing prerequisite perl modules
Forrest Aldrich
forrie at forrie.com
Wed Jun 11 10:52:12 EDT 2003
Greg,
I managed to get RT 3.0.2 running yesterday. I believe the Apache::test
module is a part of the Apache CPAN bundle.
I had to manually install the DBD-mysql module, because the test continued
to fail, and there wasn't a way for me to pass options to that during the
prerequisites installation (I have passwords on my mysql.user accounts, and
it assumes none with root and mysql.test).
The RT system seems to be working okay otherwise. I believe the
Apache::test module was a prerequisite of yet another Bundle that was
installed. I've never seen so many prerequisites! :-)
That's the best I can tell thus far.
I'll take a look at the CPANPLUS page, it looks promising.
>/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/test.pm
[ ... ]
This looks like Apache::test
>/usr/lib/perl5/site_perl/5.8.0/Mail/Mailer/test.pm
[ ... ]
Mailer::test
>/usr/lib/perl5/5.8.0/Test.pm
[ ... ]
Bundle::Test? Never heard of this one.
So think you have three different ones... and if it's really Apache::test
that was being sought, it looks like you have it.
I've run into issues using CPAN before, whereby you don't necessarily HAVE
to install a later version of certain modules, and it will refuse to build
them without - but if you do it manually, they work fine. One developer
warned me of this a while ago, and it's annoying.
Are you able to get RT running?
I had more of a devilish time getting mod_perl-1.x compiled and installed -
I hope MP2 and Apache2 have a better, cleaner installation method - it was
insanity. :-)
Forrest
>but they are different. Is this what you are seeing?
>
>I have posted several queries about the problem I described with no
>response so I have filed a bug report against CPAN. Also, I just found
>out about CPANPLUS today so I'm going to be doing some reading on that.
>
>Remember that CPAN doesn't 'require' anything; it recommends. When you
>run 'sbin/rt-test-dependencies' (or 'make testdeps') you are running a
>program which uses CPAN but the required dependencies, and version numbers
>when present, are RT requirements, not CPAN's.
>
>Sincerely,
>
>Greg
>
>
>Gregory L. Hering
>(256) 722-6420
>4807 Bradford Dr
>Benchmark Electronics, Inc.
>Hunvtsville, Al 35805
>
>
>-----Original Message-----
>From: Forrest Aldrich [mailto:forrie at forrie.com]
>Sent: Tuesday, June 10, 2003 5:03 PM
>To: rt-users at lists.fsck.com
>Subject: RE: [rt-users] Installing prerequisite perl modules
>
>Hi Greg,
>
>Turns out the problem has to do with Apache::test (Found in another
>module). Though I am able to find "test.pm" in the perl library directory,
>so it appears to really be there. Someone told me privately that CPAN
>often ignorantly requires higher versions of modules that aren't always
>required.
>
>I'm letting the process continue (prerequisite installation) to see what
>else happens.
>
>
>Thanks.
>
>At 05:55 PM 6/10/2003, Greg.Hering at bench.com wrote:
> >Dear Forrest,
> >
> > I have had repeated problems with newer modules installed by CPAN
> > being ignored by CPAN. I have found that if a module is already
> > installed in the default <whatever>/lib/perl5/<module-stuff> CPAN then
> > installs the new module in <whatever>/lib/perl5/site_perl/<module-stuff>
> > but still thinks the module is out of date (when doing CPAN 'r' recommend
> > option).
> >
> > If I manually remove the one at the higher level, usually the
> > older one ( find . -name <module.pm> -exec grep VERSION {} \; ), then the
> > problem seems to be fixed for that module. I have been having to do this
> > for each module to get CPAN to think it's updated.
> >
> > I don't know if this is your problem, but I have tried posting to
> > 'CPAN-testers' and 'perl-beginners' and don't have an answer yet.
> >
> > The script to 'test-deps' uses CPAN and also looks for specific
> > versions, so a <*-dev> might not be recognized by RT.
> >
> >HTH.
> >
> >Greg
> >
> >Gregory L. Hering
> >(256) 722-6420
> >4807 Bradford Dr
> >Benchmark Electronics, Inc.
> >Hunvtsville, Al 35805
> >
> >
> >-----Original Message-----
> >From: Forrest Aldrich [mailto:forrie at forrie.com]
> >Sent: Tuesday, June 10, 2003 4:40 PM
> >To: rt-users at lists.fsck.com
> >Subject: [rt-users] Installing prerequisite perl modules
> >
> >I'm starting to install RT3.
> >
> >When installing the prerequisites, via the provided script, I'm running
> >into a problem with libapreq-1.1. I have mod_perl installed (FreeBSD-4.8)
> >as bsdpan-mod_perl-1.27_01-dev, but this module insists upon downloading
> >mod_perl-1.27 - and it's not clear to me why it's not finding the mod_perl
> >that I have installed, or if I can override that with a variable?
> >
> >
> >Thanks.
> >
> >_______________________________________________
> >rt-users mailing list
> >rt-users at lists.fsck.com
> >http://lists.fsck.com/mailman/listinfo/rt-users
> >
> >Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users
>
>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users
>
>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
More information about the rt-users
mailing list