PDK discussion

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

warning while building perl application : warn: Can't locate VMS\Feature.pm

Hi,

I am getting a warning message ( warn: Can't locate VMS\Feature.pm ) while building our application with PDK 9.2.1 BUILD 29643.It's just a warning and allowing applications to be created. I just wanted to know whether this will impact our executables in any way, so that we can decide whether to give it to our customers or not.

I would also appreciate if i know the reason or any step to fix this warning.
Quick reply is appreciated.

thanks,
Sanjeev Gattu

Perlapp - solaris-sparc-64 Business Edition wrap

Doing a perlapp wrap for solaris-sparc-64.

Downloading of solaris-sparc-64 distribution breaks (maybe) halfway through.

ownloading IO-HTML-0.04....done
Downloading IO-Socket-INET6-2.69...done

Downloading IO-Socket-SSL-1.81...done
Downloading IO-Tee-0.64....done
Downloading IPC-Cmd-0.78...not found
404 Not Found at /ActivePerl/PPM/Client.pm line 1166.

perlapp info:

PerlApp 9.2.0 build 296171 (perl 5.10.0)
Copyright (C) 1998-2012 ActiveState Software Inc. All rights reserved.
Commercial license XXXXXXXXXX for XXXXXXXXXX

PerlApp - auto-download dist w/ additional perl module breaking cpan

Hi,

I am using PDK PerlApp 9.2.0 build 296171, perl 5.14.2 (linux-64).

Creating a PerlApp wrapper with --target automatically downloads the perl distribution. I am getting the following (doesn't matter target platform). There is a lot of voodoo here and the documentation doesn't explain the required permissions (if any) in the PDK directory ... which is owned by root... so that may be the problem? Also there is no documentation for the caching itself, where the downloaded perl distributions get stored, etc... would be nice to know.

...snip unpackings...

PDK 9.1.1 perlapp oddities when including module Net::SSH2

Greetings,

Running...
Licensed PerlApp 9.1.1 build 295479
Community ActivePerl 5.14.2 x64
HostOS: osname=MSWin32, osvers=5.2, archname=MSWin32-x64-multi-thread (WIN7 64Bit)

So, I have hunted for a module to put in my app to automate SSH destined for multiple OS targets. My Targets are Win32/64 and linux and the module I chose is Net::SSH2. Sadly, I couldn't find any pre-built Net::SSH2 from the Activestate PPM repository as it reports all attempts to build failed? So I did what "ppm repo suggest" suggested and added another repository :>

How to write Perl program for PerlSvc to create a Windows Service

Is there a document describing the requirements on the Perl program that
will be used as input to the PerlSvc tool?

I have seen the PerlSvc document
http://docs.activestate.com/pdk/9.2/PerlSvc.html
but that is on the PerlSvc tool, not how one should write the program.

I also looked at the demo program PingSvc.pl, which gives me an idea, but I'd prefer more informative documentation.

couldn't create exe by $mw->{main}->Photo(-file => 'File-Adobe-In-Design-01-icon.gif'); using PerlApp version 9.1 build 295042

We couldn't create exe using following code
any problem with Photo command, I used use Tk::Photo; in top header also.

my $icon = $mw->{main}->Photo(-file => 'File-Adobe-In-Design-01-icon.gif');
  #      $mw->{main}->iconimage($icon);

Create exe from encoded script with option

Hi,

I am trying to make a standalone exe from a perl script, using
ActivePerl 5.8.9 Build 827 and
Perl Dev Kit 9.1.1.

The script uses the name of the input file (file to parse) as an option ("perl script inputfile" in cmd).
However, the created exe does nothing, no output is produced as if no input file is specified.

As I understand, PDK should have no problems with options, running exe from cmd in the form of "exe inputfile" should work.

How to create a 32-bit windows executable with perlapp command

Hi,

Can somebody help me in creating 32-bit executable in PDK 64-bit and perl 64-bit installed system. I tried with perlapp --target - windows-x86-32 command, and its trying to connect to PPM site, and atlast i am getting error "http://ppm4.activestate.com/ap_index.txt: 500 Can't connect to ppm4.activestate.com:80 (connect: timeout)Can somebody tell me how to create 32-bit executable without involving PPM site".

Is there any way that we can use some local Perl or PPM to create it? or is there anyway to connect to ppm4.activestate.com:80 without error?

Thanks,
Sanjeev Gattu

pdk complained about some missing modules when perl script uses AnyEvent package and EV package

Dear geeks,

I am trying to package a perl script using pdk. The command failed with the following

JSON/PP58.pm:
	error: Can't locate JSON/PP58.pm
	refby: /opt/ActivePerl-5.14/lib/JSON/PP.pm
lib/AnyEvent/Util/uts46data.pl:
	error: Can't locate lib/AnyEvent/Util/uts46data.pl
	refby: /opt/ActivePerl-5.14/site/lib/AnyEvent/Util.pm line 804,871

But these packages can't be installed:

# /opt/ActivePerl-5.14/bin/ppm install JSON::PP58
ppm install failed: Can't find any package that provides JSON::PP58

Date::Manip Module

I am using PDK to generate exe. When i have included module Date::Manip and then run excutable it gives error :ERROR LOADING MODULE at /Date/Manip.pm line 35, line 166.

I have explicitly included in this module in added modules under files tab but still getting the error . Please help...