Windows 7

Problem building exe files with perlapp

Hi all,
I'm watching very often the following error during execution of perlapp:

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

When I start the same command a second time it is working in most cases.
After the error the resulting exe has the icon of perlapp and a start of the exe file results in a message that pdklib.dll is missing.


I am porting a Perl script to Windows 7. All works well except for
my $socket = Gtk2::Socket->new();
error message...
Can't locate object method "new" via package "Gtk2::Socket" ....

I am using the ppm package Gtk2 1.222. I can't seem to find anything about this on the web.

I want to attach the output window of Gnuplot to a VBox widget. Under Linux and on the MAC OS I can use

my $xxid = socket->get_id;

and pass it to Gnuplot as a hexadecimal string so that it exports its display to the Gtk2 VBox panel in my program.


'ppm repo sync' fails silently.

Hi all,

I'm trying to sync ppm with ActiveState repository on a fresh install of ActivePerl.

> ppm repo sync
Downloading ActiveState Package Repository packlist...done

> ppm log
2011-02-12T02:05:04 <6> [ppm:81] ppm repo sync
2011-02-12T02:05:04 <4> [] Setting up schema for C:\Users\Bahman\Ap
2011-02-12T02:05:43 <6> [] GET
/5.12/1203/package.xml ==> 200 OK (1225868 bytes in 38 sec - 32 KB/s)

Communicating with a modem

I am a newbie with Perl, running ActivePerl 5.12.2.

I want to communicate with a modem on COM3 and have written:

open (PORT,"+>COM3" ) or die "can't open COM3: $!";
print PORT "AT+CGMI\r";
$count = read(PORT, $buf, 83);

print STDOUT $buf;

close (PORT);

It just hangs and if I ^C out get:

Terminating on signal SIGINT(2)

I can access the modem without problem with ptty.

Can anyone help?

lsearch -index fails on windows 7 NOT

My error. The failing tcl/tk is the cgywin version. I did not realize that this was there and that the PATH was picking it first.

Please ignore this...

The lsearch command fails with an illegal option -index on my windows 7 system. This same command works correctly on windows XP. Versions I have tried: (on windows 7 and XP) -32 bit (windows 7 only) -64 bit (windows 7 only)

I used the same download of on both the XP and the windows 7 machine with the XP working and the windows 7 failing.

Install was as admin.

Any help here?

How to compile a program which uses %INC

I created and compiled the following test script with PerlApp. It extracts the directory pathname of the "Win32/" module file and opens the file under the same directory. The script works fine, but its executable fails with "Invalid argument" error because the module file can not be found.

How can I use PerlApp to compile a program which uses the %INC hash to access other module files? Did I do anything wrong? Do I need any options for PerlApp to make the executable work correctly?

use strict;
use Win32::Event;

HEX to ASCII conversion error

I am currently using the pack() function to convert from hex to ascii. I have found that the pack conversion does not work properly for values of hex from 0-F, but works great for values of hex from 10-FF.

Essentially when I try to convert from 0x01 to ascii, it gives me the character conversion for 0x10.

hex Actually converts
01 10
02 10
03 10
. .
. .
A A0
B B0
C C0
D D0

Please see the simple code example bellow. It will print the hex value and the converted ascii value to your terminal window so you can see for yourself.

Missing dependent -- winapiex.dll

Does anyone have an idea where I might find this missing library. I am using (begrudgingly and without option) Tcl 8.1 to load a dll that will open and retrieve data from MS Access. Dependency Walker shows it as a missing dependent library.

Many Thanks!!

SSL issue in 2.5.5

I have installed (because Google AppEngine requires that version of Python) on a Windows 7 machine. During code upload using, I get the following warning:

WARNING ssl module not found.
Without the ssl module, the identity of the remote host cannot be verified, and
connections may NOT be secure. To fix this, please install the ssl module from .

However ActivePython release notes says ssl support exists in this version.
What could be the problem?

Error in generation

I filed to fix generation. Can someone comment about it?