PDK Support

Installation Problems and FAQs for Perl Dev Kit

Complied module works on WinXP, but not on Win7

I upgraded to Perl 5.14.2 and PerlNET 9.1.1 to gain Win7 compatability for my type wrapper. I eventually got it working again for all WinXP machines (complied on XP), but when it's taken to a Win7 machine the type initializer fails. Any reason this might be? Win7 was the whole point of the upgrade...


AVG anti virus reporting finding trojan in my Active Perl Development Kit

AVG reported that it has found the SHeur4.AFHI "trojan" within the files associated with my Active State Perl Development Kit 9.1.1 Build 295479. When I allowed AVG to "remove the threat" it apparantly deleted the executable files for the Perl Development Kit rendering the program menu shortcuts invalid.
I'm thinking that perhaps the compiler nature of the Perl Development Kit is triggering the "trojan" alert. I'm hepeful that someone at Active State can confirm this as a "false positive."

Upgrade to PerlNET 9.1.1 broke my wrapper

I upgraded to Perl 5.14.2 and PerlNET 9.1.1 to gain Win7 compatability for my type wrapper. I got all of my Perl types to complie just fine, and 'dmake test' for the type (PDL::DataArray) works with no errors. However, when I package my type into a DLL (PDL.DataNet) I can't get it to work at all. I just get "Can't locate type PDL.DataNET=HASH(0x544279c)" errors in visual studio.

I do get a warning when I make the target that seems relavant:
warn: auto\PDL\DataArray\DataArray.dll not found
refby: DataArrayWrapper.pm line 7

Fail to run compiled code with PerlApp


I was compiling code with PerlApp (code that runs fine as .pl).
However, on the compiled code, I get the following error:

Could not find a suitable Params::Validate implementation: Can't locate Params/Validate/XS.pm in @INC (@INC contains:) at /<C:\Workarea\DoNeR\DoNeR.exe>Module/Runtime.pm line 317.
Can't locate Params/Validate/PP.pm in @INC (@INC contains:) at /<C:\Workarea\DoNeR\DoNeR.exe>Module/Runtime.pm line 317.
 at /<C:\Workarea\DoNeR\DoNeR.exe>Params/Validate.pm line 66

Cannot load perlapp on AIX 5.2 box: Symbols __pth_init, __pthread are not exported from /usr/lib/libpthreads.a(shr_xpg5.o)

Hello folks,

I cannot run perlapp on our AIX 5.2 servers due to the follow errors:
>PDK-9.1.1/bin/perlapp --version
exec(): 0509-036 Cannot load program /usr/software/rats/PDKs/PDK-9.1.1/bin/perlapp because of the following errors:
0509-130 Symbol resolution failed for perlapp because:
0509-136 Symbol __pth_init (number 80) is not exported from
dependent module /usr/lib/libpthreads.a(shr_xpg5.o).
0509-136 Symbol __pthread (number 81) is not exported from
dependent module /usr/lib/libpthreads.a(shr_xpg5.o).

perlapp problem with pdklib.dll

Using PDK 9.1.1, I am attempting to create a new executable with perlapp:

C:\"Program Files"\"ActiveState Perl Dev Kit 9.1.1"\bin\perlapp -exe my_getruns.exe --
perl C:\perl\bin -force -info CompanyName="My Corporation"; my_getruns.pl

It's failing with this DLL error:

The path 'C:\Perl510\bin' is not valid at /PDK/Util.pm line 186

Possibly my version of perl is out of date? I am using perl 5.10:

This is perl, v5.10.0 built for MSWin32-x86-multi-thread

Any help is greatly appreciated. Thank you.

Crypt::Rijndael module with PerlApp on Darwin mismatch


I am trying to build a binary in Darwin environment with perlapp.

I am using

  • PDK-
  • ActivePerl-

my OS is

Darwin d49a20fd67b8.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64

PerlApp 9.1.1 fails with missing modules how to fix?

Compiling our app with PDK updated to 9.1.1 so we can have LWP::UserAgent v6 (SSL verification) perlapp now errors with:-

PerlApp 9.1.1 build 295479
Copyright (C) 1998-2011 ActiveState Software Inc. All rights reserved.
Commercial license for XXXX

error: Can't locate Date/Format.pm
refby: testapp.pl line 9
error: Can't locate I18N/Langinfo.pm
refby: .../1205/windows-x86-32/lib/Encode/Locale.pm line 51
error: Can't locate JSON/PP58.pm
refby: .../1205/windows-x86-32/lib/JSON/PP.pm

Can't reopen 'program.exe' for write: Permission denied

When I compile any program with Perlapp, it works fine. But the second program I compile (and all others from then on) give me an error (listed below). This persists until I reboot my computer. At that point I can compile one program again before I have to reboot.

I don't like having to restart Windows every time I want to compile. Does anyone have any idea why it's doing this? Some DLL I need to unload maybe?

Can't reopen 'program.exe' for write: Permission denied at /Win32/PE.pm line 413.

64bit perl -> compile with PerSvc to run on 32 bit OS?

Is it possible to have 64 bit Perl installed on my develop computer and use PerlSvc to compile an executable capable to running on a 32bit OS? If so, how?