ActiveState Community

All / Any

Wrapping executables in a TclApp application

OS: All / Any | Product: Tcl Dev Kit | tags: binary bundle executable tclapp wrap
Question: 

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?

Answer: 

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.

Including POD in PerlApp executables

OS: All / Any | Product: Perl Dev Kit | tags: perlapp POD
Question: 

How can I include POD in scripts and modules compiled by PerlApp?

Answer: 

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:

  • including the pod data in a separate .pod file
  • including this .pod file in your build using the --bind option.

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

Code obfuscation

OS: All / Any | Product: Perl Dev Kit | tags: executable obfuscation perlapp
Question: 

Will people be able to decompile the executables I've made with PerlApp?

Answer: 

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:

  • using strong encryption for critical data
  • implementing critical algorithms as XS modules that can be used by your Perl code.

Upgrade error - version mismatch.

OS: All / Any | Product: Perl Dev Kit | tags: lib upgrade version
Question: 

I'm getting the error "Perl lib version () doesn't match
executable version ()". What's wrong?

Answer: 

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:

  • Uninstall all versions of the PDK
  • Ensure the PDK installation directory has been removed. If necessary, delete it manually
  • reinstall the latest version of the PDK

License installation key - Where do I get it?

Question: 

Where can I get my permanent license installation key?

Answer: 

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.

ActiveState's Reseller Program

OS: All / Any | Product: Licensing | tags: resell Reseller sell ActiveState
Question: 

Can I become an ActiveState Reseller?

Answer: 

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.

Re-Assigning license to another user

Question: 

How do I re-assign or transfer my license to another user?

Answer: 

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.

Banking / Wire Transfer Information

OS: All / Any | Product: Licensing | tags: Bank orders payment transfer wire wire transfer
Question: 

What is ActiveState's banking information?
What if I need to make a payment by wire transfer?

Answer: 

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

Company Name & Contact Information Change

Question: 

What is the company name, contact information and information needed for purchase orders and payments.

Answer: 

“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

ActivePerl for HP-UX

OS: All / Any HP-UX | Product: ActivePerl | tags: HP-UX
Question: 

Where can I find ActivePerl for HP-UX?

Answer: 

You can get ActivePerl for HP-UX directly from HP:

https://payment.ecommerce.hp.com/portal/swdepot/try.do?productNumber=PERL