jellisii2 has asked for the wisdom of the Perl Monks concerning the following question:
Esteemed monks, thank you for your time
I am in the process of attempting to set up a local CPAN to distribute some internal-only modules to multiple clients. I'm using CPAN::Site to try and do it, but it doesn't seem to index my modules when I ask it to.
Per the documentation, I've set up a folder that's available on the network. That folder is readable by me.
/var/www/cpan
Also per the documentation, I've set up some subfolders to be indexed that emulates a PAUSE account:
/var/www/cpan/authors/F/FA/FAKEID
I'm running the indexer as suggested by the documentation:
cpansite --site /var/www/cpan index -vvv
And it indicates that it's fetched a bunch of stuff from CPAN as expected so it can forward requests from the clients to global modules. The thing is that it doesn't seem to be picking up my modules in the FAKEID folder as expected. Thoughts?
I'm checking /var/www/cpan/modules/02packages.details.tmp.gz for the existence of my module, but I'm not finding any evidence that it exists. I'm probably doing something wrong, but I can't determine what it is.trace: cpansite version 1.11 trace: copy /var/www/cpan/global/01mailrc.txt.gz to /var/www/cpan/auth +ors/01mailrc.txt.gz trace: copy /var/www/cpan/global/03modlist.data.gz to /var/www/cpan/mo +dules/03modlist.data.gz trace: collecting all details from /var/www/cpan/modules/02packages.de +tails.txt.gz trace: extracting only existing local distributions trace: creating inventory from /var/www/cpan/authors/id trace: merge packages with CPAN core list in /var/www/cpan/global/02pa +ckages.details.txt.gz trace: collecting all details from /var/www/cpan/global/02packages.det +ails.txt.gz trace: creating package details in /var/www/cpan/modules/02packages.de +tails.tmp.gz info: produced list of 138969 packages lazy trace: backup old details file to /var/www/cpan/modules/02packages.det +ails.txt.gz.bak trace: copy /var/www/cpan/modules/02packages.details.txt.gz to /var/ww +w/cpan/modules/02packages.details.txt.gz.bak trace: promoting /var/www/cpan/modules/02packages.details.tmp.gz to cu +rrent trace: updating checksums
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Trouble with CPAN::Site
by jhourcle (Prior) on Jan 16, 2014 at 23:23 UTC | |
by jellisii2 (Hermit) on Jan 16, 2014 at 23:32 UTC | |
|
Re: Trouble with CPAN::Site
by Bloodnok (Vicar) on Jan 17, 2014 at 12:20 UTC |