[rt-users] Installing prerequisite perl modules

Greg.Hering at bench.com Greg.Hering at bench.com
Wed Jun 11 10:04:11 EDT 2003


Dear Forrest,

	I am able to find three 'test.pm' modules in my Linux installation:

/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache/test.pm
/usr/lib/perl5/site_perl/5.8.0/Mail/Mailer/test.pm
/usr/lib/perl5/5.8.0/Test.pm

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



More information about the rt-users mailing list