Morning ( EDT ) all!

With some help from wog and bikeNomad, Compress::Bzip2 seems to have finally compiled for Win32. You can get it from http://idnopheq.perlmonk.org/perl/packages/.

ActiveState perl 5.6.1 users can get it via PPM thusly:

ppm install --location=http://idnopheq.perlmonk.org/perl/packages Compress-Bzip2

I'm testing it as I type. Please try it out and /msg me if you find problems.

For those who wondered how I built it, here are the steps I took ( must have VC++ 6 ):

  1. Download BZip2 Sources
  2. Extract the thing ( gzip -dc bzip2-1.0.1.tar.gz | tar xvf - )
  3. Perform nmake -f makefile.msc ***Note*** I did not see the VC++ makefile in the archive. Had I earlier, this would have been far easier!
  4. Perform nmake install
  5. Acquire Compress::Bzip2, and extract it like above.
  6. Edit the Makefile.PL, adjusting the $Bzip2_INCLUDE and $Bzip2_LIB to taste, based off of where you installed BZip2 from above.
  7. Execute perl Makefile.PL
  8. Edit the Bzip2.xs, prefixing BZ2_ to each of the Bzip2 calls. i.e. - bzlibVersion() to BZ2_bzlibVersion().
  9. Execute nmake && nmake install
That's it!

HTH
--
idnopheq
Apply yourself to new problems without preparation, develop confidence in your ability to to meet situations as they arrise.


In reply to nmake-ing Compress::Bzip2 in Win32 errors fatally ***FIXED*** by idnopheq
in thread nmake-ing Compress::Bzip2 in Win32 errors fatally by idnopheq

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.