Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by idnopheq (Chaplain)
on Sep 01, 2001 at 19:37 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://109642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-19 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found