I've bundled a binary executable inside my TclApp application. My script can see it, but the OS claims it isn't there when I try to run it. How do I fix it?
When a TclApp application is created, it creates a virtual filesystem using the Tcl vfs module and puts what it needs in that virtual filesystem. While your application can see inside the VFS, the operating system can't -- hence the error.
The best solution is to extract the executable to a location in the regular filesystem and run it from there. The operating system will be able to see it, and it will work as expected.
How can I include POD in scripts and modules compiled by PerlApp?
When PerlApp compiles your code, it strips out all pod from script or module files. If you need to use pod2text, you can work around this by:
Here's how you create perl scripts that will work both as a script and an executable (working with bound files):
# this is the file we want to access in our code my $file = "/path/to/this.file"; # test if we are running as a script or executable $file = PerlApp::extract_bound_file($file) if defined $PerlApp::VERSION;
You would then build the PerlApp executable using the --bind option:
perlapp myscript.pl --bind this.file[file=/path/to/this.file]
See also:
http://aspn.activestate.com/ASPN/docs/PDK/6.0/PerlApp.html#perlapp_options
Will people be able to decompile the executables I've made with PerlApp?
PerlApp does provide some level of code obfuscation. Decompiling executables is not trivial, but it is possible.
Critical copyrighted data and algorithms should not be included in Perl code within a PerlApp. If you are concerned about keeping important parts of your code secret, you may want to consider some workarounds such as:
I'm getting the error "Perl lib version () doesn't match
executable version ()". What's wrong?
If you recieve an error that looks like the following:
"Perl lib version (v5.8.3) doesn't match executable version (v5.8.4) at /PerlApp/Config.pm line 32. BEGIN failed--compilation aborted at perlapp.pl line 859."
It's possible that you've installed a recent version of the PDK without first uninstalling the older version. This is not recommended.
To correct the problem:
Where can I get my permanent license installation key?
To download your purchased software:
Sign in to your account. If you've forgotten your password, follow the instructions on the page.
Once you have signed in:
Go to My Account > Downloads.
Select your software.
Select your platform and click the link to download.
Consult the Installation Guide on the My Account > Downloads page for instructions.
Can I become an ActiveState Reseller?
ActiveState regularly evaluates partnerships that will allow us to reach new
markets, in conjunction with established technology companies. We are
currently partnered with leading resellers both in North America and
internationally.
If you are interested in becoming an authorized ActiveState reseller, please
contact sales@activestate.com.
How do I re-assign or transfer my license to another user?
Licenses are assigned to individuals for their personal use only, on any system they operate. Use of the software by another individual requires the purchase of an additional license.
If you wish to permanently transfer ownership of the license or if you have purchased on behalf of someone else and would like to re-assign this license to another user:
-Sign in to your account. If you've forgotten your password, follow the instructions on the page.
-Go to My Account > License Management.
-Locate the license you want to transfer and click "Re-assign"
-Enter the name and email address of the new user and click "Submit".
-Software and license download instructions will be emailed to the address you provide.
What is ActiveState's banking information?
What if I need to make a payment by wire transfer?
New Wire Transfer info:
Bank: HSBC Canada
885 West Georgia Street
Vancouver, BC V6C 3G1
Bank Phone: 1-888-310-HSBC
Account Number: 030662070
Transit: 10270
Institution #: 016
Swift code: HKBC CATT
ABA routing #: 021-001-088
What is the company name, contact information and information needed for purchase orders and payments.
“ActiveState Tool Corp.†has changed its name. Our new legal name is now
“ActiveState Software Inc.â€
Please also note the changes to our contact and mailing information.
To ensure that we receive all orders and your payments in a timely manner, we ask that you update your files with the following information:
New Legal Name: ActiveState Software Inc.
New Address: #1700 – 409 Granville Street
Vancouver, BC
Canada V6C 1T2
New Main Telephone#: (778) 786-1100
New Fax#: (778) 786-1133
Email: Sales@ActiveState.com
Where can I find ActivePerl for HP-UX?
You can get ActivePerl for HP-UX directly from HP:
https://payment.ecommerce.hp.com/portal/swdepot/try.do?productNumber=PERL