...
On a shell as "root" edit a new repository text file under /etc/yum.repos.d/CentOS5.repo to add this content:[
...
name=CentOS-5-Base
...
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=
...
...
gpgcheck=0
enabled=0
...
...
...
...
name=CentOS-5-Updates
...
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates
...
gpgcheck=0
enabled=0
...
...
...
...
name=CentOS-5-Plus
...
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=centosplus
...
gpgcheck=0
enabled=0
...
...
Step 2: Rename the Freeswitch executable path
...
In file $INSTALL/bin/freeswitch.sh replace those lines (Note: $INSTALL is most likely "/usr").
Replace lines:
_FS_EXEC="/usr/local/freeswitch/bin/freeswitch _
if [ ! -x /usr/local/freeswitch/bin/freeswitch ]
echo "Error: FreeSWITCH executable is not at /usr/local/freeswitch/bin/freeswitch" >&2
With lines:
_FS_EXEC="/usr/local/freeswitch_debug/bin/freeswitch _
if [ ! -x /usr/local/freeswitch_debug/bin/freeswitch ]
echo "Error: FreeSWITCH executable is not at /usr/local/freeswitch_debug/bin/freeswitch" >&2
Step 3: Install the necessary RPMs in order to compile freeswitch
...
# Make your code changes under src/...>
make
# Stop the running version of Freeswitch
...