Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Creating CPAN distribution on Win32 with Module::Build

by pshangov (Acolyte)
on Dec 16, 2008 at 12:29 UTC ( [id://730636]=perlquestion: print w/replies, xml ) Need Help??

pshangov has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I have been trying for several days now to upload my first distribution on CPAN. I need some help dealing with the "The distribution contains the following world writable directories or files and is therefore considered a security breach and as such not being indexed" error message is from CPAN. I saw this issue has been discussed here before (http://www.perlmonks.org/?node_id=714227), but I still cannot understand what I need to do to get "Build dist" to create a proper distribution.

I am using:
WinXP SP3
ActivePerl 5.10.0
Module::Build 0.30
Archive::Tar 1.42

When I upload my distro to CPAN I get an error that all my directories are world-writable.

Using Cygwin is not an option, and strawberry is currently not an option either.

Thanks

  • Comment on Creating CPAN distribution on Win32 with Module::Build

Replies are listed 'Best First'.
Re: Creating CPAN distribution on Win32 with Module::Build
by mje (Curate) on Dec 16, 2008 at 13:03 UTC
Re: Creating CPAN distribution on Win32 with Module::Build
by jplindstrom (Monsignor) on Dec 16, 2008 at 13:45 UTC
    There is a fixed bug for Module::Build.

    There is no release yet it seems (I'd consider that a very high priority given the effect it has on all Windows developers, and the difficulty of figuring out what's the cause of the problem, let alone how to fix it).

    But if you apply this change int he meantime things might work (haven't tested it, I hacked it in a different way).

    /J

      Thanks, that did it.
      There is no release yet...

      There is no official release yet. A development version is available:

      cpan> install EWILHELM/Module-Build-0.30_02.tar.gz

      0.30_02 is a release candidate so the next official release with this bug fix should be out very soon.

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://730636]
Approved by Bloodnok
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found