ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
I am really confused how perlapp works
by Waldemar Biernacki other posts by this author
Jul 3 2009 2:28PM messages near this date
RE: Taint mode in compiled program? | RE: I am really confused how perlapp works
I want to make exe program from the enclosed script (Prima library). It works perfect as a s
cript but if I wanted to compile it with the perlapp then I got an error. The script and the
 perlapp answer are enclosed.

I was searching in Internet and found nothing what could help me. It is extremely frustratin
g that perlapp get me so little information and I cannot manage with the - in fact - simple 
library dependences. I was trying to add dll, modules, dependance and nothing help.

Please help me!

Waldemar

PS. This message: "Nie mo�na odnale�� okre�lonego modu�u" means: "cannot found THE
 module". Is that Prima.dll? Of course it is where it read...

W.


=================================
#!/usr/bin/perl -w

use strict;
use warnings;
use Prima qw(Application Buttons);

new Prima::MainWindow(
	text     =>  'Hello world!',
	size     =>  [ 200, 200],
)->  insert( Button =>
	centered =>  1,
	text     =>  'Hello world!',
	onClick  =>  sub { $::application-> close },
);

run Prima;

__END__

============================================================================

perlapp --exe amba.exe amba.pl

============================================================================

PerlApp 8.0.1 build 289861 (perl 5.10.0)
Copyright (C) 1998-2009 ActiveState Software Inc. All rights reserved.
Standard license ...

Can't load 'C:/Perl/site/lib/auto/Prima/Prima.dll' for module Prima: load_file:Nie mo�na o
dnale�� okre�lonego modu�u at /<C:\Program Files\ActiveState Perl Dev Kit 8.0.1\bin\
lib\pdkcheck.exe> DynaLoader.pm line 217.
 at test1.pl line 8
Compilation failed in require at test1.pl line 8.
BEGIN failed--compilation aborted at test1.pl line 8.
'test1.pl' had compilation errors.

[DONE]
Thread:
Waldemar Biernacki
Jan Dubois

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved