This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| info:devel:5209cce [2015/07/18 23:54] – created gkuhnert@compassnetworks.com.au | info:devel:5209cce [2015/07/19 15:44] (current) – [Custom Patches] mstauber@blueonyx.it | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Fixing CCE on 5209R ====== | ====== Fixing CCE on 5209R ====== | ||
| + | During the development of 5209R, Michael came up against a pretty big problem. The PHP library for CCE that is used to communicate from the GUI to the back-end of BlueOnyx would not compile. Michael made a valiant effort to get around this, but sadly - this was not resolved. | ||
| + | Currently, 5209R is built with a workaround. Instead of a library coded in C with new functions imported into PHP, Michael created a PHP library with all of the functionality written in PHP - talking to CCE directly without any library. While the current workaround works - it is not as fast as the previous library code that was written in C. | ||
| + | |||
| + | This wiki page is designed to document how to build the CCE library on a 5209R box, so that other helpers might assist in getting the official CCE library to build on 5209R | ||
| ===== BlueOnyx Development Environment ===== | ===== 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. | + | Build a clean 5209R 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 | yum -y install sausalito-devel-tools flex-devel gettext | ||
| ln -s ~/rpmbuild/ / | ln -s ~/rpmbuild/ / | ||
| Line 10: | Line 14: | ||
| ===== Building on 5209R ===== | ===== Building on 5209R ===== | ||
| - | On 5209, the build of the PHP CCE client | + | On 5209R, Michael disabled |
| cd / | cd / | ||
| cp utils/ | cp utils/ | ||
| Line 20: | Line 24: | ||
| sed -ie " | sed -ie " | ||
| sed -ie " | sed -ie " | ||
| - | + | sed -ie " | |
| - | ===== Working on CCE ====== | + | ===== Build the CCE RPM' |
| - | Now, lets build the RPM' | + | |
| cd / | cd / | ||
| make clean | make clean | ||
| make | make | ||
| make rpm | make rpm | ||
| + | |||
| + | ===== Testing ===== | ||
| + | If the above build process was successful, its now time to test. Below will be a set of instructions that can be used to validate if your library is working as expected. | ||