BatchKi Reference Manual
next up previous contents index home

Subsections


System Requirements

BatchKi is a HTTP (web) server-based software system, requiring Perl CGI scripting. Therefore, there are two major system requirements for installing and operating BatchKi:

  1. A HTTP server such as Apache (apache.org).
  2. An integrated Perl interpreter (perl.com).

BatchKi is distributed with a binary numerical engine pre-compiled for several major operating systems, or, alternately, as an ``obfuscated'' source code package to be used on additional platform. In such case, the gcc C/C++ compiler (version 3.1 or higher) is required for compilation.


Microsoft Windows

The standard supported configuration of BatchKi on Microsoft Windows is as follows:

  • Microsoft Windows 2000 Professional Workstation, Service Pack 4
  • Apache HTTP server pre-built for MS Windows, ver. 2.x or higher (available from apache.org)
  • Perl pre-built for 32-bit Windows, ver. 5.8.x or higher (available from activestate.com)

It is likely that other configurations of BatchKi could be customized to run under the Microsoft Windows Server instead Workstation. The Perl interpreter must always be present and be accessible in the Common Gateway Interface (CGI).


Linux and Unix-like systems

The standard supported configuration of a binary distribution of BatchKi for a typical Linux system is as follows:

  • An 32-bit Intel i386-compatible microprocessor (e.g., Pentium IV or higher)
  • A standard Linux/Intel distribution2.1
  • Apache HTTP server for Linux / Unix, ver. 2.x or higher (available from apache.org)
  • Perl interpreter pre-built for Linux on Intel, ver. 5.8.x or higher (a standard component of Linux)

We do recommend always upgrading the Apache HTTP server to the most recent available version (e.g., 2.2.0 as of this writing), replacing an older version of bundled with the particular distribution of Linux (e.g., Apache HTTP 1.0.39 distributed with Red Hat Linux 9, or with Macintosh OS X 10.2.x).


Other operating systems

BatchKi can be configured to run on other operating systems including, for example, Macintosh OS X (Darwin). At the present time these additional configurations are not fully supported.

To compile BatchKi for Macintosh OS X (Darwin), it is necessary to modify slightly the distributed Makefile. In particular, static linking is not normally supported on gcc for Darwin. Listed below is a portion of the standard BatchKi Makefile for gcc:

target  = batchki
src     = src
obj     = obj
out     = .

cpp     = g++
cc      = gcc
cflags  = -c -O2 -Wno-deprecated -I$(src)
lflags  = -static

clean :
	rm -f $(obj)/*.obj

all : $(out)/$(target).exe

objects = \
	$(obj)/a0.obj\
	$(obj)/a1.obj\
...
...

$(obj)/a9.obj: $(src)/a9.cpp
	$(cpp) $(cflags) -o $(obj)/a9.obj $(src)/a9.cpp

$(out)/$(target).exe : $(objects) $(libs)
	$(cpp) $(lflags) -o $(out)/$(target).exe $(objects)

To compile BatchKi for the Macintosh OS X (Darwin), delete the text -static on the line beginning with lflags. BatchKi for Macintosh OS X was tested on version 10.2 of the operating system (Darwin).


next up previous contents index home
biokin.com/batchki/manual/reference/html/node7.html
Petr Kuzmic | Jul 12 2008