If I could do something like that installation-wide, that would be good. I
can't do it on a per-module basis because I share the modules with my UNIX
installs also. And this particular module is DBD-Sybase which I am
patching as it is, so I am loath to change more than I have to on a local
basis.
Hmm. I wonder if I could patch Config,.pm to set this
installation-wide....
The other thing you COULD do is put out an auxiliary ZIP with these items
and integrate into the MSI with a prompt (install unix utils tar, gzip
,etc?)
Of course, more work for you to maintain I guess
--
Matthew O. Persico
Lazard
30 Rockefeller Plaza
New York, NY 10112
212 632 6136
From: "Curtis Jewell via RT" <bug-Perl-Dist-Strawberry@rt.cpan.org>
To: Matthew Persico/ITS/Lazard@Lazard NYC
Date: 03/24/2014 01:53 PM
Subject: [rt.cpan.org #94150] Low - Windows - no tar
<URL:
https://rt.cpan.org/Ticket/Display.html?id=94150 >
On Mon Mar 24 13:30:23 2014, Matthew.Persico@lazard.com wrote:
Show quoted text> Even though cpan and it's ilk and the whole Makefile.PL chain know how
to
Show quoted text> untar a .tar, when you try and do a
>
> make dist
>
> to package up a module you are working on, you get an error when trying
to
Show quoted text> create the tar:
>
> 'tar' is not recognized as an internal or external command,
> operable program or batch file.
> dmake: Error code 129, while making 'DBD-Sybase-1.15_LF001.tar.gz'
>
> Any reason why you don't just package a tar with the rest of the tools?
> And a zip for that matter?
>
> As a work around, I will try an isolate the tar and zip from my cygwin
> install so that I can use them without injecting all of my environment
> with cygwin references.
>
> Thanks
> --
> Matthew O. Persico
Because so many people have them in other places and we do not want to
override their copies.
One thing that can be done, since Strawberry Perl includes
IO::Compress::GZip and Archive::Tar, is to use those modules or the
scripts they install. Example Makefile.PL flags are below.
TAR => 'ptar',
TARFLAGS => '-c -C -f',
COMPRESS => q{perl -MIO::Compress::Gzip=gzip,:constants -e"my $$in =
$$ARGV[0]; gzip($$in => qq($$in.gz), q(Level) => Z_BEST_COMPRESSION,
q(BinModeIn) => 1) or die q(gzip failed); unlink $$in;"},