[UniMRCP] configure problem

1,099 views
Skip to first unread message

ram

unread,
May 18, 2010, 3:16:14 PM5/18/10
to uni...@googlegroups.com
Hi
 
i have downloaded SVN in my centos 5.5
 
when ./configure i get the below error
 
i try to install sofia i did not find that package
how to solve
 
Ram
 
appending configuration tag "F77" to libtool
UniMRCP Version: 0.10.0
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
1.2.7
configure: Apache Portable Runtime Utility (APU) library configuration
checking for APR-util... yes
1.2.7
configure: Sofia SIP library configuration
checking for Sofia-SIP... configure: error: Cannot find Sofia-SIP - looked for sofia-config:lib/pkgconfig/sofia-sip-ua.pc and srcdir:libsofia-sip-ua in /usr/local
[root@mtenant unimrcp]#

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To post to this group, send email to uni...@googlegroups.com.
To unsubscribe from this group, send email to unimrcp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/unimrcp?hl=en.

Arsen Chaloyan

unread,
May 19, 2010, 10:31:39 AM5/19/10
to uni...@googlegroups.com
Hi Ram,


>i try to install sofia i did not find that package how to solve

Does the above mean
- you installed Sofia-SIP library, but the configure routine of UniMRCP couldn't find it
or
- you didn't know how or from where to install Sofia-SIP library

Anyway, the installation guide covers both cases, unless there are Centos 5.5 specific issues, which I'm not aware of.
http://code.google.com/p/unimrcp/wiki/InstallationGuide
--
Arsen Chaloyan
The author of UniMRCP
http://www.unimrcp.org

ram

unread,
May 21, 2010, 9:29:13 AM5/21/10
to uni...@googlegroups.com
thanks for your link
 
i followed the link install required pre-requisites
 
and downloaded SVN
 
when iam making iam getting following errors
 
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"unimrcp\" -DPACKAGE_TARNAME=\"unimrcp\" -DPACKAGE_VERSION=\"0.10.0\" -DPACKAGE_STRING=\"unimrcp\ 0.10.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unimrcp\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I. -I../../libs/apr-toolkit/include -I/usr/include/apr-1  -I/usr/include/apr-1   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -g -O2   -pthread -MT apt_task_msg.lo -MD -MP -MF ".deps/apt_task_msg.Tpo" -c -o apt_task_msg.lo `test -f 'src/apt_task_msg.c' || echo './'`src/apt_task_msg.c; \
        then mv -f ".deps/apt_task_msg.Tpo" ".deps/apt_task_msg.Plo"; else rm -f ".deps/apt_task_msg.Tpo"; exit 1; fi
 gcc -DPACKAGE_NAME=\"unimrcp\" -DPACKAGE_TARNAME=\"unimrcp\" -DPACKAGE_VERSION=\"0.10.0\" "-DPACKAGE_STRING=\"unimrcp 0.10.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unimrcp\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../../libs/apr-toolkit/include -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -MT apt_task_msg.lo -MD -MP -MF .deps/apt_task_msg.Tpo -c src/apt_task_msg.c  -fPIC -DPIC -o .libs/apt_task_msg.o
 gcc -DPACKAGE_NAME=\"unimrcp\" -DPACKAGE_TARNAME=\"unimrcp\" -DPACKAGE_VERSION=\"0.10.0\" "-DPACKAGE_STRING=\"unimrcp 0.10.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unimrcp\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../../libs/apr-toolkit/include -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -MT apt_task_msg.lo -MD -MP -MF .deps/apt_task_msg.Tpo -c src/apt_task_msg.c -o apt_task_msg.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"unimrcp\" -DPACKAGE_TARNAME=\"unimrcp\" -DPACKAGE_VERSION=\"0.10.0\" -DPACKAGE_STRING=\"unimrcp\ 0.10.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unimrcp\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I. -I../../libs/apr-toolkit/include -I/usr/include/apr-1  -I/usr/include/apr-1   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -g -O2   -pthread -MT apt_consumer_task.lo -MD -MP -MF ".deps/apt_consumer_task.Tpo" -c -o apt_consumer_task.lo `test -f 'src/apt_consumer_task.c' || echo './'`src/apt_consumer_task.c; \
        then mv -f ".deps/apt_consumer_task.Tpo" ".deps/apt_consumer_task.Plo"; else rm -f ".deps/apt_consumer_task.Tpo"; exit 1; fi
 gcc -DPACKAGE_NAME=\"unimrcp\" -DPACKAGE_TARNAME=\"unimrcp\" -DPACKAGE_VERSION=\"0.10.0\" "-DPACKAGE_STRING=\"unimrcp 0.10.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unimrcp\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../../libs/apr-toolkit/include -I/usr/include/apr-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -MT apt_consumer_task.lo -MD -MP -MF .deps/apt_consumer_task.Tpo -c src/apt_consumer_task.c  -fPIC -DPIC -o .libs/apt_consumer_task.o
