wangkaisine / mrcp-plugin-with-freeswitch

使用FreeSWITCH接受用户手机呼叫,通过UniMRCP Server集成讯飞开放平台(xfyun)插件将用户语音进行语音识别(ASR),并根据自定义业务逻辑调用语音合成(TTS),构建简单的端到端语音呼叫中心。
307 stars 151 forks source link

debain9.x下 执行./build-dep-libs.sh安装错误 #11

Open gomlvb opened 5 years ago

gomlvb commented 5 years ago

Building Sofia-SIP library checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking cached information... ok checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... no checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... none checking for gcc... gcc checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for etags... echo checking for ar... ar checking for ld... ld checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... (cached) ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether gcc and cc understand -c and -o together... yes checking for maximum warnings compiler flag... checking for compilation environment... checking for doxygen... echo checking for C compiler vendor... gnu checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for size_t... yes checking whether gcc recognizes func... yes checking whether gcc recognizes FUNCTION... yes checking for inline... inline checking for sa_len... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for stack suitable for tags... no checking for graceful free(0)... yes checking for sockaddr_in6... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/devpoll.h usability... no checking sys/devpoll.h presence... no checking for sys/devpoll.h... no checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for net/if.h... yes checking for net/if_types.h... no checking for ifaddr.h... no checking for netpacket/packet.h... yes checking whether MSG_TRUNC is declared... yes checking whether SO_RCVBUFFORCE is declared... yes checking whether SO_SNDBUFFORCE is declared... yes checking whether IP_ADD_MEMBERSHIP is declared... yes checking whether IP_MULTICAST_LOOP is declared... yes checking whether IP_MTU_DISCOVER is declared... yes checking for struct addrinfo... yes checking for struct sockaddr_storage... yes checking for field ifr_index in struct ifreq... no checking for field ifr_ifindex in struct ifreq... yes checking for struct ifconf... yes checking for ioctl SIOCGIFNUM... sys/sockio.h missing checking for pthread_create in -lpthread... yes checking for socketpair in -lsocket... no checking for library containing clock_gettime... none required checking for clock_gettime... yes checking for clock_getcpuclockid... yes checking whether CLOCK_MONOTONIC is declared... yes checking for library containing socket... none required checking for library containing inet_ntop... none required checking for library containing getipnodebyname... no checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for working alloca.h... yes checking for alloca... yes checking for gettimeofday... yes checking for strerror... yes checking for random... yes checking for initstate... yes checking for tcsetattr... yes checking for flock... yes checking for socketpair... yes checking for gethostname... yes checking for gethostbyname... yes checking for getipnodebyname... no checking for poll... yes checking for epoll_create... yes checking for kqueue... no checking for select... yes checking for if_nameindex... yes checking for signal... yes checking for alarm... yes checking for strnlen... yes checking for memmem... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for freeaddrinfo... yes checking for gai_strerror... yes checking for getifaddrs... yes checking for getline... yes checking for getdelim... yes checking for getpass... yes checking for memccpy... yes checking for memspn... no checking for memcspn... no checking for strtoull... yes checking for inet_ntop... yes checking for inet_pton... yes checking for poll... (cached) yes checking whether SIGPIPE is declared... yes checking for pkg-config... no The pkg-config script could not be found. Make sure it is in your path, or set the PKG_CONFIG environment variable to the full path to pkg-config. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. checking openssl/tls1.h usability... no checking openssl/tls1.h presence... no checking for openssl/tls1.h... no configure: WARNING: OpenSSL include files were not found checking for IP_RECVERR... yes checking for IPV6_RECVERR... yes checking for netinet/tcp.h... yes checking for netinet/sctp.h... no The pkg-config script could not be found. Make sure it is in your path, or set the PKG_CONFIG environment variable to the full path to pkg-config. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking for dlopen in -ldl... yes configure: WARNING: TLS support for STUN disabled as OpenSSL headers and/or libraries were not found checking for ANSI C header files... (cached) yes checking return type of signal handlers... void checking for long long... yes checking whether IO functions support C99 size specifiers... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for inline... (cached) inline checking whether byte ordering is bigendian... no checking whether gcc recognizes func... (cached) yes checking whether gcc recognizes FUNCTION... (cached) yes checking whether gcc recognizes field names in struct initialization... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for size_t... (cached) yes checking for sa_len... (cached) no checking /dev/urandom... yes configure: creating ./config.status config.status: creating Makefile config.status: creating packages/Makefile config.status: creating packages/sofia-sip-ua.pc config.status: creating packages/sofia-sip-ua-glib.pc config.status: creating libsofia-sip-ua/Makefile config.status: creating libsofia-sip-ua/bnf/Makefile config.status: creating libsofia-sip-ua/bnf/Doxyfile config.status: creating libsofia-sip-ua/docs/Makefile config.status: creating libsofia-sip-ua/docs/Doxyfile config.status: creating libsofia-sip-ua/docs/Doxyfile.version config.status: creating libsofia-sip-ua/docs/sofia-footer.html config.status: creating libsofia-sip-ua/features/Doxyfile config.status: creating libsofia-sip-ua/features/Makefile config.status: creating libsofia-sip-ua/http/Doxyfile config.status: creating libsofia-sip-ua/http/Makefile config.status: creating libsofia-sip-ua/ipt/Doxyfile config.status: creating libsofia-sip-ua/ipt/Makefile config.status: creating libsofia-sip-ua/iptsec/Doxyfile config.status: creating libsofia-sip-ua/iptsec/Makefile config.status: creating libsofia-sip-ua/msg/Doxyfile config.status: creating libsofia-sip-ua/msg/Makefile config.status: creating libsofia-sip-ua/nea/Doxyfile config.status: creating libsofia-sip-ua/nea/Makefile config.status: creating libsofia-sip-ua/nta/Doxyfile config.status: creating libsofia-sip-ua/nta/Makefile config.status: creating libsofia-sip-ua/nth/Doxyfile config.status: creating libsofia-sip-ua/nth/Makefile config.status: creating libsofia-sip-ua/nua/Doxyfile config.status: creating libsofia-sip-ua/nua/Makefile config.status: creating libsofia-sip-ua/sdp/Doxyfile config.status: creating libsofia-sip-ua/sdp/Makefile config.status: creating libsofia-sip-ua/sip/Doxyfile config.status: creating libsofia-sip-ua/sip/Makefile config.status: creating libsofia-sip-ua/soa/Doxyfile config.status: creating libsofia-sip-ua/soa/Makefile config.status: creating libsofia-sip-ua/sresolv/Doxyfile config.status: creating libsofia-sip-ua/sresolv/Makefile config.status: creating libsofia-sip-ua/stun/Doxyfile config.status: creating libsofia-sip-ua/stun/Makefile config.status: creating libsofia-sip-ua/su/Doxyfile config.status: creating libsofia-sip-ua/su/Makefile config.status: creating libsofia-sip-ua/tport/Doxyfile config.status: creating libsofia-sip-ua/tport/Makefile config.status: creating libsofia-sip-ua/url/Doxyfile config.status: creating libsofia-sip-ua/url/Makefile config.status: creating libsofia-sip-ua/features/sofia-sip/sofia_features.h config.status: creating s2check/Makefile config.status: creating libsofia-sip-ua-glib/Makefile config.status: creating libsofia-sip-ua-glib/su-glib/Makefile config.status: creating libsofia-sip-ua-glib/su-glib/Doxyfile config.status: creating utils/Makefile config.status: creating utils/Doxyfile config.status: creating tests/Makefile config.status: creating win32/Makefile config.status: creating win32/config.h config.status: creating open_c/Makefile config.status: creating open_c/config.h config.status: creating packages/sofia-sip-1.12.11-234-gd74df2e.spec config.status: creating config.h config.status: config.h is unchanged config.status: creating libsofia-sip-ua/su/sofia-sip/su_configure.h config.status: libsofia-sip-ua/su/sofia-sip/su_configure.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing version commands ./build-dep-libs.sh: 69: ./build-dep-libs.sh: make: not found ./build-dep-libs.sh: 71: ./build-dep-libs.sh: sudo: not found

