[Freeswitch-users] Installing freeswitch-1.2.5.3 on CentOS 5

Sean Devoy sdevoy at bizfocused.com
Thu Dec 20 03:05:53 MSK 2012


HI Chen,

I am certainly no expert, but I just completed installing FS 1.2.5.3 on
Centos 5.8 today.  The first issue I had was EPEL must be added when
installing on Cenots 5.n

My second error was I used "make & make install" <== WRONG.  It should have
been "make && make install"

Here are the exact commands I used ,  comments in ():
login root
	cd /usr/local/src
(Add EPEL for 32 bit Centos 5.n):  	rpm -Uvh
http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Install pre-reqs:
	yum install autoconf automake gcc-c++ git-core libjpeg-devel libtool
make ncurses-devel pkgconfig unixODBC-devel openssl-devel libogg-devel
libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel
expat-devel zlib zlib-devel bzip2 which gdbm-devel db4-devel

	git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
	cd /usr/local/src/freeswitch
	./bootstrap.sh                (takes a while)
	./configure
	make  	            (takes 20 minutes or more)
	make install  

I hope that helps.
Sean



-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Yungwei
Chen
Sent: Wednesday, December 19, 2012 6:31 PM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] Installing freeswitch-1.2.5.3 on CentOS 5

Hi,

I am having trouble installing freeswitch-1.2.5.3 on CentOS 5.5 from
freeswitch-1.2.5.3.tar.bz2.
The following error shows up during make. I installed
autoconf26x-2.63-4.ius.el5.
How can I tell make to use autoconf26x instead of autoconf? Thanks.

make[3]: Leaving directory `/var/install/freeswitch-1.2.5.3/libs/curl/lib'
make[2]: Leaving directory `/var/install/freeswitch-1.2.5.3/libs/curl/lib'
Making all in src
make[2]: Entering directory `/var/install/freeswitch-1.2.5.3/libs/curl/src'
(CDPATH="${ZSH_VERSION+.}:" && cd .. && autoheader)
aclocal.m4:20: warning: this file was generated for autoconf 2.67.
You have another version of autoconf.  It may work, but is not guaranteed
to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically
`autoreconf'.
configure.ac:65: error: Autoconf version 2.62 or higher is required
aclocal.m4:8484: AM_INIT_AUTOMAKE is expanded from...
configure.ac:65: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
autoheader: /usr/bin/autom4te failed with exit status: 63
make[2]: *** [config.h.in] Error 63
make[2]: Leaving directory `/var/install/freeswitch-1.2.5.3/libs/curl/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/install/freeswitch-1.2.5.3/libs/curl'
make: *** [libs/curl/lib/libcurl.la] Error 2



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list