[Freeswitch-users] Install 1.2.Stable still fails. Ver 2

Sean Devoy sdevoy at bizfocused.com
Thu Dec 20 01:36:10 MSK 2012


In my case it was just the stupid & versus &&.

I split it into:

make

make install.

Worked perfectly.

 

Thanks all.

Sean

(I hate Unix)

 

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of S. Scott
Sent: Wednesday, December 19, 2012 12:09 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Install 1.2.Stable still fails. Ver 2

 

I'm not that strong in these areas, but i too tried EPEL flavor AND i too
ran into freeswitch build issues. I manually yum'd the fs dependancies and
hit issues there too.  After googling around, I flushed and went back to the
centos iso AND

 

Do you epel pull,

 

THEN THE FIRST THING YOU MUST DO BEFORE UPDATING OR OTHER YUM ACTION IS (was
for me)

 

yum install yum-plugin-protectbase.noarch

 

The readings i found assert you MUST protect the base repo's from the epel
repo's.  The above plugin does this repo boundry.  Everything -- dependancy
chain and freeSWITCH -- yum'ed and make'd just fine thereafter.

 

Dont know if this is your issue,,, like i said im not that strong in these
areas, but it solved my epel-version issues. 

goodluck,


-----

iThing:  Big thumbs & little keys. Please excuse typo, spelling and grammar
errors . Last night I played a blank CD at full blast. The Mime next door
went nuts.

 


On 2012-12-19, at 11:11, Ken Rice <krice at freeswitch.org> wrote:

Your make command is wrong...

Its make && make install...

Notice the two (2) &'s there you have one in the command you stated...

 make & make install  (1 &) tries to run 2 makes concurrently... The first
make will get backgrounded, and the 2nd make will run in the foreground....

This will screw things up royally...

As for Centos5 the entire tree is tested routinely on Centos5... 99% of the
development occurs on centos5, so I hate to say it but if you are having a
problem building on that specific platform it is almost always (99.999% of
the time) a problem with your installation environment...

So sit back and relax... Also keep in mind that it seems we have the highest
concentration of FreeSWITCH users in the West (ie North and South America)
and not all of them are around all the time... So when you ask a question it
make take several hours or even a day before someone with the right
knowledge can answer your query....

If you are deploying in a commercial environment where you might need
priority support, I would suggest contacting consulting at freeswitch.org where
you can get someone from the FreeSWITCH team to help you via a support
agreement... 

K


On 12/18/12 9:11 PM, "Sean Devoy" <sdevoy at bizfocused.com> wrote:

OK, I had my Centos restored to base install 5.8.
 
The install fails.  Here is EXACTLY what I did:
 
