make current -> "Failed to add directory 'libs/openzap'"
Hello After updating a test CentOS 5.4 host with "yum update", I wanted to also update Freeswitch. I followed the Installation Guide (http://wiki.freeswitch.org/wiki/Installation_Guide) thusly: --------- # cd /usr/src/freeswitch # diff build/modules.conf.in modules.conf [nothing shown] # make current [...] U libs/libsndfile/examples/sndfile-play-beos.cpp U libs/libsndfile/reconfigure.mk U libs/libsndfile svn: Failed to add directory 'libs/openzap': object of the same name already exists make: *** [current] Error 1 --------- Then, I ran "make current" a second time: --------- # make update cd . && /bin/sh /usr/src/freeswitch/build/config/missing --run aclocal-1.9 cd . && /bin/sh /usr/src/freeswitch/build/config/missing --run automake-1.9 --gnu configure.in:898: required file `build/freeswitch.pc.in' not found Makefile.am:256: ADD_LIBEDIT does not appear in AM_CONDITIONAL Makefile.am:263: ADD_LIBEDIT does not appear in AM_CONDITIONAL Makefile.am:268: ADD_ODBC does not appear in AM_CONDITIONAL make: *** [Makefile.in] Error 1 --------- FWIW, this host has an one-FXO OpenVox PCI card and things were working OK. Is there something I can try besides wiping out /usr/src/freeswitch/ and just compiling from scratch? Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/make-current-Failed-to-add-dir... Sent from the freeswitch-users mailing list archive at Nabble.com.
hmmm I got that error once like 2 months ago... anyways i think the "how-to-fix-it" is somewhere on the lists and has to do with deleting and rebuilding, you can look for it, but fixing it is not worth it because if you want to update you should be UPDATING to GIT!!! Have a nice day. 2010/5/25 GillesToo <codecomplete@free.fr>
Hello
After updating a test CentOS 5.4 host with "yum update", I wanted to also update Freeswitch. I followed the Installation Guide (http://wiki.freeswitch.org/wiki/Installation_Guide) thusly:
--------- # cd /usr/src/freeswitch
# diff build/modules.conf.in modules.conf [nothing shown]
# make current [...] U libs/libsndfile/examples/sndfile-play-beos.cpp U libs/libsndfile/reconfigure.mk U libs/libsndfile svn: Failed to add directory 'libs/openzap': object of the same name already exists make: *** [current] Error 1 ---------
Then, I ran "make current" a second time: --------- # make update cd . && /bin/sh /usr/src/freeswitch/build/config/missing --run aclocal-1.9 cd . && /bin/sh /usr/src/freeswitch/build/config/missing --run automake-1.9 --gnu configure.in:898: required file `build/freeswitch.pc.in' not found Makefile.am:256: ADD_LIBEDIT does not appear in AM_CONDITIONAL Makefile.am:263: ADD_LIBEDIT does not appear in AM_CONDITIONAL Makefile.am:268: ADD_ODBC does not appear in AM_CONDITIONAL make: *** [Makefile.in] Error 1 ---------
FWIW, this host has an one-FXO OpenVox PCI card and things were working OK.
Is there something I can try besides wiping out /usr/src/freeswitch/ and just compiling from scratch?
Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/make-current-Failed-to-add-dir... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks for the tip. I'll remove /usr/src/freeswitch/ and start afresh, then. Since http://wiki.freeswitch.org/wiki/Ubuntu_Quick_Start#Install_from_Git includes this: ------- cd /usr/src sudo apt-get install git-core subversion build-essential autoconf automake libtool libncurses5 libncurses5-dev git clone git://git.freeswitch.org/freeswitch.git cd freeswitch ------- ... I gave this a try: "yum install git-core subversion build-essential autoconf automake libtool libncurses5 libncurses5-dev", but it ended up with: ------- Setting up Install Process No package git-core available. Package subversion-1.4.2-4.el5_3.1.i386 already installed and latest version No package build-essential available. Package autoconf-2.59-12.noarch already installed and latest version Package automake-1.9.6-2.3.el5.noarch already installed and latest version Package libtool-1.5.22-7.el5_4.i386 already installed and latest version No package libncurses5 available. No package libncurses5-dev available. Nothing to do ------- Does someone know what parts I need to install Git on CentOS, so I can download the latest source code? Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/make-current-Failed-to-add-dir... Sent from the freeswitch-users mailing list archive at Nabble.com.
cd /usr/src yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel bzip2 wget http://kernel.org/pub/software/scm/git/git-1.7.1.tar.bz2 tar -xvjf git-1.7.1.tar.bz2 cd git-1.7.1 make prefix=/usr/local all make prefix=/usr/local install 2010/5/25 GillesToo <codecomplete@free.fr>
Thanks for the tip. I'll remove /usr/src/freeswitch/ and start afresh, then.
Since http://wiki.freeswitch.org/wiki/Ubuntu_Quick_Start#Install_from_Git includes this: ------- cd /usr/src sudo apt-get install git-core subversion build-essential autoconf automake libtool libncurses5 libncurses5-dev git clone git://git.freeswitch.org/freeswitch.git cd freeswitch -------
... I gave this a try: "yum install git-core subversion build-essential autoconf automake libtool libncurses5 libncurses5-dev", but it ended up with:
------- Setting up Install Process No package git-core available. Package subversion-1.4.2-4.el5_3.1.i386 already installed and latest version No package build-essential available. Package autoconf-2.59-12.noarch already installed and latest version Package automake-1.9.6-2.3.el5.noarch already installed and latest version Package libtool-1.5.22-7.el5_4.i386 already installed and latest version No package libncurses5 available. No package libncurses5-dev available. Nothing to do -------
Does someone know what parts I need to install Git on CentOS, so I can download the latest source code?
Thank you. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/make-current-Failed-to-add-dir... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks Milena. For those interested, here's how to install Git: http://wiki.freeswitch.org/wiki/Git_Install Note: The latest Git source code can be found here: http://www.kernel.org/pub/software/scm/git/ (Looks like git-core is some old software, and you only need git.*.bz2) And here's how to download the latest FS source through Git: http://wiki.freeswitch.org/wiki/Installation_Guide#Recommended_Download -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/make-current-Failed-to-add-dir... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
GillesToo
-
Milena