gomlvb commented 5 years ago

tport_tls.c: In function ‘tls_init_master’: tport_tls.c:453:3: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations] RAND_pseudo_bytes(sessionId, sizeof(sessionId)); ^~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/lhash.h:17, from tport_tls.c:45: /usr/include/openssl/rand.h:47:1: note: declared here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^ tport_tls.c: In function ‘tls_post_connection_check’: tport_tls.c:596:33: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’ tls_parse_extensions(tls, cert->cert_info->extensions); ^~ Makefile:1080: recipe for target 'tport_tls.lo' failed make[4]: [tport_tls.lo] Error 1 make[4]: Leaving directory '/opt/MRCP-Plugin-Demo/unimrcp-deps-1.5.0/libs/sofia-sip/libsofia-sip-ua/tport' Makefile:457: recipe for target 'all' failed make[3]: [all] Error 2 make[3]: Leaving directory '/opt/MRCP-Plugin-Demo/unimrcp-deps-1.5.0/libs/sofia-sip/libsofia-sip-ua/tport' Makefile:493: recipe for target 'all-recursive' failed make[2]: [all-recursive] Error 1 make[2]: Leaving directory '/opt/MRCP-Plugin-Demo/unimrcp-deps-1.5.0/libs/sofia-sip/libsofia-sip-ua' Makefile:469: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/opt/MRCP-Plugin-Demo/unimrcp-deps-1.5.0/libs/sofia-sip' Makefile:348: recipe for target 'all' failed make: *** [all] Error 2 ./build-dep-libs.sh: 71: ./build-dep-libs.sh: sudo: not found