User Tools

Site Tools


info:devel:5209cce

This is an old revision of the document!


Fixing CCE on 5209R

BlueOnyx Development Environment

Build a clean server using a recent BlueOnyx cd. Login as root, and execute the following commands to be ready to do some build work.

yum -y install sausalito-devel-tools flex-devel gettext
ln -s ~/rpmbuild/ /usr/src/redhat
mkdir -p /home/devel/BlueOnyx/trunk
cd /home/devel/BlueOnyx/trunk
svn checkout https://devel.blueonyx.it/repos/trunk/BlueOnyx BlueOnyx

Building on 5209R

On 5209, the build of the PHP CCE client fails. Michael has included a different PHP library, which works but is much slower. Our goal here is to find the bugs in the library written in C, to replace Michael's temporary class. We need to do a tweak so that it will build the old official library.

cd /home/devel/BlueOnyx/trunk/BlueOnyx/
cp utils/cce/client/php/src/Makefile 5209R/utils/cce/client/php/src/Makefile

Custom Patches

The patches below are “work in progress” for what is needed to build CCE on 5209R

cd /home/devel/BlueOnyx/trunk/BlueOnyx/5209R/utils/cce
sed -ie "s/^function_entry/zend_function_entry/" client/php/src/cce.c
sed -ie "s/pval/zval/" client/php/src/cce.c

Working on CCE

Now, lets build the RPM's…

cd /home/devel/BlueOnyx/trunk/BlueOnyx/5209R/utils/cce
make clean
make
make rpm
info/devel/5209cce.1437263641.txt.gz · Last modified: 2015/07/19 09:54 by