User Tools

Site Tools


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.

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)

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-

See installing software for installation.

osrf-devel/notes_on_compiling_c_c_code.txt · Last modified: 2005/08/15 09:11 (external edit)

© 2008-2017 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a member of Software Freedom Conservancy.