Clarification: I'm pretty much a Perl / CPAN noob, don’t think that I know too much.
I have pretty vanilla CPANbecause I'm just rebuilding the entire Lenny 5.0.2 VPS - so I pretty much have the default modules installed.
My ultimate goal is to install foswikiApache 2.x on my server.
While I am reading this manual, and he says that the first thing you need to do is upgrade CPAN to the latest version. So I did (how su):
# perl -MCPAN -e '$ ENV {FTP_PASSIVE} = 1; install CPAN '
Now, installing / updating a bunch of things, here's an excerpt:
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / CPAN-Test-Dummy-Perl5-Make-Expect-1.00.tar.gz
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / CPAN-Test-Dummy-Perl5-Make-UnsatPrereq-1.00.tar.gz
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / CHECKSUMS
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / cpantestdummies /
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / cpantestdummies / CPAN-Test-Dummy-Perl5-Make-Features-1.05.tgz
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / cpantestdummies / CHECKSUMS
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / CPAN-Test-Dummy-Perl5-Make-Zip-1.03.zip
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / CHECKSUMS.2nd
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / CPAN-Test-Dummy-Perl5-Make-1.05.tar.gz
CPAN-1.9402 / t / CPAN / authors / id / A / AN / ANDK / CPAN-Test-Dummy-Perl5-Make-Failearly-1.02.tar.gz
CPAN-1.9402 / t / CPAN / authors / id / A / AN / CHECKSUMS
CPAN-1.9402 / t / CPAN / authors / id / A / CHECKSUMS
CPAN-1.9402 / t / CPAN / authors / id / CHECKSUMS
CPAN-1.9402 / t / CPAN / authors / 01mailrc.txt
CPAN-1.9402 / t / CPAN / CpanTestDummies-1.55.pm
CPAN-1.9402 / t / CPAN / TestConfig.pm
CPAN-1.9402 / t / 51pod.t
CPAN-1.9402 / t / 02nox.t
CPAN-1.9402 / t / 50pod.t
CPAN-1.9402 / t / 10version.t
CPAN-1.9402 / t / yaml_code.yml
CPAN-1.9402 / t / 04clean_load.t
CPAN-1.9402 / README
CPAN: File :: Temp loaded ok (v0.18)
CPAN.pm: Going to build A / AN / ANDK / CPAN-1.9402.tar.gz
Importing PAUSE public key into your GnuPG keychain ... gpg: new configuration file `/root/.gnupg/gpg.conf 'created
gpg: WARNING: options in `/root/.gnupg/gpg.conf 'are not yet active during this run
done!
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete ...
Looks good
Writing Makefile for CPAN
Could not read '/root/.cpan/build/CPAN-1.9402-fmK7xK/META.yml'. Falling back to other methods to determine prerequisites
ANDK / CPAN-1.9402.tar.gz
make - NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
kat: ~ #
I searched Google and came across one page that said you should install the package from aptitude / apt-get / yum whenever possible, so I found a package with a name libyaml-perlmarked for download that went through a fine.
Then I repeated my original command, which installs the latest version of CPAN and ...
CPAN-1.9402 / t / 50pod.t
CPAN-1.9402 / t / 10version.t
CPAN-1.9402 / t / yaml_code.yml
CPAN-1.9402 / t / 04clean_load.t
CPAN-1.9402 / README
CPAN: File :: Temp loaded ok (v0.18)
CPAN: YAML loaded ok (v0.66)
CPAN.pm: Going to build A / AN / ANDK / CPAN-1.9402.tar.gz
Importing PAUSE public key into your GnuPG keychain... done!
(You may wish to trust it locally with 'gpg --lsign-key 450F89EC')
Checking if your kit is complete...
Looks good
Writing Makefile for CPAN
ANDK/CPAN-1.9402.tar.gz
make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
, . , reset ? , , , - ? - CPAN , , .
foswiki:
- CGI:: Session - Foswiki,
- - , . Foswiki, script, , . Perl , .
- FreezeThaw - , .
- GD - , , Foswiki: Plugins.ChartPlugin. lib gd. , rpms gd gd-devel. - DVD.
- HTML:: -
- (Time:: CTime, Time:: DaysInMonth, Time:: JulianDay, Time:: ParseDate, Time:: Timezone), .