By Date: <-- -->
By Thread: <-- -->

sipX dependencies and their availability on different Linux distributions



We have been working on binary distributions of sipX for different Linux distributions. Ideally we would like to see sipX become included with some of these distributions, which would require all the sipX dependencies to also be available from a standard repository for that distribution. Below a quick list of where we think we are:

 

  1. Fedora Core

 

cgicc:                       Not available for FC3 / FC4 – custom RPM required

sipx-w3c-libwww        w3c-libwww is now available with SSL support in FC4 – we should switch to that

xerces-c                   Not available for FC3 / FC4 – custom RPM required

mod_cplusplus          Not available for FC3 / FC4 – custom RPM required (we used release 1.5.2)

pcre                          Release 5.0 available (sipX works with 5.0 on FC and CentOS)

kingkonf:                   RPM available from ruby forge – not included in distribution

 

  1. CentOS

 

Same as FC

 

  1. SuSE (OpenSuSE 10.0)

 

cgicc:                       Not available for SuSE – custom RPM required

sipx-w3c-libwww        Not available for SuSE – custom RPM required

xerces-c                   Xerces-c-2.6 is available (Xerces-c with a capital “X” – needs to be changed in sipxportlib.spec)

mod_cplusplus          Not available for SuSE – custom RPM required (we use release 1.5.2)

pcre                          Release 6.2 available (not known whether sipX works with that release)

kingkonf:                   Not known whether the FC RPM could work with SuSE

 

It seems that it would be possible to create .spec files as well as a start script for sipX that could work for FC, RHEL, CentOS, and SuSE without modification (http://www.novell.com/coolsolutions/feature/11256.html). SuSE seems to be stricter on FHS compliance (http://track.sipfoundry.org/browse/XPB-472) as well as the style of .spec files and init scripts.

 

  1. Debian Sarge

 

mod_cplusplus           Not available – custom DEB required

kingkonf                     Different mechanism required to integrate into Debian config file management

 

  1. Gentoo

 

cgicc:                       Available

sipx-w3c-libwww        w3c-libwww is available (don’t know whether it supports SSL – probably does)

xerces-c                   Available

mod_cplusplus          Not available – custom build required

pcre                          Available (release 4.5, 5.0, 6.3)

kingkonf:                   Different mechanism required to integrate into Gentoo config file management

 

 

Issue with the Apache Server:

 

On FC the Apache server 2.0.54 is patched to not use the built-in copy of “pcre”. This is part of the distribution. Because of that Apache and sipX use the same version of pcre and it therefore works.

 

On SuSE and Gentoo Apache uses its built-in version of “pcre”. On Suse 10.0 (apache2-2.0.54) this is pcre-3.9 (!!). Therefore, Apache seg faults upon loading the modules mod_cplusplus and mod_sipxauth (last call on strace is pcre). sipX requires pcre >= 4.5.

 

This issue has so far prevented successful porting to Gentoo and SuSE. See the Wiki for more information.

 

Both FC5 and SuSE 10.1 will switch to Apache 2.2 which handles this issue differently.

 

Any comments welcome

--martin

 

 

_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev