Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Where do you actually extract a tarball? Strawberry

by jjap (Monk)
on Jan 22, 2013 at 21:02 UTC ( #1014790=perlquestion: print w/ replies, xml ) Need Help??
jjap has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

Sorry if this is very basic, but cpan did the hard work for me until now...

Could not untar with Archive::Tar. Had problems unarchiving. Please build manually Running make test Make had some problems, won't test Running make install Make had some problems, won't install Stopping: 'install' failed for 'Net::SMTP::Server'. Failed during this command: MACGYVER/SMTP-Server-.1.tar.gz + : unwrapped NO -- untar failed
Simple right?
To manually install a Perl module: 1. Download the Perl module from CPAN or other site. 2. Extract the tarball. 3. Run perl Makefile.PL 4. Run make 5. Run make test 6. Run make install
Okayyyyy, I notice C:\strawberry\cpan\sources\authors\id\M\MA\MACGYVER is where the tarball is.

Previously failed builds appear to be in C:\strawberry\cpan\build\

Whereas properly installed contributed modules, such as XLSX::Writer are in:C:\strawberry\perl\site\lib\Spreadsheet\XLSX

Unlike standard ones which are in C:\strawberry\perl\lib

My question: do I just unpack/extrat "anywhere" on the drive and run the Makefile.PL etc.. command?

Very sorry if this is extremely basic.

Thanks and best regards.

UPDATE: Thanks to VinsWorldcom for pointing out dmake and not make has to be used (Windows).

Point noted Khen1950fx about the memory issue, it did not have an impact in my case. I manually extracted with 7zip and the build process went like a breeze!

Comment on Where do you actually extract a tarball? Strawberry
Select or Download Code
Re: Where do you actually extract a tarball? Strawberry
by VinsWorldcom (Priest) on Jan 22, 2013 at 21:27 UTC

    Yes, if you want to download the MODULE.tar.gz file directly from CPAN you can 'gunzip' and 'tar xf' where ever you like on the drive. From where ever that directory is, just do the incantation:

    perl Makefile.PL dmake dmake test dmake install
Re: Where do you actually extract a tarball? Strawberry
by Khen1950fx (Canon) on Jan 22, 2013 at 23:47 UTC
    I multitask constantly, and I usually forget about it until I run out of RAM and the computer starts swapping. That's when I experience the "couldn't untar" syndrome. FWIW, try rebooting, then try cpan without running any other programs.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2014-07-28 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (193 votes), past polls