module installation through VC++

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi All,
Im trying to install perl html::strip module using visual C++ express
edition. I was able to do it comfortably on my laptop without any
problems but now im stuck on the server.
Im able to nmake it...but whn i type "nmake test" it gives me error
Cant load `blib\arch/auto/HTML/Strip/Strip.dll' for module
HTML::Strip: load_file: The specified module could not be found at
D:/.../ line 230. at line 10
Compilation failed in require at line 10.
BEGIN failed --compilation aborted at line 10.
NMAKE : fatal error U1077: `D:\..\bin\perl.exe' : return code `0x2'
Is this machine specific problem? How can i get this done.
Can anyone help me out with this...thanks in advance.

Re: module installation through VC++

Quoted text here. Click to load it

Which version of HTML::Strip are you trying to install.

Using VC 7.0 to build HTML-Strip-1.06 (perl-5.10.1), I find that
'nmake' fails:

strip_html.c(38) : warning C4013: 'strcasecmp' undefined; assuming
extern returning int
   Creating library blib\arch\auto\HTML\Strip\Strip.lib and object blib
strip_html.obj : error LNK2019: unresolved external symbol _strcasecmp
referenced in function _check_end
blib\arch\auto\HTML\Strip\Strip.dll : fatal error LNK1120: 1
unresolved external
NMAKE : fatal error U1077: 'link' : return code '0x460'

Also which version of perl do you have ? (Best if you can give us the
entire output of running 'perl -V'.)


Re: module installation through VC++

Quoted text here. Click to load it

You need to build modules with the same compiler that your perl was
built with. There are combinations of compilers that will work together,
but this is unsupported; in particular, mixing versions of MSVC is a
very bad idea since they usually link to different versions of the CRT.
(Why MS don't understand that the CRT is part of the OS, not the
application, is beyond me, but there we go.)

If you are using the 32-bit version of ActivePerl, it's built with VC6,
which is now (I believe) unavailable. It is apparently possible to
install gcc and use that instead, but I've never tried it: IIRC you
start by installing the 'MinGW' ppm. If you are using the 64-bit
version, then I'm not sure which compiler it uses, but it's not VC6
(since that didn't do 64-bit). Poking through the output of perl -V (or
possibly perldoc -m should tell you.

If possible, I would strongly recommed installing Strawberry Perl, which
comes with the compiler used to build it.

Quoted text here. Click to load it

Did you get any other error before this, or a popup box? I would have
expected the dynamic linker to throw some sort of error if the dlopen


Site Timeline