Describe how to compile/install acdk_python
To compile and rund acdkperl you need the Python 2.1 (or later) package
- [g]tar zxf Python-2.1.1.tgz
- cd Python-2.1.1
- make install
Optional you may have to specifiy following options to
- --prefix=/artefaktur/extsrc (where to install python)
- use gtar or winzip to extract Python-2.1.1.tgz
- Open the workspace .\Python-2.1.1\PCbuild\pcbuild.dsw
- Compile Debug and Release target.
- You may have to copy the python DLL's somewhere into the
path or expand the path to python DLL's directory.
If you have already installed a runtime version of Python
it may work to this, but there may missing includes/libs.
After compiling Python you probably have to ajust some
configuration in acdk:
- Unix: open
acdk_globals.[your platform] in the ACDK root directory and
ACDK_PYTHON_* values to point
to the correct directories and library names.
- Windows: open the
acdkenv.cmd ACDK root directory and ajust the
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
Alternately you can also add these environment variables into your global
If the environment variables are set correctly acdk_python can be compiled.
To run an executble using acdk_python you may have set
environment variables (
PATH on Windows and
to point to ACDK
bin directory and the directory of the shared libraries
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.