[rt-users] perl dependancies

Banze, Andreas Andreas.Banze at Geodata.de
Fri Aug 23 03:18:20 EDT 2002


> I don't seem to be able to satisfy any of these perl dependancies.
> 
> |tethys[~/rt-2-0-14] 84v>: make testdeps | grep 'not installed'
> |Checking for CGI::Cookie 1.20 ....CGI::Cookie 1.20  not installed.
> |Checking for Apache::Cookie....Apache::Cookie not installed.
> |Checking for Date::Parse....Date::Parse not installed.
> |Checking for Date::Format....Date::Format not installed.

testdeps (the script itself, I never managed to do it through make) does
understand the parameter "-fix" to do it all by itself. tryp ./sbin/testdeps
-fix mysql (or whatever you are using as dbm)
 
> scanning through the CPAN modules list doesn't help a lot ... 
> 
> |mumble[~] 42v>: w3m -dump 
> http://www.cpan.org/modules/01modules.index.html > p5-CPAN.txt
> |mumble[~] 43v>: grep -i cgi-cookie p5-CPAN.txt
> |mumble[~] 44v>: grep -i apache-cookie p5-CPAN.txt
> |Apache      ALEXP     Apache-CookieToQuery-1.04.tar.gz  10k  
> 17 Jul 2002
> |mumble[~] 45v>: grep -i date-parse p5-CPAN.txt
> |mumble[~] 46v>: grep -i date-format p5-CPAN.txt
> 
> are these modules contained in some other package?

interesting way to scan for CPAN modules. Let me introduce you into another
way:

perl -MCPAN -e shell;

Search for Modules:
i /CGI::Cookie/

CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 21 Aug 2002 19:52:04 GMT
Module id = CGI::Cookie
    CPAN_USERID  LDS (Lincoln D. Stein <lstein at cshl.org>)
    CPAN_VERSION 1.20
    CPAN_FILE    L/LD/LDS/CGI.pm-2.81.tar.gz
    MANPAGE      CGI::Cookie - Interface to Netscape Cookies
    INST_FILE    /usr/lib/perl5/5.6.1/CGI/Cookie.pm
    INST_VERSION 1.20

You want to install CGI.pm (or try "install CGI::Cookie"). Same goes for the
other modules.

If you see a message that states that there is a newer version of CPAN,
install it first - otherwise it may try to update your perl as well which
sometimes breaks the system. 



More information about the rt-users mailing list