Differences
This shows you the differences between two versions of the page.
diana:batch_diana_on_headless_systems [2014-03-28 13:40:15] davidb [Building Qt] |
diana:batch_diana_on_headless_systems [2022-05-31 09:29:31] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Batch Diana on Headless Systems ====== | ||
- | Normally, Diana is configured to run on systems with an X server, using OpenGL for accelerated rendering of maps and data. When running Diana in batch mode with the '' | ||
- | |||
- | On servers, where it is not desirable to run an X server, we cannot use the '' | ||
- | |||
- | - It uses a custom build of the Qt libraries that do not depend on X libraries. | ||
- | - It provides a wrapper that redirects OpenGL calls to Qt, rendering products entirely in software. Only the subset of OpenGL functions that Diana uses are wrapped. | ||
- | |||
- | ===== Building Qt ===== | ||
- | |||
- | We build an alternative set of Qt libraries using the standard Qt 4.8.1 sources, applying some patches and using an " | ||
- | |||
- | The patches we use are part of the Debian packaging we use to build packages for Ubuntu 12.04. These can be obtained from a git repository: | ||
- | |||
- | < | ||
- | git clone https:// | ||
- | </ | ||
- | |||
- | The standard Debian package building process involves applying the patches found in the '' | ||
- | |||
- | If you are patching the files by hand then you should enter the sources directory and run a command of the following form on each of the patches in ascending numerical order; for example: | ||
- | |||
- | < | ||
- | patch -p1 < ../ | ||
- | patch -p1 < ../ | ||
- | patch -p1 < ../ | ||
- | patch -p1 < ../ | ||
- | patch -p1 < ../ | ||
- | </ | ||
- | ===== Configuring Diana ===== | ||
- | |||
- | **//Note: This is a work in progress. More details to be added.//** |