User Tools

Site Tools


osrf-devel:notes_on_compiling_c_c_code

User Comments

There are a number of OpenSRF services written in C (currently no c++) that require compilation on install. Some of these services are required for various parts of OpenSRF to function. If necessary, a simple OpenSRF install may be performed without compiling any of the C code described below.

These packages include:
  1. gateway (mod_ils_gateway) : An Apache module which proxies OpenSRF requests allowing web access to OpenSRF applications. Note that Apache may be bypassed in favor of a direct Jabber login if required.
  2. jserver (Chop Chop, Jabber) : Custom OpenSRF Jabber server. This may be replaced by jabberd2 (and probably jabberd1). Any other Jabber server might work, however there is the potential that OpenSRF is relying on some jabberd2 specific message formats (e.g. error messages).
  3. objson, libstack, libtransport : These are supporting code libraries. objson is our json parser. libstack and libtransport are the core communication libraries
  4. router : router is a Jabber router/load balancer. It allows OpenSRF to spread requests out to multiple instances of a single application, accross different Jabber domains. router is required only if running OpenSRF in a mult-domain configuration and/or a configuration that supports multiple instances of a single application.
  5. srfsh : srfsh is a shell style command line tool used mainly for debugging and inspecting OpenSRF application.
Prerequisites

All prerequisites require header files (-devel) to be installed. Some Linux distributions will have many or most of these libraries pre-installed. Listed are the Gentoo package names.

  1. libxml2
  2. libxslt
  3. readline (for srfsh)
  4. Apache 2 (for building the apache gateway module)
Compiling

So far, all code has been built and tested primarily on Gentoo Linux (Intel and AMD 64). gcc -v: gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)

See installing software for installation.

osrf-devel/notes_on_compiling_c_c_code.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.