minicpan, CPAN/CPANPLUS and autobundles on linux

I'm getting my laptop (AMD64 based) set-up with the latest
version of Kubuntu (7.10 Gutsy Gibbon), and I'm trying to do
something that doesn't seem to me like it should be terribly
complicated, but I'm running into some funny problem I'm not
seeing:

(1) I've created a custom Bundle of perl modules installed on my
workstation, using CPAN.pm's "autobundle" command.

(2) I've installed a "minicpan" copy on my laptop, using the
minicpan command included with the CPAN::Mini module.

(3) I want to configure CPANPLUS or CPAN so that it can be used
to install my Bundle, working from the packages in the minicpan
mirror.

I would've thought that all I need to do is to stick the full
path to the minicpan inside of the "urllist" in
~/.cpan/CPAN/MyConfig.pm.

I keep having funny problems with the CPAN shell trying to
install the wrong version from the minicpan mirror, I gather
because it's using an stale meta data from the ~/.cpan location
rather than getting it from the mirror location.

Anyway, if anyone's done anything like this before, I'd
appreciate some hints on what you did (perhaps a copy of your
MyConfig.pm).

And if anyone's really interested, I can try to type up a more
thorough listing of what I've done and the error messages I've
seen, and so on.
Joseph Brenner [ Do, 22 November 2007 05:10 ] [ ID #1876834 ]

Re: minicpan, CPAN/CPANPLUS and autobundles on linux

On Wed, 21 Nov 2007 20:10:10 -0800, Joseph Brenner
<doom [at] kzsu.stanford.edu> wrote:

>I'm getting my laptop (AMD64 based) set-up with the latest
>version of Kubuntu (7.10 Gutsy Gibbon), and I'm trying to do
>something that doesn't seem to me like it should be terribly
>complicated, but I'm running into some funny problem I'm not
>seeing:

Since it didn't receive any answers, I replicated your question with
proper attributions at

http://perlmonks.org/?node_id=652558


Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
Michele Dondi [ Fr, 23 November 2007 13:47 ] [ ID #1877499 ]

Re: minicpan, CPAN/CPANPLUS and autobundles on linux

In article <871wai9azh.fsf [at] kzsu.stanford.edu>, Joseph Brenner
<doom [at] kzsu.stanford.edu> wrote:


> I keep having funny problems with the CPAN shell trying to
> install the wrong version from the minicpan mirror, I gather
> because it's using an stale meta data from the ~/.cpan location
> rather than getting it from the mirror location.

Check your config to see if you've asked CPAN.pm to cache metadata,
and that you have the right list of URLs in the right order to check.

You probably want to see my talk about MyCPAN:

Perlcast audio:
http://perlcast.com/2007/09/29/making-my-own-cpan/

Slides:
http://www252.pair.com/comdog/Talks/MyCPAN-LApm200709.pdf

Article:
See issue 4.0 of The Perl Review: http://www.theperlreview.com
brian d foy [ Fr, 23 November 2007 17:00 ] [ ID #1877518 ]

Re: minicpan, CPAN/CPANPLUS and autobundles on linux

In article <6uidk3db21l9q3ogd7a0s2so1p4dhegfod [at] 4ax.com>, Michele Dondi
<bik.mido [at] tiscalinet.it> wrote:


> Since it didn't receive any answers, I replicated your question with
> proper attributions at

Well, I took a break for an American holiday so I didn't have a chance
to answer this one until today.

Haven't we gone through this before? I certainly think reposting
content without permission, even with attribution, is wrong. Several
other people have told you the same thing.
brian d foy [ Fr, 23 November 2007 17:04 ] [ ID #1877521 ]

Re: minicpan, CPAN/CPANPLUS and autobundles on linux

On Fri, 23 Nov 2007 10:04:38 -0600, brian d foy
<brian.d.foy [at] gmail.com> wrote:

>> Since it didn't receive any answers, I replicated your question with
>> proper attributions at
>
>Well, I took a break for an American holiday so I didn't have a chance
>to answer this one until today.
>
>Haven't we gone through this before? I certainly think reposting
>content without permission, even with attribution, is wrong. Several
>other people have told you the same thing.

Yes, we've gone through this before. None of the argumentations did
convince me. Do I risk a report to the abuse, a lawyer's notification
or anything of comparable severity? If so, then I'll stop forever
because there's not point in undergoing a loss for the desire to help
an individual, and the community. Sadly, this seems to be much a
clpmisc thing, because no one complained in PM when I did so before
and no one has complained today: nay, the node seems to have been
relatively well received -judging from its XP- and it's Friday
Afternoon... Of course you're also a member there and you can bash me
there too. OTOH Mirco Wahab, for one, *thanked* me for bringing a
problem from PM to clpmisc and is now an active poster in both places.

As far as reposting content without permission is concerned, let's be
serious: it happens all the time on the web and beyond. Just a quick
example:

http://www.osdir.com/ml/linux.distributions.crux.general/200 6-12/msg00005.html

It's a copy of a message posted to a mailing list, of course, and I'm
the author. There even isn't a *clear* reference to me. I didn't know
that the mailing list was being replicated at that site: I just asked
Google.


Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
Michele Dondi [ Sa, 24 November 2007 01:06 ] [ ID #1878049 ]

Re: minicpan, CPAN/CPANPLUS and autobundles on linux

Michele Dondi <bik.mido [at] tiscalinet.it> writes:

> brian d foy <brian.d.foy [at] gmail.com> wrote:
>
>>> Since it didn't receive any answers, I replicated your question with
>>> proper attributions at
>>
>>Well, I took a break for an American holiday so I didn't have a chance
>>to answer this one until today.
>>
>>Haven't we gone through this before? I certainly think reposting
>>content without permission, even with attribution, is wrong. Several
>>other people have told you the same thing.
>
> Yes, we've gone through this before. None of the argumentations did
> convince me.

Well, I'm not *greatly* annoyed that you did this, but it's
enitrely possible someone else might've been. It occured to me
that I could post the question to perlmonks, but I thought about
it and decided I would try here first. Why did you take it upon
yourself to do something with my material that I chose not to do?

> the node seems to have been relatively well received -judging
> from its XP-

Right. So you're a karma whore?

Forgive me, but I think my problem was relatively obscure, and I
can't see why you would be so fascinated by it that you couldn't
let it rest.
Joseph Brenner [ Mo, 07 Januar 2008 01:30 ] [ ID #1902147 ]

Re: minicpan, CPAN/CPANPLUS and autobundles on linux

On Sun, 06 Jan 2008 16:30:49 -0800, Joseph Brenner
<doom [at] kzsu.stanford.edu> wrote:

>> the node seems to have been relatively well received -judging
>> from its XP-
>
>Right. So you're a karma whore?

No, an XP whore. Karma is on use.perl.org! ;)

BTW: in this case XP showed up for what it really should be worth for
- the value of a node.

>Forgive me, but I think my problem was relatively obscure, and I
>can't see why you would be so fascinated by it that you couldn't
>let it rest.

It's been one of the most interesting questions I read in clpmisc in
months, period. (And incidentally a friend of mine, in real life heh,
asked me something along those lines some time before that.) I'm
fairly sick of "how do I get the sixth fielf" kinda questions...


Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
Michele Dondi [ Mi, 09 Januar 2008 18:01 ] [ ID #1903933 ]
Perl » comp.lang.perl.misc » minicpan, CPAN/CPANPLUS and autobundles on linux

Vorheriges Thema: FAQ 7.16 How do I create a static variable?
Nächstes Thema: "global watch-expressions" in perldb?