Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

nmake-ing Compress::Bzip2 in Win32 errors fatally ***FIXED***

by idnopheq (Chaplain)
on Sep 02, 2001 at 16:26 UTC ( [id://109723]=note: print w/replies, xml ) Need Help??


in reply to nmake-ing Compress::Bzip2 in Win32 errors fatally

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.

  • Comment on nmake-ing Compress::Bzip2 in Win32 errors fatally ***FIXED***

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-12-03 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found