Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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 => '', 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 ...

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://109642]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2017-01-21 01:03 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (180 votes). Check out past polls.