[OpenSIPS-Devel] [opensips] Fail to build from source in multiple arches (#785)

devjunix notifications at github.com
Thu Feb 18 23:00:55 CET 2016


Hello,

However I found that some modules fail to install some files:

Relevant parts of the log:
mkdir -p //dbtext/opensips ; \
for FILE in ../../scripts//dbtext/opensips/grp ../../scripts//dbtext/opensips/globalblacklist ../../scripts//dbtext/opensips/cc
_agents ../../scripts//dbtext/opensips/speed_dial ../../scripts//dbtext/opensips/cc_cdrs ../../scripts//dbtext/opensips/rtpprox
y_sockets ../../scripts//dbtext/opensips/emergency_report ../../scripts//dbtext/opensips/dr_groups ../../scripts//dbtext/opensi
ps/fraud_detection ../../scripts//dbtext/opensips/presentity ../../scripts//dbtext/opensips/silo ../../scripts//dbtext/opensips
/active_watchers ../../scripts//dbtext/opensips/dr_rules ../../scripts//dbtext/opensips/dr_partitions ../../scripts//dbtext/ope
nsips/emergency_routing ../../scripts//dbtext/opensips/b2b_logic ../../scripts//dbtext/opensips/load_balancer ../../scripts//db
text/opensips/b2b_entities ../../scripts//dbtext/opensips/sip_trace ../../scripts//dbtext/opensips/xcap ../../scripts//dbtext/o
pensips/aliases ../../scripts//dbtext/opensips/address ../../scripts//dbtext/opensips/version ../../scripts//dbtext/opensips/di
spatcher ../../scripts//dbtext/opensips/carrierfailureroute ../../scripts//dbtext/opensips/watchers ../../scripts//dbtext/opens
ips/pua ../../scripts//dbtext/opensips/domain ../../scripts//dbtext/opensips/subscriber ../../scripts//dbtext/opensips/imc_room
s ../../scripts//dbtext/opensips/re_grp ../../scripts//dbtext/opensips/uri ../../scripts//dbtext/opensips/location ../../script
s//dbtext/opensips/dbaliases ../../scripts//dbtext/opensips/dialog ../../scripts//dbtext/opensips/route_tree ../../scripts//dbt
ext/opensips/pdt ../../scripts//dbtext/opensips/userblacklist ../../scripts//dbtext/opensips/cc_calls ../../scripts//dbtext/ope
nsips/closeddial ../../scripts//dbtext/opensips/carrierroute ../../scripts//dbtext/opensips/missed_calls ../../scripts//dbtext/
opensips/cpl ../../scripts//dbtext/opensips/dr_gateways ../../scripts//dbtext/opensips/rls_watchers ../../scripts//dbtext/opens
ips/imc_members ../../scripts//dbtext/opensips/usr_preferences ../../scripts//dbtext/opensips/rls_presentity ../../scripts//dbt
ext/opensips/cachedb ../../scripts//dbtext/opensips/registrant ../../scripts//dbtext/opensips/acc ../../scripts//dbtext/opensip
s/domainpolicy ../../scripts//dbtext/opensips/b2b_sca ../../scripts//dbtext/opensips/dr_carriers ../../scripts//dbtext/opensips
/dialplan ../../scripts//dbtext/opensips/cc_flows ; do \
        if [ -f $FILE ] ; then \
                touch           $FILE \
                        //dbtext/opensips/`basename "$FILE"` ; \
                install  -m 644 $FILE \
                        //dbtext/opensips/`basename "$FILE"` ; \
        fi ;\
done ;\

mkdir: cannot create directory '//opensipsctl': Permission denied
install: cannot create regular file '//opensipsctl/opensipsctl.dbtext': No such file or directory
touch: cannot touch '//opensipsctl/opensipsdbctl.dbtext': No such file or directory
install: target '//opensipsctl/' is not a directory: No such file or directory
mkdir: cannot create directory '//opensipsctl': Permission denied
touch: cannot touch '//opensipsctl/dbtextdb/dbtextdb.py': No such file or directory
install: target '//opensipsctl/dbtextdb/' is not a directory: No such file or directory
mkdir: cannot create directory '//dbtext': Permission denied
touch: cannot touch '//dbtext/opensips/grp': No such file or directory
install: cannot create regular file '//dbtext/opensips/grp': No such file or directory
touch: cannot touch '//dbtext/opensips/globalblacklist': No such file or directory
install: cannot create regular file '//dbtext/opensips/globalblacklist': No such file or directory
touch: cannot touch '//dbtext/opensips/cc_agents': No such file or directory
install: cannot create regular file '//dbtext/opensips/cc_agents': No such file or directory
touch: cannot touch '//dbtext/opensips/speed_dial': No such file or directory
install: cannot create regular file '//dbtext/opensips/speed_dial': No such file or directory
......
......
Makefile:21: recipe for target 'install_module_custom' failed
make[3]: *** [install_module_custom] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/modules/db_text'

The same happen with db_berkeley, pi_http, db_mysql, db_postgres and perl modules.

it seems that $(modules-prefix)/$(lib-dir) in install_module_custom target are empty but I don't know why is happening.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/785#issuecomment-185941592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160218/573337fa/attachment-0001.htm>


More information about the Devel mailing list