Perl dependancies

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.

scanning through the CPAN modules list doesn’t help a lot …

|mumble[~] 42v>: w3m -dump Modules on CPAN alphabetically > 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?

Malcolm Herbert This brain intentionally
mjch@mjch.net left blank

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
Modules on CPAN alphabetically > 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@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.

|> I don’t seem to be able to satisfy any of these perl dependancies.
|
|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)

I’d rather do it manually the first time, but thanks for the info

|interesting way to scan for CPAN modules. Let me introduce you into
|another way:
|
|perl -MCPAN -e shell;

yeah - bruce pointed me at that on IRC about two minutes ago … :slight_smile:

never seen that before, but it looks like it will be useful. thanks

|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.

I’d rather see whether these modules are included in any others then
build an appropriate NetBSD pkgsrc package for them rather than use the
CPAN installer … that way I don’t need to do anything special on any
of the other machines I need to install this on … :slight_smile:

Malcolm Herbert This brain intentionally
mjch@mjch.net left blank

|> I don’t seem to be able to satisfy any of these perl dependancies.
|
|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)

I’d rather do it manually the first time, but thanks for the info

|interesting way to scan for CPAN modules. Let me introduce you into
|another way:
|
|perl -MCPAN -e shell;

yeah - bruce pointed me at that on IRC about two minutes ago … :slight_smile:

never seen that before, but it looks like it will be useful. thanks

Sheesh, you get this far and haven’t encountered the Creamy Goodness that
is CPAN? Shame on you boy. ( see also http://search.cpan.org/ ).

|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.

I’d rather see whether these modules are included in any others then
build an appropriate NetBSD pkgsrc package for them rather than use the
CPAN installer … that way I don’t need to do anything special on any
of the other machines I need to install this on … :slight_smile:

As mentioned on irc, FreeBSD (at least) comes with bsdpan, and I think
that NetBSD does as well. The end effect is that modules installed via
CPAN then show up with the standard package management tools (pkg_*).

No need to reinvent the wheel.

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B             Operations/Security