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

[Fwd: building sipxpbx on fc5]




--- Begin Message ---
If anybody is interested, I tried building sipXpbx on FC5 test 2. There were
no problems with sipXconfig but some other parts failed to build because of
GCC 4.1, Apache 2.2 and Apr 1.22.

Most of the problems are C++ extra qualification errors (code not conforming
to standard, "When declaring a member m of a class C, do not qualify m as
C::m.") (fc5.diff)

Then there is a problem with one test in sipXmediaLib. I don't know it the
problem is real or not, many of the asserts in the same source file have
already been commented out before. (medialib.failingtest.fc5.diff)

In sipXvxml there is some dubious code with list iterators which doesn't
compile with GCC 4.1. (vxml.iterator.fc5.diff)

Configure part of sipXpbx fails because Apache module directory is located
using mod_access.so, which doesn't exist in Apache 2.2. I added a search for
mod_version.so, which exists at least in the fc5 rpm. Also Apr 1.22 include
directory is apr-1 instead of apr-0. (sipxpbx.config.fc5.diff)

In addition, the sipXpbx/etc/httpd.conf.in template isn't valid because of
module name changes in Apache 2.2. Fixing this needs more logic than a
simple patch.

With these changes the build goes through and the services can be started.
With very little testing, no noticed problems with the sipXconfig user
interface.

In addition to needed yum packages I added JDK 1.5.0, cgicc 3.2.3,
mod-cplusplus 1.5.2, w3c-libwww 5.4.0 and xerces-c 2.6.0.

-hs

Attachment: medialib.failingtest.fc5.diff
Description: Binary data

Attachment: sipxpbx.config.fc5.diff
Description: Binary data

Attachment: vxml.iterator.fc5.diff
Description: Binary data

Attachment: fc5.diff
Description: Binary data


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