Scope
The libsosperlscript.so will no longer be included in the setup.
- This documentation should describe how the library libsosperlscript.so can be built on UNIX environments.
- This library is required for Perl API jobs.
Prerequisites
- The sources have to be downloaded from the Git repositories. The sources are available from https://github.com/sos-berlin
- Additional tools will be referenced in this documentation if required to compile the sources.
As mentioned above, additional tools have to be downloaded and configured following the below order:
Git
- You can find the Git download and documentation here.
- SOS uses Git 1.7.1. You can download the latest release from here.
Java
- To compile individual JobScheduler releases, different Java versions are required:
- SOS uses the 1.7.0.76 build of the Java JDK to build JobScheduler releases before 1.9.0.
- SOS uses the 1.8.0.31 build of the Java JDK to build JobScheduler release 1.9.0 and above.
- To compile for different target platforms (64-bit or 32-bit systems), the corresponding JDK versions are required:
- To build the engine for a 64-bit system, the corresponding 64-bit version of JDK has to be used for compiling. Analogously for 32-bit compilation.
- The JDK version in use will define the correct C++ compiler properties. For example, if you are using a 64-bit JDK, even using Visual Studio Express (32-bit), a 64-bit JobScheduler version would be compiled.
- To compile the scheduler-engine for the correct target platform:
- check if the system variable
%JAVA_HOME%
is set to the installation path of you JDK installation. - check if
%JAVA_HOME%\bin
is in your%PATH%
global variable.
- check if the system variable
Perl
- Perl 5.10 or above (SOS uses Perl 5.18).
- You can find the downloads here.
- No further configuration is required for Perl.
C++ Compiler
- Set up a development environment for Linux and Windows.
- For Windows it is recomended to use Visual Studio, which brings a C++ compiler. Find the download here.
- For Linux you need the following packages:
- gcc - GNU Compiler, starting with version 4.1.3
- zlib-devel
- binutils (version corresponding to gcc)
- SOS uses Visual Studio Express 2010 for Windows platforms
Download from the Source Repositories
Prepare a folder in your file system where you can clone the repositories to.
Repository for the JobScheduler Engine
Execute the following command in your Git Shell:
git clone https://github.com/sos-berlin/scheduler-engine
to download the project "scheduler-engine
".
Compile the Library
Generated libraries location
After the build has completed you find all created .jar files in
- the target folder under each project and subproject.
- the local ./m2 repository in your home folder (
%USERPROFILE%\.m2\repository\com\sos-berlin
or$HOME/.m2/repository/com/sos-berlin
)
At this point you already have all the library files to update an exisiting JobScheduler installation in your system.
You can find the specific libraries for the different platform in the target folder of the engine-setup:
- Windows-x64 in
.\scheduler-engine\engine-setup\target\setup\scheduler.windows-x64\bin
jobscheduler-engine.dll
scheduler.exe
- Windows-x86 in
.\scheduler-engine\engine-setup\target\setup\scheduler.windows-x86\bin
spidermonkey.dll
scheduler.exe
- Linux-x64 in
./scheduler-engine/engine-setup/target/setup/scheduler.linux-x64/bin
scheduler
setuid
./scheduler-engine/engine-setup/target/setup/scheduler.linux-x64/lib
- Linux-x86 in
./scheduler-engine/engine-setup/target/setup/scheduler.linux-x86/bin
javavscript
scheduler
setuid
./scheduler-engine/engine-setup/target/setup/scheduler.linux-x86/lib
Support
Commercial License
If you purchased a Commercial License with the Service Request Support Option, then the build process will be supported by our Support Team should you face problems. The applicable service level is the same as for severity level "minor", see Product Maintenance.
Open Source License
If you use the Open Source License then the build process will be supported by using our Community Resources. A forum for build issues is available at SourceForge, see https://sourceforge.net/p/jobscheduler/discussion/bp/
Troubleshooting
Error: "z_com.h:10:17: error: jni.h: No such file or directory"
Error: "make: *** No rule to make target '.../LINKS/perl/CORE/EXTERN.h', needed by `perl.o'. Stop.