PDK discussion

Perl Dev Kit usage questions; Perl Dev Kit practices and project questions

Windows service created by perlsvc not starting

I have created an EXE using Pel dev kit 9.1.1(Trial version)and trying to create and start windows service the below command :

C:\New Folder> mysevice--install auto

myservice installed as Server Database Processing Agent.
Starting Server Database Processing Agent...
Server Database Processing Agent failed to start.

Below is the description from Event Log :

Missing modules during cross-compile

Hi all,

I'm having trouble cross-compiling my Perl script from Windows 7 (64bit) to Windows 32, Linux 32/64 due to missing modules. It works great on a native compile.

I noticed that Perl modules exist in "C:\Perl64\lib" and "site\lib", but not under the AppData locations. My guess is that the libs under AppData are some sort of cache.. but maybe this is where I am going wrong.

Below are the types of errors I get when I attempt to cross-compile; this case for Linux 64:

Mail\Field.pm:
error: Can't locate Mail\Field.pm

DATA section read problem for modules loaded from dll

... and also Windows x64 to x86 compilation startup warnings.

When compiling a Windows 32 bit application, perlapp (version 9.3.0 build 297998) emits a warning message (I hope it is innocuous for perlapp). The message says it is unable to read the __DATA__ section of the Win32::API::Type module.

I've found that this issue happens because the module is found in a dll (pdklib.dll) rather than in the executable itself.

The warning message is:

Windows service created by perlsvc not starting

I have created an EXE using Pel dev kit 9.1.1(Trial version)and trying to create and start windows service the below command :

C:\New Folder> mysevice--install auto

myservice installed as Server Database Processing Agent.
Starting Server Database Processing Agent...
Server Database Processing Agent failed to start.

Below is the description from Event Log :

Error messages when compiling on W64 targeting W32 (and also when running the exe)

Hello,

I'm currently using Perl 5.16.3 and PerlApp 9.3.0 build 297998, both x64, on a Windows 7 computer. I've just set up the cross compiling process for a set of scripts that must still be built as Windows x86 executable (32bits).

Although the compiling process throws a warning message, the resulting scripts did run without warnings until I've decided to build a dll for the common libs. After the libs have been moved to the dll, the scripts warns the same "unopened filehandle DATA at Win32/API/Type.pm" that perlapp throws when compiling.

The message is:

Can perlApp wrap ppm libries ?

This is a perlApp usage question.

Is it possible to use perlApp to compile one perl application in two exe. One includes all the PPM libraries and the other include the developed-codes? In another words, is it possible to use perlApp to wrap the existing perl-library and make the libraries available to perl?

thanks,

-Y

Gui-Application & System

Hello everybody,

in my gui application (tkx, use 5.014;) I use the command:

system("$textApp $dateiname");

PerlApp generated EXE can't load packaged even the package is added (-add)

Evaluating the PDK (I will definitely buy it if it works for me)

1. Generate a perl script (e.pl) with the following 2 lines

require Date::Manip;
require Date::Manip::DM6;

2. perlapp e.pl --add Date::Manip --add Date::Manip::DM6

3. e.exe generate the following errors:
c:\_test>e.exe
ERROR LOADING MODULE: Date::Manip::DM6 at /Date/Manip.pm line 35.

Please help. I am waiting online.

Finding the The Exe created using perlapp is trial or not

Hello,

I have created an exe for a perl script by using Perlapp 9.1.0 build 295042. Is there any method to find whether this Exe is trial or not?

Also is there any method to identify the date of expairy of this Exe.

Can't Locate ExcUtils/MM_Win32.pm when ParlApp executable has use Archive::Extract

I've created a Perl script which has a use Archive::Extract statement which runs fine with no runtime compile errors. Creating an executable for Windows 64 bit with PDK 9.3 and ActivePerl 5.18 throws these errors but does create the exe for testing.
.\Makefile.PL:
error: Can't locate .\Makefile.PL
refby: C:\Perl64\site\lib\ExtUtils\MakeMaker.pm line 234
Win32\Locale.pm:
error: Can't locate Win32\Locale.pm
refby: C:\Perl64\lib\Locale\Maketext.pm

When running the executable I get this runtime compilation error