Win 7: install Bundle::CPAN

11 views
Skip to first unread message

deadpickle

unread,
Feb 3, 2010, 3:01:16 AM2/3/10
to camelbox
Trying to install the bundle from cpan but I keep getting these
outputs:
C:\camelbox\bin\tar.EXE: Error exit delayed from previous errors
Uncompressed C:\camelbox\.cpan\sources\authors\id\A\AN\ANDYA\Test-
Harness-3.21.t
ar.gz successfully
Using Tar:C:\camelbox\bin\tar.EXE xvf "Test-Harness-3.21.tar":
Test-Harness-3.21
Build.PL
C:\camelbox\bin\tar.EXE: Build.PL: Could not create file: Permission
denied
C:\camelbox\bin\tar.EXE: Skipping to next file header
Test
Builder.pm
C:\camelbox\bin\tar.EXE: Builder.pm: Could not create file: Permission
denied
C:\camelbox\bin\tar.EXE: Skipping to next file header
C:\camelbox\bin\tar.EXE: Only read 6060 bytes from archive Test-
Harness-3.21.tar

C:\camelbox\bin\tar.EXE: Error is not recoverable: exiting now
Couldn't untar Test-Harness-3.21.tar

not sure what to do?

Brian Manning

unread,
Feb 3, 2010, 3:06:36 AM2/3/10
to came...@googlegroups.com

Could not create files was the error; do you have permission to create
the files in the specified directory?

try 'look CPAN' to 1) see if the directory unpacks correctly and 2)
that you can create files inside of the unpacked directory. If you
can't, then it's a permissions issue.

Thanks,

Brian

deadpickle

unread,
Feb 3, 2010, 3:24:57 AM2/3/10
to camelbox
I did not see any errors for either of those.

On Feb 3, 2:06 am, Brian Manning <elspicyj...@gmail.com> wrote:

Jeff Hallock

unread,
Feb 3, 2010, 11:31:15 AM2/3/10
to came...@googlegroups.com
You may need to try running cpan as an administrator.

Create a new shortcut to cmd

Then right click on it and choose "Run as administrator".

Than try installing from CPAN.

--
You received this message because you are subscribed to the Google Groups "camelbox" group.
To post to this group, send email to came...@googlegroups.com.
To unsubscribe from this group, send email to camelbox+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/camelbox?hl=en.

Brian Manning

unread,
Feb 3, 2010, 12:43:29 PM2/3/10
to camelbox

On Feb 3, 12:24 am, deadpickle <deadpic...@gmail.com> wrote:
> I did not see any errors for either of those.

If you can do 'look Bundle::CPAN' and get a shell, you can then try
building things by hand the usual Perl way;

perl Makefile.PL
dmake
dmake test
dmake install

I bet you're not running as Administrator (as Jeff has mentioned in
another email), and 'dmake install' fails for you because of this.

Thanks,

Brian

deadpickle

unread,
Feb 3, 2010, 4:48:09 PM2/3/10
to camelbox
ran perl -MCPAN -e shell in a cmd window as admin and got the same
errors.
Reply all
Reply to author
Forward
0 new messages