artefaktur
software engineer &        architecture

 
 
 
 

Compile acdk_perl


Instruction how to compile and run acdk_perl.


Content of this chapter:

   Download and compile Perl
   Configure ACDK
   Compile acdk_perl
   Running executables using acdk_perl
   Compatibility Notes
     acdkperl



 Download and compile Perl

To compile and rund acdkperl you need the Perl 5.6/5.8 package from ActiveState or from www.perl.org:
http Download.


In your Project you need to add following libraries:
Include path: [your perl-5.6 location>\lib\CORE.

Windows:
Library [your perl-5.6 location>\lib\CORE\perl56.lib.

Windows:
Finally you have to copy perl56.dll in the ACDK executable path.

 Configure ACDK

After installing Perl you probably have to ajust some configuration in acdk:
  • Unix: If the perl executable is in the path, normally no ajustment has to be made to compile acdk_perl.
  • Windows: open the acdkenv.cmd ACDK root directory and ajust the ACDK_PERL_* values.
    You have to execute this batch file before you compile the project in a cmd windows. If you use an IDE (like Visual Studio) use some of the start scripts in the ACDK root directory (like startvstudio6.cmd).
    Alternately you can also add these environment variables into your global environment.

 Compile acdk_perl

If the environment variables are set correctly acdk_perl can be compiled.

 Running executables using acdk_perl

To run an executble using acdk_perl you may have set environment variables (PATH on Windows and LD_LIBRARY_PATH) to point to ACDK bin directory and the directory of the shared libraries of Perl.

On windows you can use the acdkenv.cmd for this purpose.
On Unix os (Linux, bsd, solaris) you may 'source' the acdkenv.[platform] before executing the application.

 Compatibility Notes

!

On unix version of the original perl 5.6 and 5.8 the XS wrapper of the acdk::AUTOLOAD doesn't work like it is documented.
It seems to be a bug of Perl.
To solve the problem, not the acdk package should be used, but the pacdk perl package, which is is wrapper pm script in cfg/acdk/perl/pacdk.pm.

 acdkperl

To compile the sample interpreter acdkperl, you have to adjust the include path:
Include path: [your perl-5.6 location>\lib\CORE.
In your project settings.



For more information please refer to:
 acdkperl Manual.


 
Last modified 2005-05-08 22:31 by SYSTEM By Artefaktur, Ing. Bureau Kommer