src/apt_consumer_task.c:26: error: expected specifier-qualifier-list before 'apr_queue_t'
src/apt_consumer_task.c: In function 'apt_consumer_task_create':
src/apt_consumer_task.c:40: error: 'apt_consumer_task_t' has no member named 'msg_queue'
src/apt_consumer_task.c:41: error: 'apt_consumer_task_t' has no member named 'msg_queue'
src/apt_consumer_task.c: In function 'apt_consumer_task_msg_signal':
src/apt_consumer_task.c:76: error: 'apt_consumer_task_t' has no member named 'msg_queue'
src/apt_consumer_task.c: In function 'apt_consumer_task_run':
src/apt_consumer_task.c:97: error: 'apt_consumer_task_t' has no member named 'msg_queue'
make[2]: *** [apt_consumer_task.lo] Error 1
make[2]: Leaving directory `/usr/src/unimrcp/libs/apr-toolkit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/unimrcp/libs'
make: *** [all-recursive] Error 1


Arsen Chaloyan

unread,
May 21, 2010, 12:46:42 PM5/21/10
to uni...@googlegroups.com
Make sure you have all the requirements installed. At this time, you seem to be missing pkg-config.

ram

unread,
May 21, 2010, 1:01:50 PM5/21/10
to uni...@googlegroups.com
 rpm -qa | grep pkg
pkgconfig-0.21-2.el5

ram

unread,
May 21, 2010, 1:02:24 PM5/21/10
to uni...@googlegroups.com
 pkg-config  --version
0.21

Arsen Chaloyan

unread,
May 21, 2010, 1:06:29 PM5/21/10
to uni...@googlegroups.com

ram

unread,
May 21, 2010, 1:18:30 PM5/21/10
to uni...@googlegroups.com
Hi
 
i read the thread
and installed new source
 
./configure shows below information
 
 
configure: Report:
configure:   UniMRCP: 0.10.0
configure:   APR: 1.3.8
configure:   APR-Util: 1.3.9
configure:   Sofia-SIP: 1.12.10
 
 
i still have make problem
 
Making all in libunimrcp-server
make[2]: Entering directory `/usr/src/unimrcp/platforms/libunimrcp-server'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/unimrcp/platforms/libunimrcp-server'
Making all in unimrcp-server
make[2]: Entering directory `/usr/src/unimrcp/platforms/unimrcp-server'
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2  -g -O2 -pthread   -o unimrcpserver  main.o uni_cmdline.o uni_daemon.o ../../platforms/libunimrcp-server/libunimrcpserver.la
gcc -g -O2 -g -O2 -pthread -o .libs/unimrcpserver main.o uni_cmdline.o uni_daemon.o  ../../platforms/libunimrcp-server/.libs/libunimrcpserver.so /usr/local/apr/lib/libaprutil-1.so /usr/local/apr/lib/libapr-1.so -luuid -lcrypt /usr/lib/libexpat.so -L/usr/local/lib /usr/local/lib/libsofia-sip-ua.so -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -lrt -lpthread -lm  -Wl,--rpath -Wl,/usr/local/unimrcp/lib -Wl,--rpath -Wl,/usr/local/apr/lib -Wl,--rpath -Wl,/usr/local/lib
../../platforms/libunimrcp-server/.libs/libunimrcpserver.so: undefined reference to `apr_pool_mutex_set'
collect2: ld returned 1 exit status
make[2]: *** [unimrcpserver] Error 1
make[2]: Leaving directory `/usr/src/unimrcp/platforms/unimrcp-server'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/unimrcp/platforms'

make: *** [all-recursive] Error 1
 
centos 5.5
 
Ram

Arsen Chaloyan

unread,
May 21, 2010, 1:25:14 PM5/21/10
to uni...@googlegroups.com
Can you please try to search (at least a bit) the answers first.
For instance, what if you try to search `apr_pool_mutex_set' in the discussion group. You'll find multiple posts I believe

And one of them is
http://groups.google.com/group/unimrcp/browse_frm/thread/765b71f910262836/f031e395b189ef7e?lnk=gst&q=apr_pool_mutex_set#f031e395b189ef7e

ram

unread,
May 24, 2010, 1:32:29 AM5/24/10
to uni...@googlegroups.com
hi
 
this URL
 
 
solved my  install, i need to integrate with FS and test it
 
we will post if any issues
 
Ram

Reply all
Reply to author
Forward
0 new messages