Login to root
cd /usr/local/src
rpm -Uvh
http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
cd /usr/local/src/freeswitch
./bootstrap.sh
./configure
make & make install
 
 
It fails with:
/bin/sh /usr/local/src/freeswitch/libs/apr/libtool --silent --mode=link  gcc
-g -O2 -pthread  -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-I./include -I/usr/local/src/freeswitch/libs/apr/include/arch/unix
-I./include/arch/unix -I/usr/local/src/freeswitch/libs/apr/include
-version-info 2:8:2    -o libapr-1.la -rpath /usr/local/freeswitch/lib
passwd/apr_getpass.lo strings/apr_cpystrn.lo strings/apr_strnatcmp.lo
strings/apr_strings.lo strings/apr_strtok.lo strings/apr_fnmatch.lo
strings/apr_snprintf.lo tables/apr_tables.lo tables/apr_hash.lo
atomic/unix/apr_atomic.lo dso/unix/dso.lo file_io/unix/flock.lo
file_io/unix/readwrite.lo file_io/unix/filepath_util.lo file_io/unix/seek.lo
file_io/unix/dir.lo file_io/unix/mktemp.lo file_io/unix/filedup.lo
file_io/unix/tempdir.lo file_io/unix/filepath.lo file_io/unix/pipe.lo
file_io/unix/open.lo file_io/unix/filestat.lo file_io/unix/copy.lo
file_io/unix/fileacc.lo file_io/unix/fullrw.lo locks/unix/thread_rwlock.lo
locks/unix/thread_mutex.lo locks/unix/thread_cond.lo
locks/unix/proc_mutex.lo locks/unix/global_mutex.lo memory/unix/apr_pools.lo
misc/unix/charset.lo misc/unix/env.lo misc/unix/version.lo misc/unix/rand.lo
misc/unix/start.lo misc/unix/errorcodes.lo misc/unix/getopt.lo
misc/unix/otherchild.lo mmap/unix/mmap.lo mmap/unix/common.lo
network_io/unix/sockaddr.lo network_io/unix/sockopt.lo
network_io/unix/sendrecv.lo network_io/unix/multicast.lo
network_io/unix/sockets.lo network_io/unix/inet_ntop.lo
network_io/unix/inet_pton.lo poll/unix/epoll.lo poll/unix/select.lo
poll/unix/poll.lo poll/unix/port.lo poll/unix/kqueue.lo random/unix/sha2.lo
random/unix/apr_random.lo random/unix/sha2_glue.lo shmem/unix/shm.lo
support/unix/waitio.lo threadproc/unix/procsup.lo threadproc/unix/thread.lo
threadproc/unix/signals.lo threadproc/unix/proc.lo
threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo
user/unix/userinfo.lo user/unix/groupinfo.lo   -luuid -lrt -ldl -lcrypt
-lpthread
libtool: link: `passwd/apr_getpass.lo' is not a valid libtool object
make[2]: *** [libapr-1.la] Error 1
make[2]: Leaving directory `/usr/local/src/freeswitch/libs/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/freeswitch/libs/apr'
make: *** [libs/apr/libapr-1.la] Error 2
/bin/sh /usr/local/src/freeswitch/libs/apr/libtool --silent --mode=link  gcc
-g -O2 -pthread  -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-I./include -I/usr/local/src/freeswitch/libs/apr/include/arch/unix
-I./include/arch/unix -I/usr/local/src/freeswitch/libs/apr/include
-version-info 2:8:2    -o libapr-1.la -rpath /usr/local/freeswitch/lib
passwd/apr_getpass.lo strings/apr_cpystrn.lo strings/apr_strnatcmp.lo
strings/apr_strings.lo strings/apr_strtok.lo strings/apr_fnmatch.lo
strings/apr_snprintf.lo tables/apr_tables.lo tables/apr_hash.lo
atomic/unix/apr_atomic.lo dso/unix/dso.lo file_io/unix/flock.lo
file_io/unix/readwrite.lo file_io/unix/filepath_util.lo file_io/unix/seek.lo
file_io/unix/dir.lo file_io/unix/mktemp.lo file_io/unix/filedup.lo
file_io/unix/tempdir.lo file_io/unix/filepath.lo file_io/unix/pipe.lo
file_io/unix/open.lo file_io/unix/filestat.lo file_io/unix/copy.lo
file_io/unix/fileacc.lo file_io/unix/fullrw.lo locks/unix/thread_rwlock.lo
locks/unix/thread_mutex.lo locks/unix/thread_cond.lo
locks/unix/proc_mutex.lo locks/unix/global_mutex.lo memory/unix/apr_pools.lo
misc/unix/charset.lo misc/unix/env.lo misc/unix/version.lo misc/unix/rand.lo
misc/unix/start.lo misc/unix/errorcodes.lo misc/unix/getopt.lo
misc/unix/otherchild.lo mmap/unix/mmap.lo mmap/unix/common.lo
network_io/unix/sockaddr.lo network_io/unix/sockopt.lo
network_io/unix/sendrecv.lo network_io/unix/multicast.lo
network_io/unix/sockets.lo network_io/unix/inet_ntop.lo
network_io/unix/inet_pton.lo poll/unix/epoll.lo poll/unix/select.lo
poll/unix/poll.lo poll/unix/port.lo poll/unix/kqueue.lo random/unix/sha2.lo
random/unix/apr_random.lo random/unix/sha2_glue.lo shmem/unix/shm.lo
support/unix/waitio.lo threadproc/unix/procsup.lo threadproc/unix/thread.lo
threadproc/unix/signals.lo threadproc/unix/proc.lo
threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo
user/unix/userinfo.lo user/unix/groupinfo.lo   -luuid -lrt -ldl -lcrypt
-lpthread
libtool: link: `passwd/apr_getpass.lo' is not a valid libtool object
make[2]: *** [libapr-1.la] Error 1
make[2]: Leaving directory `/usr/local/src/freeswitch/libs/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/freeswitch/libs/apr'
make: *** [libs/apr/libapr-1.la] Error 2
[1]+  Exit 2                  make
 
What next guys?
 
Sean


  _____  


_________________________________________________________________________
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


-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

_________________________________________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121219/4cefc3c5/attachment.html 


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