PDK Support

Installation Problems and FAQs for Perl Dev Kit

pdkchk error


I experience problems when I try to convert perl project scripts into standalone exe programs using Komodo IDE 8.5.4 and Perl Dev Kit 6.0 on Windows 7.

This problem occurs for any of projects that I try to convert to exe.

All these projects never report any errors while running as interpreter, but after I activate Tools - Perl Dev Kit - PerlApp in Komodo, the PerlApp starts and after I press the MAKE EXECUTABLE button it reports several errors:

Use of uninitialized value in concatenation (.) or string at c:/Perl/lib/warnings.pm line 390.

Can't run a compiled Tk Mac OS X application


I made executable with ActivePerl 1604 and Perl Dev Kit 9.

But it won't run on some OS X systems. I got the following error message:

Can't load 'auto/Tk/Tk.bundle' for module Tk: dlopen(auto/Tk/Tk.bundle, 1): image not found at /</Users/K/Desktop/hoge/hoge_exe>DynaLoader.pm line 223, <DATA> line 855.
 at perlapp line 827.
BEGIN failed--compilation aborted at hoge_exe.pl line 105, <DATA> line 855.
MacBook-Air:hoge K$

It runs fine on some systems, but I get the above error on some systems.

Any ideas?

Can't cross compile

In response to solution suggestion for my post, AIX generated executables don't run submitted on 2014-11-24 12:13 to Forums: PDK Support | OS: AIX

On my windows box that still had a 9.2 PDK and AP v5.12 I attempted to cross compile a but get a connect timeout message. I assume this is due to failed attempt to download other system binary to bundle with.

Should be something simple I am now overlooking, since I've been able to cross-compile Linux in the past. albeit using the latest PDK, not an older version.

PerlApp error: Perl lib version (5.18.2) doesn't match executable ... version (v.5.20.1) at ... Config.pm line 62

I've tried uninstalling and reinstalling the Perl Dev Kit.

My Module Search Path looks right ...

It looks to me like PerlApp is picking up the OS X 10.9 version instead of the installed ActiveState version. I did have an older version of PerlApp but I think I have uninstalled it ok.


Error creating linux-x86-64 executable using PDK


I'm running the PDK version 9.4.0 build 298593 on a Mac OS X system running Mavericks.

I'm trying to cross-compile for linux-x86-64.

I try to build my application with this command line:

perlapp --target=linux-x86-64 --norunlib --force --bind Hal.zip[file=Hal.zip,extract,mode=666] --bind HwDiag.zip[file=HwDiag.zip,extract,mode=666] --bind 'Matlab Simulator.zip'[file='Matlab Simulator.zip',extract,mode=666] --exe linux64-install-vantage-2.9-release ../install-vantage-2.9-release.pl

When this command ran, it generated the following output:

installing PDK 9.3 with perl 5.16.3

I just purchased PDK 9.3.0 and I want to install it on all my systems
where I have just compiled 5.16.3 from source.

When I run the installer (e.g. for solaris-x86) and provide my perl
it says my perl is "not binary compatible with ActivePerl (x86-solaris-thread-multi)".

AIX generated executables don't run

Attempt to run generated executables on AIX fail to run. Same utilities run as expected on Win32 and Linux.

Result: Panic: ....libperl.o is not an ActiveSate 5.16 library

Assumed this was related to the common linux issue where TMPDIR is noexec; Since I have no access to effect a change on the AIX system if this is the case, I bundled the exe with an alternate TMPDIR which does allow execution; but the result was the same.

Not sure where to look next...

None of my Perl Dev Kit 9.3 apps will run, "not recognized as a PDK tool" and "perl510.dll is missing" errors

I've been unsuccessful in getting my Perl Dev Kit 9.3 build 297998 running properly. Initially upon installation it would not run because the version of Perl I had installed earlier was version 5.10 (incompatible).

I uninstalled Perl 5.10 and installed 5.18.2 build 1802. I repaired the installation of the Perl Dev Kit and again attempted to run PerlApp. Now it reported that "C:\Program Files (x86)\ActiveState Perl Dev Kit 9.3\bin\perlapp.exe is not recognized as a PDK tool."

libperl.dylib of Perl 5.18.2 incompatible with PDK 9.3.0

PerlApp 9.3.0 build 298063

libperl.dylib at '/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/libperl.dylib' is not compatible with the PDK.

OS X 10.10 Yosemite

Any suggestions?

pdk version 9 with perl 5.16

I purchased pdk version 9 a couple years ago and it ran OK with perl 5.12. Recently I installed perl 5.16 and I'm getting "The program can't start because perl512.dll is missing..." Will it work if I put perl512.dll in my Windows 7 path?