Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: nmake-ing Compress::Bzip2 in Win32 errors fatally

by idnopheq (Chaplain)
on Sep 01, 2001 at 19:37 UTC ( #109642=note: print w/ replies, xml ) Need Help??


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

Big THX to wog for the assist, but it's a no go. To help out, here's the Makefile.PL:

require 5.003; use ExtUtils::MakeMaker 5.16; use Config; $Bzip2_INCLUDE = '-I/usr/include'; #$Bzip2_INCLUDE = '-I/usr/local/include'; #$Bzip2_INCLUDE = '-I/usr/local/include/bzip2'; $Bzip2_LIB = '-L/usr/lib -L.'; WriteMakefile( NAME => 'Compress::Bzip2', VERSION_FROM => 'Bzip2.pm', LIBS => [ "$Bzip2_LIB -lbz2" ], INC => "$Bzip2_INCLUDE", 'dist' => {COMPRESS=>'bzip2', SUFFIX=>'bz2'}, ) ;

The libbz2.dll is in c:\usr\lib, c:\incoming\compress-bzip2-1.00 ( the pwd ), and c:\winnt\system32. I've made several tweeks to the Makefile.PL, but all fail. Note that the headers, etc. are picked up fine ...

BTW, if I get this bad boy compiled, I will of course share w/ the community ...

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


Comment on Re: nmake-ing Compress::Bzip2 in Win32 errors fatally
Download Code
Re: Re: nmake-ing Compress::Bzip2 in Win32 errors fatally
by bikeNomad (Priest) on Sep 01, 2001 at 20:31 UTC
    So you have a libbz2.lib (an import lib) to go with your DLL? Note that the linker doesn't care about your DLL for symbol resolution; it needs an import lib.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-08-23 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (171 votes), past polls