Click here to get back home

Getting a module on CPAN

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Getting a module on CPAN IanW 06-07-2007
Posted by IanW on June 8, 2007, 7:06 pm
Please log in for more thread options


Hi Mumia


> This is what the CPAN shell says to me about your module:
>
>> Module id = GD::3DBarGrapher
>> DESCRIPTION Professional looking 3D Bar Graphs
>> CPAN_USERID SWARHURST (S I Warhurst <CENSORED>)
>> CPAN_VERSION undef
>> CPAN_FILE Contact Author S I Warhurst <CENSORED>
>> DSLI_STATUS Rdpf (released,developer,perl,functions)
>> INST_FILE (not installed)
>
> It sounds like CPAN is aware of the namespace, but it can't associate that
> with a tarball. Your tarball seems to have the correct name. I can't see
> why your upload isn't recognized (indexed by CPAN).
>
> I was able to "get" your tarball by doing this:
>
> cpan> get SWARHURST/GD-3DBarGrapher-0.9.1.tar.gz
>
> All of the files in your tarball seem to have permissions set to 0700.
> That would exclude everyone but the owner from seeing the files. Perhaps
> that is what is stopping CPAN's indexing.
>
> It looks like you use Windows. AFAIK, Windows doesn't have a native tar
> program. What utility did you use to create the tarball?

Yes, I am on Windows and used the tar utility that comes with cygwin and the
syntax:

tar -cf GD-3DBarGrapher-0.9.1.tar.gz /GD-3DBarGrapher-0.9.1

Just did an ls-l and it does appear that permissions on the folder were
owner only. I chmod'd them to 644 using cygwin and then created the tar
again, so will upload that and request a reindex. Hopefully that will then
work.

> PS.
> Please provide an e-mail address for people to report problems about your
> module.

In the README file in the package it has my email as swarhurst AT cpan.org
which works. One of the testers of 0.9.0 emailed me OK.

Thanks
Ian



Posted by Mumia W. on June 7, 2007, 9:49 pm
Please log in for more thread options


On 06/07/2007 03:28 PM, IanW wrote:
> Hi
>
> I created a PAUSE account and uploaded my module, and after a teething
> problem with the first version, the second one was tested and found OK:
>
> http://testers.cpan.org/show/GD-3DBarGrapher.html
>
> How do I get it to show when someone does a search for modules on CPAN? As
> you can see, http://search.cpan.org/dist/GD-3DBarGrapher doesn't work :-(
>
> IanW
>
>

You need to register your module namespace from within the PAUSE menu
after you've logged in.



Posted by Sisyphus on June 7, 2007, 10:09 pm
Please log in for more thread options



.
.
>
> You need to register your module namespace from within the PAUSE menu
> after you've logged in.
>

Nothing wrong with that recommendation - but I don't think it's the reason
it's not showing up.
I have a couple of "unregistered" modules on CPAN, and they get found fine.

Cheers,
Rob


Similar ThreadsPosted
adding a new module to CPAN September 30, 2004, 3:06 am
how do I package a CPAN module? October 23, 2004, 1:13 pm
It's not PHP, is it? (potential new CPAN module) July 21, 2007, 3:16 am
Problem gettting module from CPAN September 19, 2004, 9:56 pm
CPAN Errors Installing Tk Module November 26, 2004, 9:56 pm
Installing a CPAN Module online June 26, 2005, 8:45 pm
New CPAN module integration of Authcookie with PAM February 6, 2006, 6:29 am
CPAN module validation process July 19, 2007, 3:58 pm
submitting new module to CPAN (Image::ExifTool) September 21, 2004, 4:45 pm
How to tell CPAN-testers a module is just for a specific platform? October 2, 2004, 10:04 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap