Problems installing cpan module PAR-PACKER

Posted by dfb914 on 2007-09-07 12:36

I am using ActiveState Perl 5.8.8 build 819 and I am trying to install the module PAR-Packer-0.976. It isn't available through PPM.

I searched for ways to install cpan modules in ActiveState Perl and found different suggestions. I installed dfferent compilers and make's to try to build and install the module.

I have installed
dmake
gcc
minGW
as well as the free versions of the VC compilers

I have had various errors and problems.

1. the file separator was set as ^\ and i had to change it to \\
2. NOOP = rem I had to change to NOOP =
3. changing directories wouldn't work (e.g. cd myldr or cd ..). The ls command would work so I knew I was in the correct directory. I used a perl command line to change the cwd and then a system call to do the individual makes)
4. I also changed the config.mk (and local.mk) in dmake's startup folder to set the OS = winnt, osrelease to mingw (I didn't set osenvironment since other examples didn't have it set).

I get an error "the procedure engry point_security_error_handler could not be located in the dynamic link library MSVCR80.dll. I did read that it shouldn't be used but I don't know how to have it not use that library. the last command executed is
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STR
ICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" "-IC:\Perl\lib\CORE" Win32.c
dmake: Error code 133, while making 'Win32.obj'

thanks
dave

grahams
ActiveState Staff
Fri, 2007-09-14 13:34

In order to use CPAN with PPM you need MicroSoft's nmake:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084

The C compiler / environment should ideally be Visual C/C++ 6.0.