Installation of unimcrp on Asterisk - asterisk

As per the instructions given in url below:
https://code.google.com/p/unimrcp/wiki/asteriskUniMRCP
[root#localhost uni-ast-package-1.0.0]# ls
asterisk get-answer.sh modules-install.sh
asterisk-install.sh INSTALL unimrcp
asterisk-unimrcp modules unimrcp-install.sh
./asterisk--install.sh
./unimrcp-install.sh
are successful.
But while running the script ./modules-install.sh
It displays the following error:
/usr/include/errno.h:55: error: declaration for parameter
âprogram_invocation_nameâ but no such parameter
/usr/include/bits/errno.h:47: error: declaration for parameter
â__errno_locationâ but no such parameter
res_speech_unimrcp.c:1433: error: expected â{â at end of input
make[1]: *** [res_speech_unimrcp.lo] Error 1
make[1]: Leaving directory
/Akatsuki/uni-ast-package-1.0.0/modules/res-speech-unimrcp'
make: *** [install-recursive] Error 1

Please check INSTALL document in directory. Very likly it is for other asterisk version.
Anyway this is not supported module and all question have be addressed to developers of this module(person who do install have be expert)

Related

fatal error: lipo: can't open input file: wireguard-go-bridge/libwg-go-arm64.a (No such file or directory

I have developed a framework which was working fine in debug mood also working in mobile phone but when I make a build for distribution compiler send me error
I have used Wireguard vpn use and its integration in app.
Makefile:68: warning: overriding commands for target `/Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy'
Makefile:65: warning: ignoring old commands for target `/Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy'
Makefile:68: warning: overriding commands for target `of'
Makefile:65: warning: ignoring old commands for target `of'
Makefile:71: warning: overriding commands for target `/Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy'
Makefile:68: warning: ignoring old commands for target `/Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy'
Makefile:71: warning: overriding commands for target `of'
Makefile:68: warning: ignoring old commands for target `of'
make: Circular /Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy <- /Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy dependency dropped.
make: Circular of <- /Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy dependency dropped.
make: Circular of <- of dependency dropped.
go build -ldflags=-w -trimpath -v -o "/Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy of OortVPN/IntermediateBuildFilesPath/FriendsVPN.build/Debug-iphoneos/wireguard-go-bridge/libwg-go-arm64.a" -buildmode c-archive
runtime/cgo
net
golang.zx2c4.com/wireguard/apple
rm -f "/Users/fitoutfit/Library/Developer/Xcode/DerivedData/FriendsVPN-guiobyjdevstmafjlnlacycwutee/Build/Intermediates.noindex/ArchiveIntermediates/Copy of OortVPN/IntermediateBuildFilesPath/FriendsVPN.build/Debug-iphoneos/wireguard-go-bridge/libwg-go-arm64.h"
lipo -create -output "of" OortVPN/IntermediateBuildFilesPath/FriendsVPN.build/Debug-iphoneos/wireguard-go-bridge/libwg-go-arm64.a /usr/local/Cellar/go/1.17/libexec/.prepared go.mod
fatal error: lipo: can't open input file: OortVPN/IntermediateBuildFilesPath/FriendsVPN.build/Debug-iphoneos/wireguard-go-bridge/libwg-go-arm64.a (No such file or directory)
make: *** [of] Error 1
Command ExternalBuildToolExecution failed with a nonzero exit code

kamailio v5.2 make error "ln: failed to create symbolic link 'libkamailio_ims.so.0': File exists"

Tried to upgrade a server running version 5.1.4 to 5.2 , encounred following error which blocks make install
ln: failed to create symbolic link 'libkamailio_ims.so.0': File exists
../../Makefile.libs:107: recipe for target 'libkamailio_ims.so.0' failed
make[3]: [libkamailio_ims.so.0] Error 1 (ignored)
ln: failed to create symbolic link 'libkamailio_ims.so': File exists
../../Makefile.libs:113: recipe for target 'libkamailio_ims.so' failed
make[3]: [libkamailio_ims.so] Error 1 (ignored)
LD (gcc) [L libkamailio_ims.so.0.1] libkamailio_ims.so.0.1
/usr/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status
../../Makefile.rules:191: recipe for target 'libkamailio_ims.so.0.1' failed
make[3]: *** [libkamailio_ims.so.0.1] Error 1
../../Makefile.rules:157: recipe for target '../../lib/ims/libkamailio_ims.so' failed
make[2]: *** [../../lib/ims/libkamailio_ims.so] Error 2
Makefile:511: recipe for target 'modules' failed
make[1]: *** [modules] Error 1
make[1]: Leaving directory '/home/ubuntu/kamailio_source_code/src'
Makefile:27: recipe for target 'modules' failed
make: *** [modules] Error 2
further clarifying this belong to IMS ICSCF module of kamailio and I have tried skipping all ims related modules while make both through modules list and command line make but to no avail. Maybe missing something here? Same
modules.lst
# the list of sub-directories with modules
modules_dirs:=modules
# the list of module groups to compile
cfg_group_include=
# the list of extra modules to compile
include_modules= db_mysql app_lua uuid topos topos_redis ndb_redis
# the list of static modules
static_modules=
# the list of modules to skip from compile list
skip_modules=ims_auth ims_charging ims_dialog ims_diameter_server ims_icscf ims_isc ims_ocs ims_qos ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf ims_usrloc_scscf
# the list of modules to exclude from compile list
exclude_modules= acc_radius app_java app_mono app_perl app_python auth_ephemeral auth_identity auth_radius carrierroute cdp cdp_avp cnxcc cplc crypto db2_ldap db_berkeley db_cassandra db_mongodb db_oracle db_perlvdb db_postgres db_sqlite db_unixodbc dialplan dnssec erlang evapi geoip geoip2 gzcompress h350 http_async_client http_client jansson janssonrpcc json jsonrpcc kazoo lcr ldap log_systemd memcached misc_radius ndb_cassandra ndb_mongodb nsq osp outbound peering phonenum presence presence_conference presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml pua pua_bla pua_dialoginfo pua_reginfo pua_rpc pua_usrloc pua_xmpp rabbitmq regex rls sctp snmpstats tls utils websocket xcap_client xcap_server xhttp_pi xmlops xmlrpc xmpp $(skip_modules) $(skip_modules)
modules_all= $(filter-out modules/CVS,$(wildcard modules/*))
modules_noinc= $(filter-out $(addprefix modules/, $(exclude_modules) $(static_modules)), $(modules_all))
modules= $(filter-out $(modules_noinc), $(addprefix modules/, $(include_modules) )) $(modules_noinc)
modules_configured:=1
command line
make skip_modules="*ims*" modules
had to reset the config file by make cfg, it's ok now

squid make error about libltdlc.la on compile

I encounter a error when I was execute make.
The environment is
1. OS X 10.10.5
2. compiler is gcc ( I am not sure and make command log shows gcc many times)
3. Squid source version 3.5.13
log as this:
./libtool: line 4228: cd: /Users/lorancechen/version: No such file or directory
libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "/Users/lorancechen/version control/_open_source/squid-3.5.13/libltdl/./.libs/dlopen.a")
./libtool: line 1085: cd: .libs/libltdlc.lax/dlopen.a: No such file or directory
make[2]: *** [libltdlc.la] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
===============================
Besides, I am not find .libs directory with log reminded.
UPDATE
with #Tibidabo help, I find the directory can't contains "." or "-".
Now, another error occurred, such as
basic_ldap_auth.cc:610:13: error: 'ldap_unbind' is deprecated: first deprecated
in OS X 10.10 - use ldap_unbind_ext [-Werror,-Wdeprecated-declarations]
ldap_unbind(ld);
^
I attempt change to ldap_unbind_ext, compiler tips with can't find it or no known.
Please check that the directory does not have any "funny" characters.
I have the same error, I renamed the directory to have only alphanumerical characters by removing ".","-" etc and after that the make worked just fine!

Qt Compilation with dbus

I am trying to compile qt with dbus but it gives me the following exception. I have installed the dbus version 1.3 in the system and I am using the following configure command.
Can someone point me as to what should be done.
configure -dbus -I/usr/include/dbus-1.0 -L/usr/local/dbus/lib -ldbus-1 -fast -prefix /home/thwijeth/Software/qt-4.8.1-com-debug -v
thank you in advance.
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
In file included from qdbusconnection_p.h:51,
from qdbusconnection.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbuserror.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [qdbusconnection.o] Error 1
In file included from qdbusconnectioninterface.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusconnectioninterface.o] Error 1
In file included from qdbusconnection_p.h:51,
from qdbusintegrator.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusintegrator.o] Error 1
make[1]: Leaving directory `/home/thwijeth/Software/qt-repo/qt-4.8.1-src/src/dbus'
make: *** [sub-dbus-make_default-ordered] Error 2
verify if /usr/include/dbus-1.0 contains a dbus directory, if it does not, verify whether /usr/include/dbus-1.0 contains dbus.h, if so you need to create a symbolic link to dbus-1.0 as dbus
ln -s dbus-1.0 /usr/include/dbus
and then try to rerun configure.
This solution worked fine for me for this missing header. However, I got then a different error fatal error: dbus/dbus-arch-deps.h: No such file. I worked around this error by copying this file from /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus to /usr/include/dbus-1.0/dbus/. I don't know why this header was not in the /usr/include directory from the beginning. But this is my hack to the problem.
Regards

PyQt make error while compiling the source code

I want to install PyQt for Qt 4.7.4 and i downloaded the packages SIP and PyQt from riverbankcomputing.co.uk.
I configured and installed SIP successfully and configured PyQt successfully. But when i ran make in the terminal i got this error:
/home/user/Desktop/PyQt-x11-gpl-4.8.5/QtCore/sipQtCoreQThread.cpp: In function ‘PyObject* meth_QThread_currentThreadId(PyObject*, PyObject*)’:
/home/user/Desktop/PyQt-x11-gpl-4.8.5/QtCore/sipQtCoreQThread.cpp:325:50: error: invalid conversion from ‘void*’ to ‘long unsigned int’
/home/user/Desktop/PyQt-x11-gpl-4.8.5/QtCore/sipQtCoreQThread.cpp:325:50: error: initializing argument 1 of ‘PyObject* PyLong_FromUnsignedLong(long unsigned int)’
make[1]: *** [sipQtCoreQThread.o] Error 1
make[1]: Leaving directory `/home/user/Desktop/PyQt-x11-gpl-4.8.5/QtCore'
make: *** [all] Error 2
The full log is here: http://www.text-upload.com/read.php?id=176672&c=5376703
Can you help me fix this error, please? Thank you!
According to the build log, PyQt's configure script has found and is using the Simulator/embedded variant of Qt, and not the Desktop variant.
Try passing the path to qmake of the Desktop variant to the configure script:
python ./configure.py -q /home/user/.QtSDK/Desktop/Qt/4.7.4/gcc/bin/qmake
There are two choices
python ./configure.py -q /home/user/.QtSDK/Desktop/Qt/4.7.4/gcc/bin/qmake
or
python ./configure.py -q /home/user/.QtSDK/Simulator/Qt/gcc/bin/qmake
second will exit with some error code.
I'm trying first string right now.

Resources