http://www.perlmonks.org?node_id=11110519


in reply to Re: getting Log::Log4perl to install on windows strawberry perl
in thread getting Log::Log4perl to install on windows strawberry perl

"I'm guessing we need a couple utilities at the perl infrastructure level: One to "fork" a cpan dist in to github (for dists that aren't on github, but L4P already is), and then an update to cpan/cpanm to get it to prefer where to get a specific dist from."

First, create the repository on your Github. I created one called simply "log4perl", then:

cpan -g Log::Log4perl tar -xzvf Log-Log4perl-1.49.tar.gz cd Log-Log4perl-1.49 git init git add . git remote add origin https://stevieb9@github.com/stevieb9/log4perl.gi +t git push -u origin master

Now you've make a fork of the 1.49 version of the distribution on your own Github.

Now, when you want to install with cpanm:

cd c:\users\steveb\repos git clone https://github.com/stevieb9/log4perl cd log4perl cpanm .

Or, do a make dist in your repository, add the newly created tarball into the repo and do a push, then:

cpanm https://github.com/stevieb9/log4perl/blob/master/Log4Perl-1.53.t +ar.gz