okay, so installing MediaWiki::API is supposed to be done locally. I'm following the instructions: https://wiki.toolserver.org/view/Perl
The problem is that there's no local Config.pm at the given location. In other words, /etc/perl/CPAN/Config.pm in step 3 does not exist. That makes it hard to follow step 4 and beyond.
I'm on willow.
And about "no perl experts": I've only spent 10 years writing OO perl, I've just always used root access or a CM config that handles packages. I recently bought Randal Schwartz a drink- OTOH, Ward Cunningham then bought me a drink, so I can't complain.
-ted
These instructions are needlessly complicated. I'll update them when https://jira.toolserver.org/browse/TS-757 is done.
If you cannot wait so long, download local::lib from http://search.cpan.org/dist/local-lib/ yourself and follow the bootstrap method in the documentation. In any case, the CPAN config file will be taken care of automatically. For comparison, I have posted my very reasonable configuration suited for the toolserver at http://paste.scsys.co.uk/50703.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ted Timmons:
The problem is that there's no local Config.pm at the given location. In other words, /etc/perl/CPAN/Config.pm in step 3 does not exist. That makes it hard to follow step 4 and beyond.
I think it's unlikely that a /etc/perl directory ever existed on the Solaris login servers. Someone probably copied this from Linux instructions, where there is an /etc/perl (e.g. on nightshade).
Since we don't use CPAN on Solaris, there is no Config.pm there at all. The easiest fix is probably to copy it from nightshade instead.
- river.
On Thu, Sep 16, 2010 at 03:34:46PM +0000, River Tarnell wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ted Timmons:
The problem is that there's no local Config.pm at the given location. In other words, /etc/perl/CPAN/Config.pm in step 3 does not exist. That makes it hard to follow step 4 and beyond.
I think it's unlikely that a /etc/perl directory ever existed on the Solaris login servers. Someone probably copied this from Linux instructions, where there is an /etc/perl (e.g. on nightshade).
Since we don't use CPAN on Solaris, there is no Config.pm there at all. The easiest fix is probably to copy it from nightshade instead.
I had no problem on willow to just do perl -MCPAN -e shell and answer the questions to do the installs locally in your homedir. It should just create a local config for you.
Regards,
Andre
- river.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD)
iEYEARECAAYFAkySORYACgkQIXd7fCuc5vK0JQCfSbIh9LYrRZHf+B/vEhLODx2c OKIAoKDcdRy1qSaYp1JreI8rEt4WgAK1 =MMA0 -----END PGP SIGNATURE-----
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
toolserver-l@lists.wikimedia.org